• .htaccess redirect 301
    6 replies, posted
-snip-
Ehhh. You have to redirect the entire page. D: [editline]11:22PM[/editline] Pretty sure, or use a Regex Catching group to manually redirect with a rule.
-snip-
[QUOTE=Maccabee;21223222]I have to use this method. And when you put the first url it has to be local path not global. ([url]http://)[/url][/QUOTE] I meant the entire page, as in with no url modifications, because it's looking for that file with the pid=190. You have to redirect all page requests.
-snip-
I meant this: redirect 301 /adult.aspx [url]http://www.site.com/new[/url] However, I said you may have to do a custom rule: RewriteRule ^/adult.aspx?pid=190$ newpage.aspx [L] But, that only assumes that it's on the same server. :(
Ok, I got it sorted. I'm a snip it all. Mod please close this when you see it. [editline]04:30AM[/editline] Note to self. Figure it out yourself before you make a thread about it.
Sorry, you need to Log In to post a reply to this thread.