How to remove /wordpress from subpages?
-
I installed and developed my site in a directory called “wordpress.”
I then moved my core wordpress files to my root directory by copying index.php and .htaccess to the main directory, and then editing index.php, following these directions here:
https://codex.www.ads-software.com/Giving_WordPress_Its_Own_DirectoryThe site is working, and my homepage is now “www.mysite.com” but the rest of the wordpress files are still in a directory called “wordpress.”
The problem is, all of my subpages are still “www.mysite.com/wordpress/page”. How do I remove the “/wordpress” so that my subpages display as “www.mysite/page”? Do I need to move all the wordpress files to the root directory as described here:
https://codex.www.ads-software.com/Moving_WordPress#When_Your_Domain_Name_or_URLs_ChangeI am unsure, because I have already moved the core files to the root directory, and I don’t want to break the site.
I just want to remove “/wordpress” from all subpage URLs.
My site is:
https://www.y2k9s.net/thank you!
- The topic ‘How to remove /wordpress from subpages?’ is closed to new replies.