Question about moving WordPress
-
I want to try something similar to what is decribed in “Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory.” I tried it before on a different blog and it caused problems that were difficult to undo, so I thought before attempting it a second time, I would ask for some advice.
My host provided an installation link for WordPress in my control panel. This method did not allow me to install WordPress in the root directory. The installation was successful in a sub-directory of the root folder. I actually prefer the wp files in a sub-directory but I want the site’s index page to be the wp blog.
So I thought I could attempt something similar to what is detailed in “Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory,” but as I said, last time I tried, there were big problems.
In “Giving WordPress its Own Directory While Leaving Your Blog in the Root Directory,” it mentions changing the URLs in general settings, then moving the core files to the new location. After that it says to copy the index.php and .htaccess files to the root directory, then it says modify the path in index.php so in includes the new sub-directory.
In my situation in which the installation was already in a sub-directory but I would like the blog index page to display as the site index page, it appears I could change the URLs in general settings, move the index.php and .htaccess files into the root directory and it should work. I don’t have to move the core files because they are already in a sub-directory and I don’t have to modify the index.php file to add the sub-directory because it should already have that sub-directory as part of the path.
Should this work, only changing the URLs and copying the index and htaccess files?
Also, just want to be sure, the index.php file referred to is the one in the sub-directory, not the one in the sub-sub directory wp-content, right? One final thing, there are no .htaccess files currently. Will that be a problem?
Thanks in advance.
- The topic ‘Question about moving WordPress’ is closed to new replies.