I have some weird stuff left in my urls by old developers and would like to fix it by 301 redirection. I would like to redirect all urls with perpage/www.domain.com bit in it i.e.
http://www.example.com/products/golf-clubs/Package-Sets/price/under100/grid/perpage/www.domain.com
to
http://www.example.com/products/golf-clubs/Package-Sets/price/under100/grid/
So literally redirect all urls which contains perpage/www.domain.com to the version without it.
any ideas ?
cheers,
/Marcin
Enable mod_rewrite and .htaccess through
httpd.confand then put this code in your.htaccessunderDOCUMENT_ROOTdirectory: