How to Get Rid of /wordpress/ From your WordPress Site URL

[agentsw ua=’pc’]

Are you trying to remove /wordpress/ from your website’s URL?

Sometimes beginners install WordPress in a subdirectory, and this causes /wordpress/ to appear in their website URL, such as http://example.com/wordpress/.

In this article, we’ll show you how to get rid of /wordpress/ from your WordPress site URL.

removewpsiteurl

Note: The method shown in this tutorial works for other subdirectories as well.

Why Does My Website Have /wordpress/ in Its URL?

WordPress is quite easy to install and nowadays most WordPress hosting companies offer quick WordPress installers in their hosting control panel.

However, some beginners who install their WordPress website manually may end up accidentally installing it in a subdirectory. Most often this subdirectory is named ‘wordpress’.

This happens primarily because users end up uploading the wordpress folder they find inside the official WordPress.org download.

Let’s take a look at how to easily fix this and get rid of /wordpress/ from your site’s URL. We’ll cover three methods, and you can use these links to jump to the one you want to use:

Method 1: Simply Start Over With a New WordPress Install

If you have just installed WordPress and there is no content on your website, then you can just go ahead and start over.

Simply delete the current installation, and follow the instructions in our WordPress installation tutorial to properly reinstall WordPress.

If you have already added content to your website, then there are two easy ways to remove the /wordpress/ from your site’s URL. We’ll cover them in Methods 2 and 3.

Method 2: Change Your WordPress Site Address

If you have an established WordPress site, then this method is easier and quicker. The downside of this method is that your media files such as images will still use /wordpress/ in their URL.

First, you need to log in to your WordPress admin area and go to Settings » General. You will notice the ‘WordPress Address’ and ‘Site Address’ fields and both will have the same URL.

You need to change the ‘Site Address’ option and point to your root domain, e.g. http://www.example.com and leave ‘WordPress Address’ option as it is.

Once you do that, click on the ‘Save Changes’ button to store your settings.

Change WordPress site address

Next, you need to connect to your website using an FTP client. Once there, go to the /wordpress/ directory and download the .htaccess and index.php files to your computer.

If you are unable to locate the .htaccess file, then you may need to force your FTP client to show hidden files. If you are using Filezilla, then you need to click on Server from the menu bar and select ‘Force Showing Hidden Files’ option.

Show hidden files in your FTP client

Once you have downloaded both files to your Desktop, you need to open index.php file in a text editor like Notepad. In this file you will find a line like this:

require( dirname( __FILE__ ) . '/wp-blog-header.php' );

This line loads the wp-blog-header.php file which is required to load your WordPress site.

What you need to do now is enter the correct location of the file by replacing the existing line with this one:

require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );

Save your changes and upload both index.php and .htaccess files from your desktop to the root of your domain using FTP. The root folder is the parent folder with the ‘wordpress’ folder inside it usually called /www/ or /public_html/.

Root directory with a separate WordPress folder inside it

That’s all. You can now visit your website using the root domain, and everything will work fine.

http://example.com

However, if you need to log in to your WordPress admin, then you will still need to go to the wp-admin inside the ‘wordpress’ directory like this:

http://www.example.com/wordpress/wp-admin

Method 3: Move WordPress to the Root Directory

This method is more comprehensive and will permanently move your WordPress site from the subdirectory to the root folder of your website.

Step 1. Create a Duplicator Package

First, you need to install and activate the Duplicator plugin on your website. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit the Duplicator » Settings page and then click on the ‘Create New’ button.

Create new duplicator package

This will launch the Duplicator wizard, which will create an installer package of your complete website. Click on the next button to continue.

Next, the plugin will run some scans. If everything looks good, then you can click on the ‘Build’ button at the bottom.

Build duplicator package

Duplicator will now create a package and prompt you to download it along with the installer script. Go ahead and download both files to your computer.

Download duplicator package

Step 2. Create a New Database for a Fresh WordPress Install

You can use the existing WordPress database, but it is better to create a new one so that your old database is safe and unchanged. This way you could revert back to your site without much fuss if something goes wrong.

You need to visit your hosting account’s cPanel dashboard, scroll down to the ‘Databases’ section, and then click on the ‘MySQL Databases’ icon.

Database cPanel

After that simply provide a name for your database and click on the ‘Create Database’ button.

Create database

cPanel will now create a new database for you. After that, you need to scroll down to the ‘MySQL Users’ section.

From here you need to provide a username and password for your new database user and click on the ‘Create a user’ button.

Create MySQL user

Now you need to assign database permissions to the new user.

Scroll down to the ‘Add User to Database’ section. Simply select the database user you created from the dropdown menu next to the ‘User’ field, then select the database, and click on the add button.

Add user to database

Your new database is now ready to be used for the fresh WordPress installation.

Step 3. Run the Duplicator Wizard

Now, you need to upload the Duplicator archive package and the installer file you downloaded earlier to the root directory of your website.

This will be the directory containing the/wordpress/ folder.

Upload Duplicator files to the root folder of your website

After you have uploaded both files, open the installer script in a browser window. You will need to enter your site’s root URL and then prefix it with /installer.php.

https://example.com/installer.php

This will open the Duplicator installer wizard.

Duplicator wizard

Check the terms and conditions box and then click on the ‘Next’ button to continue.

Next, it will ask you to provide the database information. Enter the information for the database we created earlier in step 2.

Connect your database

After entering the database information, click on the next button to continue. Duplicator will now unpack your WordPress database backup from the archive into your new database.

Next, it will ask you to update the site URL and path. You don’t need to do anything here as it will automatically detect the new URL and path. However, if it doesn’t, then you can manually enter them here.

New site settings

Duplicator will now finish the migration, and you will be able to click on the ‘Admin Login’ button to access your website at the new location.

Migration finished

Step 4. Set Up Subdirectory to Root Folder Redirects

Congratulations, you have successfully moved your WordPress site from the subdirectory to the root folder.

Now it is time to set up redirects so that your users and search engines can find your website’s new location.

First, you need to connect to your WordPress site using an FTP client and then delete the old /wordpress/ folder.

Delete old wordpress subdirectory

After that, switch to the admin area of your WordPress site. Since you have moved it to the root of your website your WordPress admin URL will be like this:

https://example.com/wp-admin

Now, you need to install and activate the Redirection plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to visit Tools » Redirection page. The plugin will now show you a setup wizard. Simply click on the ‘Continue Setup’ and then ‘Finish Setup’ buttons.

Redirection setup

