-
404 issues
I added to the .htaccess file:
ErrorDocument 404 /404.html
and created the 404 page, seen here: http://www.n-ccarpet.com/404.html
However, the 404 isnt working. This is pretty standard stuff, am I missing something? Are 404s done a different way in Typolight?
-
Re: 404 issues
Hi
on backend you must create a error page
On the option of the page see the Page type. You must select 404 Page not found.
-
Re: 404 issues
Thanks, setting the page type to 404 did make it work.
I played around a little, and discovered the following:
Setting page type to 404 made any non-existent _.html files trigger the 404. However, to get the 404 to be triggered for something like domain.com/eqwfegr (something that doesn't exist without the .html suffix), I still had to manually add "ErrorDocument 404 /404.html" to the .htaccess file, otherwise the 404 page was not triggered.
All is working properly now, just mentioning this in case anyone else runs into this issue.
-
Re: 404 issues
Yes, it is correct
in the .htaccess i add this
ErrorDocument 404 /my-page-404.html
ErrorDocument 403 /my-page-403.html
-
Re: 404 issues
Do you have to add 'ErrorDocument 404 /my-page-404.html' within a specific section of the .htaccess file?
-
Re: 404 issues
The reason domain.com/eqwfegr doesn't auto-trigger the 404 page is because it's looking for a folder, not a page.
-
Re: 404 issues