Now that google is abandoning the #! fragment for indexing, I changed my browsing from:
to
www.domain.com/page/2
There is only one issue, my redirect instead takes the person to:
www.domain.com/page/2#!2
I don’t want the fragment hash anymore, so not to confuse google. Anyway for google to realize that I’m redirecting to get away from that?
Cheers!
Ryan
ralphm
2
Perhaps post your redirect script so that people can help you improve it. 
Sure!
$esc = $_GET['_escaped_fragment_'];
if($esc) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.domain.com/$snuburl/poster/$esc");
exit();
}
It does this if escaped fragment exists. And, when people come to site from old urls, they get forwarded by the hashbang stays.
system
Closed
4
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.