I am kind of new and there is the situation I am facing..
I used redirect rule to go from www.domain.com/index.php?act=register to www.domain.com/register
- Code: Select all
RewriteRule ^register$ index.php?act=register [L]
Now the problem is that google.com and other search engines already crawled www.domain.com/index.php?act=register so they are not crawling the new URL. www.domain.com/register
How should I setup R=301 in this situation?
I trield
- Code: Select all
RewriteRule ^index.php?act=register$ register[R=301]
But no luck in that. Maybe because I am redirecting to a URL that is previously redirected using rewriterule.
Can someone help me out?