WordPress.org

Ready to get started?Download WordPress

Forums

WordPress and Awstats, conflict? (3 posts)

  1. RobertB
    Member
    Posted 5 years ago #

    Hi,

    My hosting provider offers the possibility of installing Awstats for me. Well and good, but it is installed into an awstats subdirectory, while wordpress is installed in the root directory.

    So now, when I surf to the folder I should get my Awstats from (www.mydomain.com/awstats), WordPress is handling the page request, telling me "I'm looking for something that isn't there".

    Looking at the server using FTP, I can see for myself that the awstats directory is actually there, and my hosting providers control panel tells me Awstats was installed succefully.

    How can I force wordpress to leave the awstats subdirectory alone, and let awstats handle page requests that go there?

    Thanks in advance!

  2. tgiokdi
    Member
    Posted 5 years ago #

    While I don't know if it's possible to have wordpress go around the permalink system in the way you're asking, if you load the file directly, you should be able to view it. So instead of x.com/awstats try x.com/awstats/awstats.x.html

    Another option that I use is to put an .htaccess file with :

    DirectoryIndex awstats.x.html

    on the first line in your awstats directory. That way the server will know exactly what file to load for the index

    just be sure to change out all those x's for your own url ;)

  3. Ivovic
    Member
    Posted 5 years ago #

    I'd also put a htaccess password on that folder if there isn't one already - because you don't really want just anyone clicking around your stats.

Topic Closed

This topic has been closed to new replies.

About this Topic