Support » Fixing WordPress » WordPress and Awstats, conflict?

  • 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 (, 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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 try

    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 😉

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress and Awstats, conflict?’ is closed to new replies.