• So, I am installing WordPress in a directory.

    Mywebsite.com/store/wp

    but I want the site to go to

    Mywebsite.com/blog

    copying and moving the index.php and .htaccess files to the /blog directory have been done. However, when I edit, and attempt to access the blog, it is telling me that the files don’t exist in blog/store/wp because they don’t. They live in store/wp

    How do I tell the index file to correctly find the files?

    I tried adding a redirect by making a store/wp folder and file but it’s gone in an infinite loop or a blank page.

    Thanks for the help.

Viewing 1 replies (of 1 total)
  • That won’t work, there might be some round about way to do it, but I wouldn’t recommend attempting it.

    You either want WordPress in the root, like Mywebsite.com, or in a subdirectory, like Mywebsite.com/blog. You can also install WP in a subdirectory like Mywebsite.com/blog, and have it load WordPress in the root at Mywebsite.com, but you can’t load install WP in one subdirectory and then load it in another. Check out the documentation on Giving WordPress Its Own Directory for more info.

    If you want to run WordPress at Mywebsite.com/blog, I would recommend installing WordPress at Mywebsite.com/blog, that is the simplest way. If you do want WordPress in a subdirectory, install it at Mywebsite.com/blog/wp, and run it at Mywebsite.com/blog.

Viewing 1 replies (of 1 total)
  • The topic ‘Site url and wordpress directory madness’ is closed to new replies.