My WordPress installation is visible in domain/wp folder. How to Fix?

If you have mistakenly installed your WordPress in wp directory and if we consider it as fresh new WordPress having no data then in that case you can simply uninstall it and again reinstall WordPress.

Step::1 To do this login to your cPanel and go to Softaculous section

Step::2 Click on All Installations

Step::3 Go to your WordPress installation and click on X icon to remove it completely.

Step::4 Now again Install WordPress via Softaculous and this time Choose Installation URL as your domain. Remove “wp” which is inside “In Directory” box and leave it blank.

Step::5 Fill the required details as usual and install it.

Now if we consider that your WordPress is having some data then in that case you cannot simply uninstall WordPress. You need to follow the steps below:

Step::1 Login to your cPanel and click on File Manager section

Step::2 Go inside public_html and then find your WordPress installation directory i.e wp

Step::3 Now select all the files and folder present inside wp and click on “Move” icon

Step::4 Simply move all the contents to /public_html

Now you need to check your Database name from wp-config.php file

Step::5 Once you have noted down your database name, go to phpMyAdmin

Step::6 Click over the same Database name and tap on Export and save the SQL file into your local PC.

Step::7 Now open that SQL file in Notepad++ and replace “domain/wp” with “domain” and save the file.

Step::8 Again go back to phpMyAdmin and select/check all the tables under that database and choose Drop option from with selected drop down

Step::9 Now Click on Import and browse the updated sql file and upload it.

Step::10 Finally click on Go button at the bottom of the page.

Once this file gets imported successfully you will find that your WordPress has been moved wp folder to public_html without any issue.

Visit our Blog for more details. You can also watch the video here.


  • My WordPress installation is visible in domain/wp folder. How to, How to fix- If your WordPress data is visible in your domain/wp
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix WordPress error “There has been a critical error on your website”

Step::1 First of all login to your cPanel and go to File ManagerStep::2 Go inside public_html and...

How to Stay Logged in for a longer period in your WordPress?

Step::1 First of all you must know the theme which is currently activated in your website. So...

How to bulk delete spam comments in your WordPress website?

Step::1 Login to your cPanel and click on File Manager sectionStep::2 Go to public_html and then...

How to Change WordPress logo in wp-admin page?

Step::1 Login to your cPanel and go to File Manager sectionStep::2 Now go to Public_html Step::3...

How to Change WordPress Admin Username?

Step::1 Login to your WordPress dashboardStep::2 Now at the same time login to your WordPress...