Moved this to:
http://modxcms.com/forums/index.php/topic,22708.0.html
Hello
This might be a strange request but I hope someone can help
I am using weblinks as containers and then the weblink redirects to an index page within the container...
Don’t ask why but it was for SEO issues ... I started using this in early 9.5
So an example of what happens is:
Visitor hits "...com/folder-name/" and they will be redirected to "...com/folder-name/index.html"
That works fine but the header generates a 301 redirect and now Google is giving me warnings that I have way too many 301’s and I need to fix or will be consequences :O
It’s to late to go backwards because I have hundreds of pages indexed and don’t want to fall of the face of the planet.
So how can I use mod_rewrite to report a 200 instead of a 301 ?
Does anyone know the exact code to insert into the htaccess file?
Regards,
Ken Roberts