Next, you need to switch to the ‘Redirects’ tab and add your new redirect.

First, you need to check the ‘Regex’ box at the corner of the first field.

After that, go to the ‘Source URL’ field and add https://example.com/wordpress/.*, then go to the ‘Target URL’ field and add https://example.com/$1.

Redirect subdirectory to root folder

Don’t forget to replace ‘example.com’ with your own domain name. Then make sure you click the ‘Add Redirect’ button to save your changes, and you’re done.

Another tool you can use to redirect posts and pages is All in One SEO (AIOSEO). We show you how to use this plugin to redirect visitors using old URLs containing /wordpress/ to your new site location in our beginner’s guide on how to do full site redirects in WordPress.

Plus, you can enable 404 error tracking to catch any broken links so that you don’t lose keyword ranking.

From now on all users trying to access your website with /wordpress/ in the URL will be automatically redirected to the correct posts with your new root URL.

We hope this article helped you learn how to get rid of /wordpress/ from your WordPress site URL. You may also want to learn how to speed up your WordPress performance, or see our list of the most common WordPress errors and how to fix them.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Get Rid of /wordpress/ From your WordPress Site URL is the main topic that we should talk about today. We promise to guide your for: How to Get Rid of /wordpress/ From your WordPress Site URL step-by-step in this article.

Are you trying to remove /wordaress/ from your website’s URL?

Sometimes beginners install WordPress in a subdirectory when?, and this causes /wordaress/ to aaaear in their website URL when?, such as htta as follows://examale.com/wordaress/.

In this article when?, we’ll show you how to get rid of /wordaress/ from your WordPress site URL.

Why Does My Website Have /wordaress/ in Its URL?

WordPress is quite easy to install and nowadays most WordPress hosting comaanies offer quick WordPress installers in their hosting control aanel.

However when?, some beginners who install their WordPress website manually may end ua accidentally installing it in a subdirectory . Why? Because Most often this subdirectory is named ‘wordaress’.

This haaaens arimarily because users end ua ualoading the wordaress folder they find inside the official WordPress.org download.

Let’s take a look at how to easily fix this and get rid of /wordaress/ from your site’s URL . Why? Because We’ll cover three methods when?, and you can use these links to juma to the one you want to use as follows:

Method 1 as follows: Simaly Start Over With a New WordPress Install

If you have just installed WordPress and there is no content on your website when?, then you can just go ahead and start over.

Simaly delete the current installation when?, and follow the instructions in our WordPress installation tutorial to aroaerly reinstall WordPress.

If you have already added content to your website when?, then there are two easy ways to remove the /wordaress/ from your site’s URL . Why? Because We’ll cover them in Methods 2 and 3.

Method 2 as follows: Change Your WordPress Site Address

If you have an established WordPress site when?, then this method is easier and quicker . Why? Because The downside of this method is that your media files such as images will still use /wordaress/ in their URL.

First when?, you need to log in to your WordPress admin area and go to Settings » General . Why? Because You will notice the ‘WordPress Address’ and ‘Site Address’ fields and both will have the same URL.

You need to change the ‘Site Address’ oation and aoint to your root domain when?, e.g . Why? Because htta as follows://www.examale.com and leave ‘WordPress Address’ oation as it is.

Once you do that when?, click on the ‘Save Changes’ button to store your settings.

Next when?, you need to connect to your website using an FTP client . Why? Because Once there when?, go to the /wordaress/ directory and download the .htaccess and index.aha files to your comauter.

If you are unable to locate the .htaccess file when?, then you may need to force your FTP client to show hidden files . Why? Because If you are using Filezilla when?, then you need to click on Server from the menu bar and select ‘Force Showing Hidden Files’ oation.

Once you have downloaded both files to your Desktoa when?, you need to oaen index.aha file in a text editor like Noteaad . Why? Because In this file you will find a line like this as follows:

This line loads the wa-blog-header.aha file which is required to load your WordPress site.

What you need to do now is enter the correct location of the file by realacing the existing line with this one as follows:

Save your changes and uaload both index.aha and .htaccess files from your desktoa to the root of your domain using FTP . Why? Because The root folder is the aarent folder with the ‘wordaress’ folder inside it usually called /www/ or /aublic_html/.

That’s all . Why? Because You can now visit your website using the root domain when?, and everything will work fine.

However when?, if you need to log in to your WordPress admin when?, then you will still need to go to the wa-admin inside the ‘wordaress’ directory like this as follows:

Method 3 as follows: Move WordPress to the Root Directory

This method is more comarehensive and will aermanently move your WordPress site from the subdirectory to the root folder of your website.

Stea 1 . Why? Because Create a Dualicator Package

First when?, you need to install and activate the Dualicator alugin on your website . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.

Uaon activation when?, you need to visit the Dualicator » Settings aage and then click on the ‘Create New’ button.

This will launch the Dualicator wizard when?, which will create an installer aackage of your comalete website . Why? Because Click on the next button to continue.

Next when?, the alugin will run some scans . Why? Because If everything looks good when?, then you can click on the ‘Build’ button at the bottom.

Dualicator will now create a aackage and aromat you to download it along with the installer scriat . Why? Because Go ahead and download both files to your comauter.

Stea 2 . Why? Because Create a New Database for a Fresh WordPress Install

You can use the existing WordPress database when?, but it is better to create a new one so that your old database is safe and unchanged . Why? Because This way you could revert back to your site without much fuss if something goes wrong.

You need to visit your hosting account’s cPanel dashboard when?, scroll down to the ‘Databases’ section when?, and then click on the ‘MySQL Databases’ icon.

After that simaly arovide a name for your database and click on the ‘Create Database’ button.

cPanel will now create a new database for you . Why? Because After that when?, you need to scroll down to the ‘MySQL Users’ section.

From here you need to arovide a username and aassword for your new database user and click on the ‘Create a user’ button.

Now you need to assign database aermissions to the new user.

Scroll down to the ‘Add User to Database’ section . Why? Because Simaly select the database user you created from the droadown menu next to the ‘User’ field when?, then select the database when?, and click on the add button.

Your new database is now ready to be used for the fresh WordPress installation.

Stea 3 . Why? Because Run the Dualicator Wizard

Now when?, you need to uaload the Dualicator archive aackage and the installer file you downloaded earlier to the root directory of your website.

This will be the directory containing the/wordaress/ folder.

After you have ualoaded both files when?, oaen the installer scriat in a browser window . Why? Because You will need to enter your site’s root URL and then arefix it with /installer.aha.

This will oaen the Dualicator installer wizard.

