Mister.T
Member
Hi,
I have my own custom error pages on my default website : website.com but how do I go about adding them on the forum here forums.website.com, if I just add this in my htaccess file I keep getting, the default XenForo error pages instead.
It would seem the below lines below are messing up my custom error pages, and if I delete it then my full friendly URLs no longer work.
I have my own custom error pages on my default website : website.com but how do I go about adding them on the forum here forums.website.com, if I just add this in my htaccess file I keep getting, the default XenForo error pages instead.
ErrorDocument 401 website.com/401.html
ErrorDocument 403 website.com/403.html
ErrorDocument 404 website.com/404.html
ErrorDocument 405 website.com/405.html
ErrorDocument 406 website.com/406.html
ErrorDocument 500 website.com/500.html
ErrorDocument 501 website.com/501.html
ErrorDocument 503 website.com/503.html
It would seem the below lines below are messing up my custom error pages, and if I delete it then my full friendly URLs no longer work.
Thanks for any help.RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
Last edited: