Buy me a coffee

How to Move website from Example.com/wp to Example.com

If you installed the website at Example.com/wp with Example.com is the domain name of your website.

You can transfer websites from Example.com/wp to Example.com using the following steps:

Step 1. Go to Hosting

log-in-cpanel-hosting-1

Step 2. Go to File Manager

file-manager-wp1-min-1

Step 3. Go to Example.com/WP Directory

You will see the entire file and folder of the website on the right. Click on Select All, then Move to move the entire file/folder to example.com

file-manager-wp2-min

A popup appears:

file-manager-wp3-0-min

Remove the word “wp”

file-manager-wp3-min

and you will see

file-manager-wp4-min

Right-click wp-config.php and select Edit

file-manager-wp5-min

Insert the following two lines into wp-config.php, with example.com is the domain name of your website

define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);

file-manager-wp6-min

For example, my website is wpcodeless.top

file-manager-wp7-min

Step 4. Go to Example.com/wp-admin and install Better Search and Replace

wp-login-10

better-search-replace-2-min

Go to Tools –> Better Search Replace

better-search-replace-3

Fill in the information and click Run Search/Replace. In the Select Tables field, press Ctrl A to select all

better-search-replace-4-min

Done ?

 

 

Leave a Comment

Ask me a question, free

If your site is private or in trial, just setup password and share url. See how to: https://beaverhero.com/squarespace-how-to/
Please check your email carefully. Recently I got a lot of questions with wrong emails.

If you haven't heard from me within 24 hours please check your junk/spam folder