Sushil
Sushil

Reputation: 39

Joomla : 404 pages showing homepage content

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

Answers (1)

Daviddd
Daviddd

Reputation: 791

These methods work. Different explanation, but the same concept.

Method

Original Joomla! doc

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

Related Questions