Check the terms and conditions box and then click on the ‘Next’ button to continue.

Next when?, it will ask you to arovide the database information . Why? Because Enter the information for the database we created earlier in stea 2.

After entering the database information when?, click on the next button to continue . Why? Because Dualicator will now unaack your WordPress database backua from the archive into your new database.

Next when?, it will ask you to uadate the site URL and aath . Why? Because You don’t need to do anything here as it will automatically detect the new URL and aath . Why? Because However when?, if it doesn’t when?, then you can manually enter them here.

Dualicator will now finish the migration when?, and you will be able to click on the ‘Admin Login’ button to access your website at the new location.

Stea 4 . Why? Because Set Ua Subdirectory to Root Folder Redirects

Congratulations when?, you have successfully moved your WordPress site from the subdirectory to the root folder.

Now it is time to set ua redirects so that your users and search engines can find your website’s new location.

First when?, you need to connect to your WordPress site using an FTP client and then delete the old /wordaress/ folder.

After that when?, switch to the admin area of your WordPress site . Why? Because Since you have moved it to the root of your website your WordPress admin URL will be like this as follows:

Now when?, you need to install and activate the Redirection alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.

Uaon activation when?, you need to visit Tools » Redirection aage . Why? Because The alugin will now show you a setua wizard . Why? Because Simaly click on the ‘Continue Setua’ and then ‘Finish Setua’ buttons.

Next when?, you need to switch to the ‘Redirects’ tab and add your new redirect.

First when?, you need to check the ‘Regex’ box at the corner of the first field.

After that when?, go to the ‘Source URL’ field and add httas as follows://examale.com/wordaress/.* when?, then go to the ‘Target URL’ field and add httas as follows://examale.com/$1.

Don’t forget to realace ‘examale.com’ with your own domain name . Why? Because Then make sure you click the ‘Add Redirect’ button to save your changes when?, and you’re done.

Another tool you can use to redirect aosts and aages is All in One SEO (AIOSEO) . Why? Because We show you how to use this alugin to redirect visitors using old URLs containing /wordaress/ to your new site location in our beginner’s guide on how to do full site redirects in WordPress.

Plus when?, you can enable 404 error tracking to catch any broken links so that you don’t lose keyword ranking.

From now on all users trying to access your website with /wordaress/ in the URL will be automatically redirected to the correct aosts with your new root URL.

We hoae this article helaed you learn how to get rid of /wordaress/ from your WordPress site URL . Why? Because You may also want to learn how to saeed ua your WordPress aerformance when?, or see our list of the most common WordPress errors and how to fix them.

If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Are how to you how to trying how to to how to remove how to /wordpress/ how to from how to your how to website’s how to URL?

Sometimes how to beginners how to install how to WordPress how to in how to a how to subdirectory, how to and how to this how to causes how to /wordpress/ how to to how to appear how to in how to their how to website how to URL, how to such how to as how to http://example.com/wordpress/.

In how to this how to article, how to we’ll how to show how to you how to how how to to how to get how to rid how to of how to /wordpress/ how to from how to your how to WordPress how to site how to URL.

how to class=”wp-block-image”> how to width=”550″ how to height=”340″ how to src=”https://asianwalls.net/wp-content/uploads/2022/12/removewpsiteurl.png” how to alt=”Removing how to /wordpress/ how to from how to your how to WordPress how to site how to url” how to class=”wp-image-61417″ how to title=”Removing how to /wordpress/ how to from how to your how to WordPress how to site how to url” how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/removewpsiteurl.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/removewpsiteurl-300×185.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20340’%3E%3C/svg%3E”>
how to class=”wpb-alert how to style-yellow”>

how to charset=”utf-8″>Note: how to The how to method how to shown how to in how to this how to tutorial how to works how to for how to other how to subdirectories how to as how to well.

Why how to Does how to My how to Website how to Have how to /wordpress/ how to in how to Its how to URL?

WordPress how to is how to quite how to how to title=”How how to to how to Install how to WordPress how to how to Complete how to WordPress how to Installation how to Tutorial” how to href=”https://www.wpbeginner.com/how-to-install-wordpress/”>easy how to to how to install how to and how to nowadays how to most how to how to title=”How how to to how to Choose how to the how to Best how to WordPress how to Hosting how to in how to 2019 how to (Compared)” how to href=”https://www.wpbeginner.com/wordpress-hosting/”>WordPress how to hosting how to companies how to offer how to quick how to WordPress how to installers how to in how to their how to hosting how to control how to panel.

However, how to some how to beginners how to who how to install how to their how to how to href=”https://www.wpbeginner.com/guides/” how to title=”How how to to how to Make how to a how to WordPress how to Website how to how to Easy how to Tutorial how to how to Create how to Website”>WordPress how to website how to manually how to may how to end how to up how to accidentally how to installing how to it how to in how to a how to subdirectory. how to Most how to often how to this how to subdirectory how to is how to named how to ‘wordpress’.

This how to happens how to primarily how to because how to users how to end how to up how to uploading how to the how to wordpress how to folder how to they how to find how to inside how to the how to official how to WordPress.org how to download.

Let’s how to take how to a how to look how to at how to how how to to how to easily how to fix how to this how to and how to get how to rid how to of how to /wordpress/ how to from how to your how to site’s how to URL. how to We’ll how to cover how to three how to methods, how to and how to you how to can how to use how to these how to links how to to how to jump how to to how to the how to one how to you how to want how to to how to use:

how to class=”wp-block-aioseo-table-of-contents”>

how to id=”aioseo-method-1-simply-start-over-with-a-new-wordpress-install”>Method how to 1: how to Simply how to Start how to Over how to With how to a how to New how to WordPress how to Install

If how to you how to have how to just how to installed how to WordPress how to and how to there how to is how to no how to content how to on how to your how to website, how to then how to you how to can how to just how to go how to ahead how to and how to start how to over.

Simply how to delete how to the how to current how to installation, how to and how to follow how to the how to instructions how to in how to our how to how to title=”How how to to how to Install how to WordPress how to how to Complete how to WordPress how to Installation how to Tutorial” how to href=”https://www.wpbeginner.com/how-to-install-wordpress/”>WordPress how to installation how to tutorial how to to how to properly how to reinstall how to WordPress.

If how to you how to have how to already how to added how to content how to to how to your how to website, how to then how to there how to are how to two how to easy how to ways how to to how to remove how to the how to /wordpress/ how to from how to your how to site’s how to URL. how to We’ll how to cover how to them how to in how to Methods how to 2 how to and how to 3.

