Jump to content

Redirect groups of pages


dckantor

Recommended Posts

I have inherited a website which was redesigned a year ago. The site is in 3 languages. It used to have 3 separate html pages for each content page (e.g. index.en.html, index.es.html, index.zh.html). The site was rebuilt using lasso (not my choice) so now there is one page (index.lasso) which contains the 3 language content sections and depending upon what language the viewer is in only that part of the content is displayed.

 

My Problem: I have thousands of hits on the pages that don't exist anymore (becuase people bookmarked them) and no efficient way to redirect them.

 

My Question: Is there a way to create a bit of code that would for example:

 

take any of three forms of the url ..../index.**.html

and replace it with the url ..../index.lasso

 

I would need to do it may times for many pages so even better would be code to redirect

 

www.mysite.com/pagename.**.html

www.mysite.com/pagename.lasso

 

Thanks very much for any ideas.

 

dckantor

Link to comment
https://forums.phpfreaks.com/topic/119310-redirect-groups-of-pages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.