Giving WP it's own directory – change
-
Hiya.
I currently have my site in a sub-directory called wordpress. I pointed the home site URL to the subdirectory using the information in your Codex “Pointing your home site’s URL to a subdirectory” as it seemed the easiest way to do it quickly and I was a complete novice.
I’m now feeling a little bit braver (only a little mind ?? ) and I want to change it so that the subdirectory name doesn’t feature in the URL so my understanding is that I should use the “Using a pre-existing subdirectory install” section. So that instead of getting https://www.mysitename.com/wordpress etc. I will get https://www.mysitename.com Is this correct?
Do I need to remove the code I originally input to the .htaccess file (the bit about Rewrite Engine On etc.) or will this be automatically overwritten.
As my wordpress site is still on the same subdirectory, do I need to do all the search and replace on the database to change the urls?
Will all this moving about affect my Google page ranking?
- The topic ‘Giving WP it's own directory – change’ is closed to new replies.