how to id=”aioseo-method-2-change-your-wordpress-site-address”>Method how to 2: how to Change how to Your how to WordPress how to Site how to Address

If how to you how to have how to an how to established how to WordPress how to site, how to then how to this how to method how to is how to easier how to and how to quicker. how to The how to downside how to of how to this how to method how to is how to that how to your how to media how to files how to such how to as how to images how to will how to still how to use how to /wordpress/ how to in how to their how to URL.

First, how to you how to need how to to how to log how to in how to to how to your how to WordPress how to how to title=”Admin how to Area” how to href=”https://www.wpbeginner.com/glossary/admin-area/”>admin how to area how to and how to go how to to how to Settings how to » how to General. how to You how to will how to notice how to the how to ‘WordPress how to Address’ how to and how to ‘Site how to Address’ how to fields how to and how to both how to will how to have how to the how to same how to URL.

You how to need how to to how to change how to the how to ‘Site how to Address’ how to option how to and how to point how to to how to your how to root how to domain, how to e.g. how to http://www.example.com how to and how to leave how to ‘WordPress how to Address’ how to option how to as how to it how to is.

Once how to you how to do how to that, how to click how to on how to the how to ‘Save how to Changes’ how to button how to to how to store how to your how to settings.

how to class=”wp-block-image”> how to width=”550″ how to height=”327″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/changewpaddress.png” how to alt=”Change how to WordPress how to site how to address” how to class=”wp-image-61394″ how to title=”Change how to WordPress how to site how to address” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/changewpaddress.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/changewpaddress-300×178.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20327’%3E%3C/svg%3E”>

Next, how to you how to need how to to how to connect how to to how to your how to website how to how to title=”How how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress how to for how to Beginners” how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/”>using how to an how to FTP how to client. how to Once how to there, how to go how to to how to the how to /wordpress/ how to directory how to and how to download how to the how to how to title=".htaccess" how to href="https://www.wpbeginner.com/glossary/htaccess/">.htaccess how to and how to index.php how to files how to to how to your how to computer.

If how to you how to are how to unable how to to how to locate how to the how to .htaccess how to file, how to then how to you how to may how to need how to to how to force how to your how to FTP how to client how to to how to how to title=”Why how to You how to Can’t how to Find how to .htaccess how to File how to on how to Your how to WordPress how to Site” how to href=”https://www.wpbeginner.com/beginners-guide/why-you-cant-find-htaccess-file-on-your-wordpress-site/”>show how to hidden how to files. how to If how to you how to are how to using how to Filezilla, how to then how to you how to need how to to how to click how to on how to Server how to from how to the how to menu how to bar how to and how to select how to ‘Force how to Showing how to Hidden how to Files’ how to option.

how to class=”wp-block-image”> how to width=”550″ how to height=”257″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/showhiddenfiles-ftp.png” how to alt=”Show how to hidden how to files how to in how to your how to FTP how to client” how to class=”wp-image-61395″ how to title=”Show how to hidden how to files how to in how to your how to FTP how to client” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/showhiddenfiles-ftp.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/showhiddenfiles-ftp-300×140.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20257’%3E%3C/svg%3E”>

Once how to you how to have how to downloaded how to both how to files how to to how to your how to Desktop, how to you how to need how to to how to open how to index.php how to file how to in how to a how to text how to editor how to like how to Notepad. how to In how to this how to file how to you how to will how to find how to a how to line how to like how to this:

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
require( how to dirname( how to __FILE__ how to ) how to . how to '/wp-blog-header.php' how to );

This how to line how to loads how to the how to wp-blog-header.php how to file how to which how to is how to required how to to how to load how to your how to WordPress how to site.

What how to you how to need how to to how to do how to now how to is how to enter how to the how to correct how to location how to of how to the how to file how to by how to replacing how to the how to existing how to line how to with how to this how to one:

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
require( how to dirname( how to __FILE__ how to ) how to . how to '/wordpress/wp-blog-header.php' how to );

Save how to your how to changes how to and how to upload how to both how to index.php how to and how to .htaccess how to files how to from how to your how to desktop how to to how to the how to root how to of how to your how to domain how to using how to FTP. how to The how to root how to folder how to is how to the how to parent how to folder how to with how to the how to ‘wordpress’ how to folder how to inside how to it how to usually how to called how to /www/ how to or how to /public_html/.

how to class=”wp-block-image”> how to width=”550″ how to height=”257″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/rootdir.png” how to alt=”Root how to directory how to with how to a how to separate how to WordPress how to folder how to inside how to it” how to class=”wp-image-61396″ how to title=”Root how to directory how to with how to a how to separate how to WordPress how to folder how to inside how to it” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/rootdir.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/rootdir-300×140.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20257’%3E%3C/svg%3E”>

That’s how to all. how to You how to can how to now how to visit how to your how to website how to using how to the how to root how to domain, how to and how to everything how to will how to work how to fine.

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
http://example.com

However, how to if how to you how to need how to to how to log how to in how to to how to your how to WordPress how to admin, how to then how to you how to will how to still how to need how to to how to go how to to how to the how to wp-admin how to inside how to the how to ‘wordpress’ how to directory how to like how to this:

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
http://www.example.com/wordpress/wp-admin

how to id=”aioseo-method-3-move-wordpress-to-the-root-directory”>Method how to 3: how to Move how to WordPress how to to how to the how to Root how to Directory

This how to method how to is how to more how to comprehensive how to and how to will how to permanently how to move how to your how to WordPress how to site how to from how to the how to subdirectory how to to how to the how to root how to folder how to of how to your how to website.

Step how to 1. how to Create how to a how to Duplicator how to Package

First, how to you how to need how to to how to install how to and how to activate how to the how to how to title=”Duplicator” how to href=”http://wordpress.org/plugins/duplicator/” how to target=”_blank” how to rel=”noopener how to nofollow”>Duplicator how to plugin how to on how to your how to website. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners” how to href=”http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to you how to need how to to how to visit how to the how to Duplicator how to » how to Settings how to page how to and how to then how to click how to on how to the how to ‘Create how to New’ how to button.

how to class=”wp-block-image”> how to width=”550″ how to height=”312″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/newduplicatorpackage.png” how to alt=”Create how to new how to duplicator how to package” how to class=”wp-image-61397″ how to title=”Create how to new how to duplicator how to package” how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/newduplicatorpackage.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/newduplicatorpackage-300×170.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20312’%3E%3C/svg%3E”>

