Xenforo htaccess file is causing problems with other directories


When loading a page that I KNOW is there it redirects to the xenforo error page. How do I make it so when i'm on website.com/otherpagethatisnotxenforo it doesn't redirect me to xenforo 404 page?

Curent htaccess.txt http://pastebin.com/anE3DG14

Then you need to explain a little more how it's "generated dynamically" as it's probably going to require and add-on or some custom code in whatever you are using to "generate it" dynamically.
Let me get this straight - the /stats/towny/player path is completely dynamically generated. There is no sub-directory of /stats (or children under that) in your root directory?
There is an add-on that changes up the 404 error page (https://xenforo.com/community/resources/goodfornothing-four-oh-four.767/) or you will need to address it via your coding in your method of calling it.
It does the purpose of changing the xenforo 404 page but I need to remove the error page from the directory http://megaminecraft.net/stats/towny/player/ forever.
Since you didn't answer the first question in the post you quoted, I'm going to assume that you don't know for sure?
If there IS a subdirectory that is being used to store the files to pull the data, simply putting your modified .htaccess in there should work.
Last edited:
Top Bottom