Jump to content

301 question mark problem in existing urls


ashishmat1979

Recommended Posts

Hi,

 

We have updated a old site and now we are redirecting the old urls to new one with the 301 Redirect, its working with fine but we are facing problem where a question mark in the old urls, we know that the ? have a special meaning in the regex thats why this problem comes, we try to find a solution in the old post, but dont get it properly, here is the problem...

 

the old url:

 

www.funholidaysindia.com/hotel/?tajharimahal

 

and the new one where we want to redirect this is:

 

http://www.funholidaysindia.com/india-hotels/jodhpur-hotels/tajharimahal.html

 

please suggest, regex for this.

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.