The standard problem of moving the WP installation from the root into the my_subdir
folder keeping the url www.example.com
.
Regarding the article Moving a Root install to its own directory, Method I (Without URL change)
- After Installing the wordpress in root folder, move EVERYTHING from root folder into subdirectory
- Create a
.htaccess
file in root folder, and put this content inside (just changeexample.com
andmy_subdir
)
These instructions simply do not work. They are even inconsistent with the article Moving Wordpress!
Do somebody have the correct instructions?
- Should i change the
siteurl
andhome
DB options? - Should i change the original
.htaccess
created by WP when updating the Permalinks? - Should i change the
index.php
last line to include themy_subdir
? - Can the hosting be messing something disabling the functionality of the
.htaccess
around?
Update: Both Method I and Method II keep failing at the last step of logging in back. I am following the exact steps, and no, something in the new version of WP is messing with the subfolder installation (what?).
www.example.com
go straight towww.example.com/my_subdir
to view the site. Perhaps you could provide more information about why you are looking for this solution so we can understand better and offer more help.www.example.com
, moving WP from Root intomy_subdir
public_http
into amy_subdir
folder, and keeping thewww.example.com
original url. The motivation is to keep several WP installations, for different subdomains.