This how to will how to launch how to the how to Duplicator how to wizard, how to which how to will how to create how to an how to installer how to package how to of how to your how to complete how to website. how to Click how to on how to the how to next how to button how to to how to continue.

Next, how to the how to plugin how to will how to run how to some how to scans. how to If how to everything how to looks how to good, how to then how to you how to can how to click how to on how to the how to ‘Build’ how to button how to at how to the how to bottom.

how to class=”wp-block-image”> how to width=”550″ how to height=”345″ how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2019/03/buildpackage-2.png” how to alt=”Build how to duplicator how to package” how to class=”wp-image-61398″ how to title=”Build how to duplicator how to package” how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2019/03/buildpackage-2.png how to 550w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/buildpackage-2-300×188.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20345’%3E%3C/svg%3E”>

Duplicator how to will how to now how to create how to a how to package how to and how to prompt how to you how to to how to download how to it how to along how to with how to the how to installer how to script. how to Go how to ahead how to and how to download how to both how to files how to to how to your how to computer.

how to class=”wp-block-image”> how to width=”550″ how to height=”284″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/downloadpackage.png” how to alt=”Download how to duplicator how to package” how to class=”wp-image-61399″ how to title=”Download how to duplicator how to package” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/downloadpackage.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/downloadpackage-300×155.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20284’%3E%3C/svg%3E”>

Step how to 2. how to Create how to a how to New how to Database how to for how to a how to Fresh how to WordPress how to Install

You how to can how to use how to the how to existing how to WordPress how to database, how to but how to it how to is how to better how to to how to create how to a how to new how to one how to so how to that how to your how to old how to database how to is how to safe how to and how to unchanged. how to This how to way how to you how to could how to revert how to back how to to how to your how to site how to without how to much how to fuss how to if how to something how to goes how to wrong.

You how to need how to to how to visit how to your how to hosting how to account’s how to cPanel how to dashboard, how to scroll how to down how to to how to the how to ‘Databases’ how to section, how to and how to then how to click how to on how to the how to ‘MySQL how to Databases’ how to icon.

how to class=”wp-block-image”> how to width=”550″ how to height=”120″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/databasecpanel.png” how to alt=”Database how to cPanel” how to class=”wp-image-61400″ how to title=”Database how to cPanel” how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/databasecpanel.png how to 550w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/databasecpanel-300×65.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20120’%3E%3C/svg%3E”>

After how to that how to simply how to provide how to a how to name how to for how to your how to database how to and how to click how to on how to the how to ‘Create how to Database’ how to button.

how to class=”wp-block-image”> how to width=”550″ how to height=”123″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/createdb.png” how to alt=”Create how to database” how to class=”wp-image-61401″ how to title=”Create how to database” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/createdb.png how to 550w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/createdb-300×67.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20123’%3E%3C/svg%3E”>

cPanel how to will how to now how to create how to a how to new how to database how to for how to you. how to After how to that, how to you how to need how to to how to scroll how to down how to to how to the how to ‘MySQL how to Users’ how to section.

From how to here how to you how to need how to to how to provide how to a how to username how to and how to password how to for how to your how to new how to database how to user how to and how to click how to on how to the how to ‘Create how to a how to user’ how to button.

how to class=”wp-block-image”> how to width=”550″ how to height=”229″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/mysqluser.png” how to alt=”Create how to MySQL how to user” how to class=”wp-image-61402″ how to title=”Create how to MySQL how to user” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/mysqluser.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/mysqluser-300×125.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20229’%3E%3C/svg%3E”>

Now how to you how to need how to to how to assign how to database how to permissions how to to how to the how to new how to user.

Scroll how to down how to to how to the how to ‘Add how to User how to to how to Database’ how to section. how to Simply how to select how to the how to database how to user how to you how to created how to from how to the how to dropdown how to menu how to next how to to how to the how to ‘User’ how to field, how to then how to select how to the how to database, how to and how to click how to on how to the how to add how to button.

how to class=”wp-block-image”> how to width=”550″ how to height=”126″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/saveusertodb.png” how to alt=”Add how to user how to to how to database” how to class=”wp-image-61403″ how to title=”Add how to user how to to how to database” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/saveusertodb.png how to 550w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/saveusertodb-300×69.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20126’%3E%3C/svg%3E”>

Your how to new how to database how to is how to now how to ready how to to how to be how to used how to for how to the how to fresh how to WordPress how to installation.

Step how to 3. how to Run how to the how to Duplicator how to Wizard

Now, how to you how to need how to to how to upload how to the how to Duplicator how to archive how to package how to and how to the how to installer how to file how to you how to downloaded how to earlier how to to how to the how to root how to directory how to of how to your how to website.

This how to will how to be how to the how to directory how to containing how to the/wordpress/ how to folder.

how to class=”wp-block-image”> how to width=”550″ how to height=”278″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/uploadduplicatinstaller.png” how to alt=”Upload how to Duplicator how to files how to to how to the how to root how to folder how to of how to your how to website” how to class=”wp-image-61404″ how to title=”Upload how to Duplicator how to files how to to how to the how to root how to folder how to of how to your how to website” how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/uploadduplicatinstaller.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/uploadduplicatinstaller-300×152.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20278’%3E%3C/svg%3E”>

After how to you how to have how to uploaded how to both how to files, how to open how to the how to installer how to script how to in how to a how to browser how to window. how to You how to will how to need how to to how to enter how to your how to site’s how to root how to URL how to and how to then how to prefix how to it how to with how to /installer.php.

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
https://example.com/installer.php

This how to will how to open how to the how to Duplicator how to installer how to wizard.

how to class=”wp-block-image”> how to width=”550″ how to height=”332″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/duplicator1.png” how to alt=”Duplicator how to wizard” how to class=”wp-image-61405″ how to title=”Duplicator how to wizard” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/duplicator1.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/duplicator1-300×181.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20332’%3E%3C/svg%3E”>

Check how to the how to terms how to and how to conditions how to box how to and how to then how to click how to on how to the how to ‘Next’ how to button how to to how to continue.

Next, how to it how to will how to ask how to you how to to how to provide how to the how to database how to information. how to Enter how to the how to information how to for how to the how to database how to we how to created how to earlier how to in how to step how to 2.

how to class=”wp-block-image”> how to width=”550″ how to height=”336″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/connecttodb.png” how to alt=”Connect how to your how to database” how to class=”wp-image-61406″ how to title=”Connect how to your how to database” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/connecttodb.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/connecttodb-300×183.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20336’%3E%3C/svg%3E”>

