Reputation: 39
I have a site in joomla (version 1.5.23), wherein any url which isn't present shows content of homepage (and its 200 ok). How do i get it to go to a 404 page
ex. www.example.com/sdfsdf or www.example.com/blahblah all shows homepage content.
Any help would be appreciated
Regards,
Sushil
Upvotes: 0
Views: 377
Reputation: 791
These methods work. Different explanation, but the same concept.
If your using Apache check the presence of the following line and all 404 errors will be redirected to your homepage Code: ErrorDocument 404 index.php
Solution about a similar problem: Joomla! forum link
Upvotes: 1