htaccess set-up

Discuss Search Engine Optimization in relation to Joomla! 2.5. This forum will also have discussions on SEF/SEO Joomla! 2.5 extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
5thlancers
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Mar 26, 2015 9:17 am

htaccess set-up

Post by 5thlancers » Fri Mar 27, 2015 4:45 pm

Hi,
I'm having problems setting up my htaccess properly to handle missing pages, is it possible that someone could tell me how to set the htaccess up, or better still post a screen shot please "that would be a massive help"
Someone kindly tested a page for me that would have to be missing and it returned a 200 response, when it should return a 404. they did get directed to the 404 handling page, but apparently I'm not set up properly for missing pages.
Cheers.
Kev.

User avatar
pranabmistry
Joomla! Explorer
Joomla! Explorer
Posts: 339
Joined: Sun Dec 07, 2014 4:51 pm
Location: Dhaka, Bangladesh
Contact:

Re: htaccess set-up

Post by pranabmistry » Fri Mar 27, 2015 6:08 pm

is it htaccess.txt or .htaccess???
With Regards
Pranab Mistry

5thlancers
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Mar 26, 2015 9:17 am

Re: htaccess set-up

Post by 5thlancers » Fri Mar 27, 2015 8:13 pm

I don't really know, as I know very little about this side of things and my web designer has been trying to sort it out, the guy who tested one of the pages for me said that I needed this in the .htaccess file:
ErrorDocument 404 /index.php?option=com_content&view=article&id=9
We tried this but it didn't seem to make any difference.
Kind regards.
Kevin.

User avatar
pranabmistry
Joomla! Explorer
Joomla! Explorer
Posts: 339
Joined: Sun Dec 07, 2014 4:51 pm
Location: Dhaka, Bangladesh
Contact:

Re: htaccess set-up

Post by pranabmistry » Fri Mar 27, 2015 8:39 pm

What is the public URL of your site?
With Regards
Pranab Mistry

5thlancers
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Mar 26, 2015 9:17 am

Re: htaccess set-up

Post by 5thlancers » Fri Mar 27, 2015 9:47 pm



Locked

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 2.5”