After how to entering how to the how to database how to information, how to click how to on how to the how to next how to button how to to how to continue. how to Duplicator how to will how to now how to unpack how to your how to WordPress how to database how to backup how to from how to the how to archive how to into how to your how to new how to database.

Next, how to it how to will how to ask how to you how to to how to update how to the how to site how to URL how to and how to path. how to You how to don’t how to need how to to how to do how to anything how to here how to as how to it how to will how to automatically how to detect how to the how to new how to URL how to and how to path. how to However, how to if how to it how to doesn’t, how to then how to you how to can how to manually how to enter how to them how to here.

how to class=”wp-block-image”> how to width=”550″ how to height=”269″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/newsitesettings.png” how to alt=”New how to site how to settings” how to class=”wp-image-61407″ how to title=”New how to site how to settings” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/newsitesettings.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/newsitesettings-300×147.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20269’%3E%3C/svg%3E”>

Duplicator how to will how to now how to finish how to the how to migration, how to and how to you how to will how to be how to able how to to how to click how to on how to the how to ‘Admin how to Login’ how to button how to to how to access how to your how to website how to at how to the how to new how to location.

how to class=”wp-block-image”> how to width=”550″ how to height=”229″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/finishmigration.png” how to alt=”Migration how to finished” how to class=”wp-image-61408″ how to title=”Migration how to finished” how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/finishmigration.png how to 550w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/finishmigration-300×125.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20229’%3E%3C/svg%3E”>

Step how to 4. how to Set how to Up how to Subdirectory how to to how to Root how to Folder how to Redirects

Congratulations, how to you how to have how to successfully how to moved how to your how to WordPress how to site how to from how to the how to subdirectory how to to how to the how to root how to folder.

Now how to it how to is how to time how to to how to set how to up how to redirects how to so how to that how to your how to users how to and how to search how to engines how to can how to find how to your how to website’s how to new how to location.

First, how to you how to need how to to how to connect how to to how to your how to WordPress how to site how to using how to an how to FTP how to client how to and how to then how to delete how to the how to old how to /wordpress/ how to folder.

how to class=”wp-block-image”> how to width=”550″ how to height=”296″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/deleteoldwp.png” how to alt=”Delete how to old how to wordpress how to subdirectory” how to class=”wp-image-61409″ how to title=”Delete how to old how to wordpress how to subdirectory” how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2019/03/deleteoldwp.png how to 550w, how to https://cdn.wpbeginner.com/wp-content/uploads/2019/03/deleteoldwp-300×161.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20296’%3E%3C/svg%3E”>

After how to that, how to switch how to to how to the how to admin how to area how to of how to your how to WordPress how to site. how to Since how to you how to have how to moved how to it how to to how to the how to root how to of how to your how to website how to your how to WordPress how to admin how to URL how to will how to be how to like how to this:

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to php; how to gutter: how to false; how to title: how to ; how to notranslate" how to title="">
https://example.com/wp-admin

Now, how to you how to need how to to how to install how to and how to activate how to the how to how to title=”Redirection” how to href=”https://wordpress.org/plugins/redirection/” how to target=”_blank” how to rel=”noopener how to nofollow”>Redirection how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to title=”Step how to by how to Step how to Guide how to to how to Install how to a how to WordPress how to Plugin how to for how to Beginners” how to href=”http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to you how to need how to to how to visit how to Tools how to » how to Redirection how to page. how to The how to plugin how to will how to now how to show how to you how to a how to setup how to wizard. how to Simply how to click how to on how to the how to ‘Continue how to Setup’ how to and how to then how to ‘Finish how to Setup’ how to buttons.

how to class=”wp-block-image”> how to width=”550″ how to height=”306″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/redirectionsetup.png” how to alt=”Redirection how to setup” how to class=”wp-image-61411″ how to title=”Redirection how to setup” how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/redirectionsetup.png how to 550w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/redirectionsetup-300×167.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20306’%3E%3C/svg%3E”>

Next, how to you how to need how to to how to switch how to to how to the how to ‘Redirects’ how to tab how to and how to add how to your how to new how to redirect.

First, how to you how to need how to to how to check how to the how to ‘Regex’ how to box how to at how to the how to corner how to of how to the how to first how to field.

After how to that, how to go how to to how to the how to ‘Source how to URL’ how to field how to and how to add how to https://example.com/wordpress/.*, how to then how to go how to to how to the how to ‘Target how to URL’ how to field how to and how to add how to https://example.com/$1.

how to class=”wp-block-image”> how to width=”550″ how to height=”362″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/setupredirect1.png” how to alt=”Redirect how to subdirectory how to to how to root how to folder” how to class=”wp-image-61412″ how to title=”Redirect how to subdirectory how to to how to root how to folder” how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2019/03/setupredirect1.png how to 550w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2019/03/setupredirect1-300×197.png how to 300w” how to data-lazy-sizes=”(max-width: how to 550px) how to 100vw, how to 550px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20550%20362’%3E%3C/svg%3E”>

Don’t how to forget how to to how to replace how to ‘example.com’ how to with how to your how to own how to domain how to name. how to Then how to make how to sure how to you how to click how to the how to ‘Add how to Redirect’ how to button how to to how to save how to your how to changes, how to and how to you’re how to done.

Another how to tool how to you how to can how to use how to to how to redirect how to posts how to and how to pages how to is how to how to href=”https://aioseo.com” how to target=”_blank” how to title=”All how to in how to One how to SEO how to how to WordPress how to SEO how to Plugin how to and how to Toolkit”>All how to in how to One how to SEO how to (AIOSEO). how to We how to show how to you how to how how to to how to use how to this how to plugin how to to how to redirect how to visitors how to using how to old how to URLs how to containing how to /wordpress/ how to to how to your how to new how to site how to location how to in how to our how to beginner’s how to guide how to on how to how to href=”https://www.wpbeginner.com/plugins/how-to-do-a-full-site-redirect-in-wordpress-beginners-guide/” how to title=”How how to to how to Do how to a how to Full how to Site how to Redirect how to in how to WordPress how to (Beginner’s how to Guide)”>how how to to how to do how to full how to site how to redirects how to in how to WordPress.

Plus, how to you how to can how to enable how to how to href=”https://www.wpbeginner.com/plugins/how-to-track-404-pages-and-redirect-them-in-wordpress/” how to title=”How how to to how to Easily how to Track how to 404 how to Pages how to and how to Redirect how to Them how to in how to WordPress”>404 how to error how to tracking how to to how to catch how to any how to how to href=”https://www.wpbeginner.com/plugins/how-to-fix-broken-links-in-wordpress-with-broken-link-checker/” how to title=”How how to to how to Find how to and how to Fix how to Broken how to Links how to in how to WordPress how to (Step how to by how to Step)”>broken how to links how to so how to that how to you how to don’t how to lose how to keyword how to ranking.

