Forum Moderators: phranque

Message Too Old, No Replies

Redirect Help

         

cdepaola

5:34 am on Jun 23, 2011 (gmt 0)

10+ Year Member



I run a Joomla 1.5 site for my business. Within Joomla I run SH404SEF and have it set to utilize htaccess mod_rewrite. It works like a champ...

However several years ago we were using a calendar module that created hundreds of URL's that all were indexed... They currently look like this:

component/option,com_gcalendar/day,1/gcalendarview,day/month,1/view,gcalendar/year,2009/


Ideally I would like to create a single rule that would redirect any and all of these page requests. Its not currently possible in SH404SEF, so it was suggested that I try an htaccess rule. How to go about that is beyond my current knowledge base though, so any assistance would be appreciated.

Thanks!

Chris dePaola
ChicagolandOutdoorMovies.com

g1smd

5:59 am on Jun 23, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



ErrorDocument 410 /410.html

RewriteEngine On
RewriteRule gcalendar - [G]


Place high up in the .htaccess file, very near the beginning.

Ensure RewriteEngine On appears just once in the file.

Craft the ErrorDocument page to contain links to home and to important site sections.

Make sure you update your .htaccess file to the one that comes with Joomla 1.5.23 or later, or with Joomla 1.6.2 or later. There are important changes and the new file is compatible with all older versions of Joomla. Look for "htaccess.txt" in the distribution ZIP file. You need to manually edit and rename this file.