WordPress.org

Ready to get started?Download WordPress

Forums

Installing into a Subdirectory: Annoying Redirect (4 posts)

  1. keighl
    Member
    Posted 5 years ago #

    I'm sure there is something simple I am over looking here to solve my problem but here it is:

    I am attempting to install WordPress into a subdirectory titled /fishing/. Similarly, I want WordPress to only work in this subdirectory. Basically, I don't want WordPress in my root directory; I want it separate.

    So, I've installed it with no problems. In the Settings department, I made sure that the WordPress address and the Blog address are both http://www.eastmanstackle.com/fishing.

    All the static files in the root directory appear perfectly normal. I can access the WordPress admin area fine.

    However, when I navigate to eastmanstackle.com/fishing to view the blog ... it redirects itself back to the homepage/root directory. It refuses to show the blog homepage!

    I sort of think it has something to do with .htaccess files ... but those things scare me.

    Any help would be deeply appreciated.

    Keighl

  2. MichaelH
    Member
    Posted 5 years ago #

    The only WordPress 'file' in your web-root folder should be called fishing and that should be a folder. The folder fishing should contain the folders wp-admin, wp-content, and wp-includes, as well as approx 22 other files.

  3. Samuel B
    moderator
    Posted 5 years ago #

    2 things.
    In your admin - Settings - make sure both url's are correct.

    Rename your .htaccess to .htaccess1 to test if that is the problem.
    You can easily rename it back.

  4. keighl
    Member
    Posted 5 years ago #

    Thanks for your input ...

    I do in fact have all the necessary files in the correct places, and the two URL's are correct.

    My .htaccess file in the /fishing/ subdirectory was empty ... so I augmented it with:
    DirectoryIndex index.php index.html index.htm to make sure the index.php is being located. But this simply caused a 503 error.

    I figured out that posts/comments/pages/etc. can be viewed. It is just the front page that refuses to show, and keeps getting redirected back to the web-root.

    I found this post where the author is experiencing the same problem. http://wordpress.org/support/topic/177480?replies=4.

    Any other suggestions? I'm thinking of just scrapping 2.5.1 and going lower.

    Keighl

Topic Closed

This topic has been closed to new replies.

About this Topic