WordPress & Open-source enthusiast # Laravel, React Developer # WordPress Plugin Developer # Entrepreneur
-
WP Foxly / AdFoxly / EasyTrips
- No Location - Digital Nomad (My company is based in Poland - Wrocław / Gdańsk)
- https://rafalosinski.com
- https://profiles.wordpress.org/rafalosinski/
- https://osin.ski/
- in/rafalosinski
Pinned Loading
-
DUMP WordPress SQL DB
DUMP WordPress SQL DB 1<?php
2include 'wp-config.php';
34$DBUSER = DB_USER;
5$DBPASSWD = DB_PASSWORD;
-
Create WordPress Admin User from SQL...
Create WordPress Admin User from SQL (PHPMYADMIN) 1SET @user_login='john_doe';
2SET @user_pass=MD5('YOUR_HARD_PASSWORD');
3SET @user_nicename=@user_login;
4SET @user_email='[email protected]';
5SET @user_url='http://example.com/';
-
change-url.sql
change-url.sql 1SET @old_url='old.domain';
2SET @new_url='new.domain';
3UPDATE wp_options SET option_value = replace(option_value, @old_url, @new_url) WHERE option_name = 'home' OR option_name = 'siteurl'
4UPDATE wp_posts SET guid = replace(guid, @old_url, @new_url)
5UPDATE wp_posts SET post_content = replace(post_content, @old_url, @new_url)
-
Change WordPress URL with mysqli & php
Change WordPress URL with mysqli & php 1<?php
2include 'wp-config.php';
34$servername = DB_HOST;
5$username = DB_USER;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.