WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Mod rewrite working on other folders (4 posts)

  1. Rokuzen
    Member
    Posted 8 years ago #

    My server, Dreamhost, has a statistics thing built in to their service. To get there just hit website.com/stats and enter your password. It's not an actual folder in my site, it just is set up somehow to do that.

    I just started using the permalinks options and now when I try to use the stats page, it throws me back to my index file. How can I exclude /stats from being affected by the rewrite rules?

  2. moshu
    Member
    Posted 8 years ago #

    Does this help?
    http://wordpress.org/support/topic/55033?replies=23#post-300367
    (and read all the following posts!)

  3. Christopher J. Hradil
    Member
    Posted 8 years ago #

    If the hosting company is using a "symlink" or "symbolic link" to the stats directory as they often do for a number of features, (assuming httpd.conf has AllowOverrides enabled) you'll need to put
    Options +FollowSymlinks in as the first line in your .htaccess file. This should resolve the issue.

    By adding this when you access your stats directory which is really a pointer to something else on the server it should "override" the wordpress mod_rewrite rules for that directory only.

  4. Rokuzen
    Member
    Posted 8 years ago #

    thanks moshu, that works

Topic Closed

This topic has been closed to new replies.

About this Topic