Hello all,
I've spent some time reading through the forum but am a little confused about what I need to make this work.
I have a Joomla site that I've recently installed a SEF URL component on, this has rewritten the URL's nicely but a few are generating 404's.
I have been thinking of simply using a 301 Redirect to forward all requests for a particular URL (and variants) to the front page of the site. I believe this will be better than nothing as the URL's and the pages connected to them simply no longer exist.
An example of what is causing a problem at the moment:
www.domain.com/search-by/il/page-9923-5?cf_id=5
www.domain.com/search-by/il/page-2223-5?cf_id=4
I no longer have any URL's that have /search-by in them so 404's are being generated when someone vists the site with this url. Likewise requests for www.domain.com/search-by alone are being made.
I'd simply like to have any requests for /search-by (and anything attached to it e.g. /search-by/1 or /search-by/12/23.php or /search-by/li/ etc. be redirected to www.domain.com
I have written a few redirect rules but I am having some difficultly setting up a rule to include all variants of /search-by.
If someone could help with this I'd appreciate it.
Thanks