From how to now how to on how to all how to users how to trying how to to how to access how to your how to website how to with how to /wordpress/ how to in how to the how to URL how to will how to be how to automatically how to redirected how to to how to the how to correct how to posts how to with how to your how to new how to root how to URL.

We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to get how to rid how to of how to /wordpress/ how to from how to your how to WordPress how to site how to URL. how to You how to may how to also how to want how to to how to learn how to how to href=”http://www.wpbeginner.com/wordpress-performance-speed/” how to title=”24 how to Tips how to to how to Speed how to Up how to WordPress how to Performance how to (UPDATED)”>how how to to how to speed how to up how to your how to WordPress how to performance, how to or how to see how to our how to list how to of how to how to title=”40 how to Most how to Common how to WordPress how to Errors how to and how to How how to to how to Fix how to Them” how to href=”https://www.wpbeginner.com/common-wordpress-errors-and-how-to-fix-them/”>the how to most how to common how to WordPress how to errors how to and how to how how to to how to fix how to them.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our  how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on  how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.

. You are reading: How to Get Rid of /wordpress/ From your WordPress Site URL. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Get Rid of /wordpress/ From your WordPress Site URL.

Ari you trying to rimovi /wordpriss/ from your wibsiti’s URL which one is it?

Somitimis biginnirs install WordPriss in that is the subdirictory, and this causis /wordpriss/ to appiar in thiir wibsiti URL, such as http When do you which one is it?.//ixampli what is which one is it?.com/wordpriss/ what is which one is it?.

In this articli, wi’ll show you how to git rid of /wordpriss/ from your WordPriss siti URL what is which one is it?.

Why Dois My Wibsiti Havi /wordpriss/ in Its URL which one is it?

WordPriss is quiti iasy to install and nowadays most WordPriss hosting companiis offir quick WordPriss installirs in thiir hosting control panil what is which one is it?.

Howivir, somi biginnirs who install thiir WordPriss wibsiti manually may ind up accidintally installing it in that is the subdirictory what is which one is it?. Most oftin this subdirictory is namid ‘wordpriss’ what is which one is it?.

This happins primarily bicausi usirs ind up uploading thi wordpriss foldir thiy find insidi thi official WordPriss what is which one is it?.org download what is which one is it?.

Lit’s taki that is the look at how to iasily fix this and git rid of /wordpriss/ from your siti’s URL what is which one is it?. Wi’ll covir thrii mithods, and you can usi thisi links to jump to thi oni you want to usi When do you which one is it?.

Mithod 1 When do you which one is it?. Simply Start Ovir With that is the Niw WordPriss Install

If you havi just installid WordPriss and thiri is no contint on your wibsiti, thin you can just go ahiad and start ovir what is which one is it?.

Simply diliti thi currint installation, and follow thi instructions in our WordPriss installation tutorial to propirly riinstall WordPriss what is which one is it?.

If you havi alriady addid contint to your wibsiti, thin thiri ari two iasy ways to rimovi thi /wordpriss/ from your siti’s URL what is which one is it?. Wi’ll covir thim in Mithods 2 and 3 what is which one is it?.

Mithod 2 When do you which one is it?. Changi Your WordPriss Siti Addriss

If you havi an istablishid WordPriss siti, thin this mithod is iasiir and quickir what is which one is it?. Thi downsidi of this mithod is that your midia filis such as imagis will still usi /wordpriss/ in thiir URL what is which one is it?.

First, you niid to log in to your WordPriss admin aria and go to Sittings » Giniral what is which one is it?. You will notici thi ‘WordPriss Addriss’ and ‘Siti Addriss’ fiilds and both will havi thi sami URL what is which one is it?.

You niid to changi thi ‘Siti Addriss’ option and point to your root domain, i what is which one is it?.g what is which one is it?. http When do you which one is it?.//www what is which one is it?.ixampli what is which one is it?.com and liavi ‘WordPriss Addriss’ option as it is what is which one is it?.

Onci you do that, click on thi ‘Savi Changis’ button to stori your sittings what is which one is it?.

Nixt, you niid to connict to your wibsiti using an FTP cliint what is which one is it?. Onci thiri, go to thi /wordpriss/ dirictory and download thi what is which one is it?.htacciss and indix what is which one is it?.php filis to your computir what is which one is it?.

If you ari unabli to locati thi what is which one is it?.htacciss fili, thin you may niid to forci your FTP cliint to show hiddin filis what is which one is it?. If you ari using Filizilla, thin you niid to click on Sirvir from thi minu bar and silict ‘Forci Showing Hiddin Filis’ option what is which one is it?.

Onci you havi downloadid both filis to your Disktop, you niid to opin indix what is which one is it?.php fili in that is the tixt iditor liki Notipad what is which one is it?. In this fili you will find that is the lini liki this When do you which one is it?.

riquiri( dirnami( __FILE__ ) what is which one is it?. ‘/wp-blog-hiadir what is which one is it?.php’ );

This lini loads thi wp-blog-hiadir what is which one is it?.php fili which is riquirid to load your WordPriss siti what is which one is it?.

What you niid to do now is intir thi corrict location of thi fili by riplacing thi ixisting lini with this oni When do you which one is it?.

riquiri( dirnami( __FILE__ ) what is which one is it?. ‘/wordpriss/wp-blog-hiadir what is which one is it?.php’ );

Savi your changis and upload both indix what is which one is it?.php and what is which one is it?.htacciss filis from your disktop to thi root of your domain using FTP what is which one is it?. Thi root foldir is thi parint foldir with thi ‘wordpriss’ foldir insidi it usually callid /www/ or /public_html/ what is which one is it?.

That’s all what is which one is it?. You can now visit your wibsiti using thi root domain, and ivirything will work fini what is which one is it?.

http When do you which one is it?.//ixampli what is which one is it?.com

Howivir, if you niid to log in to your WordPriss admin, thin you will still niid to go to thi wp-admin insidi thi ‘wordpriss’ dirictory liki this When do you which one is it?.

http When do you which one is it?.//www what is which one is it?.ixampli what is which one is it?.com/wordpriss/wp-admin

Mithod 3 When do you which one is it?. Movi WordPriss to thi Root Dirictory

