Return 404 for non existing pages

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
Shulman
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Apr 16, 2021 5:35 am

Return 404 for non existing pages

Post by Shulman » Fri Apr 16, 2021 6:12 am

Hi All.

I need to support for legacy code of Joomla 1.5

Now Joomla returns main page for any url like mysite.domain/?asdfasdfasdfasdfasfdasfdsadf

I need to fix it, becouse google cache contain many links on my site which does not exist

How to do this?

hollcharles1
I've been banned!
Posts: 6
Joined: Fri Apr 16, 2021 3:45 am

Re: Return 404 for non existing pages

Post by hollcharles1 » Sun Apr 18, 2021 10:48 am

Here are some steps which help you:
1. Open your web blogs. htaccess record which will be in your site's route folder mostly under the public HTML organizer.
2. Add 301 moved permanently to it.
3. Google recommends utilizing 301 redirects to change the URL of a page as it is shown in the search engine results.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27816
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Return 404 for non existing pages

Post by Per Yngve Berg » Sun Apr 18, 2021 11:41 am



Post Reply

Return to “General Questions/New to Joomla! 1.5”