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
Share on other sites

Thanks - if I can't find either of these files should I create a .htaccess file in the root dir of the site.

This is a site running on a Mac Desktop machine and the dirs don't contain a .htaccess or a config file that I can find.

 

Thanks for the help

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.