Here is my case and here is what I tried. Please suggest how to over come this. Case: I have to redirect mysite.com/abc1.asp, mysite.com/abc2.asp, mysite.com/abc3.asp and similarly till mysite.com/abc200.asp to mysite.com That is to redirect some older sequence page to home page. What I tried: I tried this in cpanel and it didnt work. 301 redirect From page: Tried the following mysite.com/ab* mysite.com/abc???.asp mysite.com/ab*.asp to mysite.com But none of this has worked. Can you help me with the wildcard to use in this scenario?
There is an option called Redirect in cpanel. I did through this. It generates the required htaccess code. Its not a big difference. Did you read the question properly? I need instruction to redirect with that use case.
How do I do that? That is the question. Dont simply answer for the sake of increasing your post count. If you know real answer please respond.
Try this... add this to your .htaccess file in your root web folder: More info at: http://superuser.com/questions/155139/htaccess-301-redirect-with-regular-expressions or google: http://www.google.com/search?ie=UTF-8&q=301+redirect+htaccess+wildcard+regular+expression