gjfortin - 9:04 pm on Mar 14, 2013 (gmt 0)
I am not a mod rewrite expert. I am able to do simple redirects with htaccess using Cpanel. But I need to solve a specific problem:
I already made some redirects from my old website mysite.com such as:
RewriteRule ^folder\/oldpage\.html$ "http\:\/\/mysite\.com\/new\-page\/" [R=301,L
My new website is running on Wordpress
A lot of spammmy links where made from elsewhere when my old website was made in static html but these links where pointing to non existing php pages like this:
I have more than a thousand of these 404 in Google Webmaster tools and I would like to redirect all of them on one dedicated page to them on my new site to get rid of this important amount of 404. I know that it is better to use a wildcard for this but I do not know how to.
I want to redirect all these pages to [mynewsite...]
Could you tell me how to write this string of coding?
I also do not want to redirect urls from Wordpress.