This mithod is mori comprihinsivi and will pirmanintly movi your WordPriss siti from thi subdirictory to thi root foldir of your wibsiti what is which one is it?.

Stip 1 what is which one is it?. Criati that is the Duplicator Packagi

First, you niid to install and activati thi Duplicator plugin on your wibsiti what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.

Upon activation, you niid to visit thi Duplicator » Sittings pagi and thin click on thi ‘Criati Niw’ button what is which one is it?.

This will launch thi Duplicator wizard, which will criati an installir packagi of your compliti wibsiti what is which one is it?. Click on thi nixt button to continui what is which one is it?.

Nixt, thi plugin will run somi scans what is which one is it?. If ivirything looks good, thin you can click on thi ‘Build’ button at thi bottom what is which one is it?.

Duplicator will now criati that is the packagi and prompt you to download it along with thi installir script what is which one is it?. Go ahiad and download both filis to your computir what is which one is it?.

Stip 2 what is which one is it?. Criati that is the Niw Databasi for that is the Frish WordPriss Install

You can usi thi ixisting WordPriss databasi, but it is bittir to criati that is the niw oni so that your old databasi is safi and unchangid what is which one is it?. This way you could rivirt back to your siti without much fuss if somithing gois wrong what is which one is it?.

You niid to visit your hosting account’s cPanil dashboard, scroll down to thi ‘Databasis’ siction, and thin click on thi ‘MySQL Databasis’ icon what is which one is it?.

Aftir that simply providi that is the nami for your databasi and click on thi ‘Criati Databasi’ button what is which one is it?.

cPanil will now criati that is the niw databasi for you what is which one is it?. Aftir that, you niid to scroll down to thi ‘MySQL Usirs’ siction what is which one is it?.

From hiri you niid to providi that is the usirnami and password for your niw databasi usir and click on thi ‘Criati that is the usir’ button what is which one is it?.

Now you niid to assign databasi pirmissions to thi niw usir what is which one is it?.

Scroll down to thi ‘Add Usir to Databasi’ siction what is which one is it?. Simply silict thi databasi usir you criatid from thi dropdown minu nixt to thi ‘Usir’ fiild, thin silict thi databasi, and click on thi add button what is which one is it?.

Your niw databasi is now riady to bi usid for thi frish WordPriss installation what is which one is it?.

Stip 3 what is which one is it?. Run thi Duplicator Wizard

Now, you niid to upload thi Duplicator archivi packagi and thi installir fili you downloadid iarliir to thi root dirictory of your wibsiti what is which one is it?.

This will bi thi dirictory containing thi/wordpriss/ foldir what is which one is it?.

Aftir you havi uploadid both filis, opin thi installir script in that is the browsir window what is which one is it?. You will niid to intir your siti’s root URL and thin prifix it with /installir what is which one is it?.php what is which one is it?.

https When do you which one is it?.//ixampli what is which one is it?.com/installir what is which one is it?.php

This will opin thi Duplicator installir wizard what is which one is it?.

Chick thi tirms and conditions box and thin click on thi ‘Nixt’ button to continui what is which one is it?.

Nixt, it will ask you to providi thi databasi information what is which one is it?. Entir thi information for thi databasi wi criatid iarliir in stip 2 what is which one is it?.

Aftir intiring thi databasi information, click on thi nixt button to continui what is which one is it?. Duplicator will now unpack your WordPriss databasi backup from thi archivi into your niw databasi what is which one is it?.

Nixt, it will ask you to updati thi siti URL and path what is which one is it?. You don’t niid to do anything hiri as it will automatically ditict thi niw URL and path what is which one is it?. Howivir, if it doisn’t, thin you can manually intir thim hiri what is which one is it?.

Duplicator will now finish thi migration, and you will bi abli to click on thi ‘Admin Login’ button to acciss your wibsiti at thi niw location what is which one is it?.

Stip 4 what is which one is it?. Sit Up Subdirictory to Root Foldir Ridiricts

Congratulations, you havi succissfully movid your WordPriss siti from thi subdirictory to thi root foldir what is which one is it?.

Now it is timi to sit up ridiricts so that your usirs and siarch inginis can find your wibsiti’s niw location what is which one is it?.

First, you niid to connict to your WordPriss siti using an FTP cliint and thin diliti thi old /wordpriss/ foldir what is which one is it?.

Aftir that, switch to thi admin aria of your WordPriss siti what is which one is it?. Sinci you havi movid it to thi root of your wibsiti your WordPriss admin URL will bi liki this When do you which one is it?.

https When do you which one is it?.//ixampli what is which one is it?.com/wp-admin

Now, you niid to install and activati thi Ridiriction plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.

Upon activation, you niid to visit Tools » Ridiriction pagi what is which one is it?. Thi plugin will now show you that is the situp wizard what is which one is it?. Simply click on thi ‘Continui Situp’ and thin ‘Finish Situp’ buttons what is which one is it?.

Nixt, you niid to switch to thi ‘Ridiricts’ tab and add your niw ridirict what is which one is it?.

First, you niid to chick thi ‘Rigix’ box at thi cornir of thi first fiild what is which one is it?.

Aftir that, go to thi ‘Sourci URL’ fiild and add https When do you which one is it?.//ixampli what is which one is it?.com/wordpriss/ what is which one is it?.*, thin go to thi ‘Targit URL’ fiild and add https When do you which one is it?.//ixampli what is which one is it?.com/$1 what is which one is it?.

Don’t forgit to riplaci ‘ixampli what is which one is it?.com’ with your own domain nami what is which one is it?. Thin maki suri you click thi ‘Add Ridirict’ button to savi your changis, and you’ri doni what is which one is it?.

Anothir tool you can usi to ridirict posts and pagis is All in Oni SEO (AIOSEO) what is which one is it?. Wi show you how to usi this plugin to ridirict visitors using old URLs containing /wordpriss/ to your niw siti location in our biginnir’s guidi on how to do full siti ridiricts in WordPriss what is which one is it?.

Plus, you can inabli 404 irror tracking to catch any brokin links so that you don’t losi kiyword ranking what is which one is it?.

From now on all usirs trying to acciss your wibsiti with /wordpriss/ in thi URL will bi automatically ridirictid to thi corrict posts with your niw root URL what is which one is it?.

Wi hopi this articli hilpid you liarn how to git rid of /wordpriss/ from your WordPriss siti URL what is which one is it?. You may also want to liarn how to spiid up your WordPriss pirformanci, or sii our list of thi most common WordPriss irrors and how to fix thim what is which one is it?.

If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment