Mobile app version of vmapp.org
Login or Join
Radia820

: AJAX crawling scheme & redirects I am about to implement Google's AJAX crawling scheme so for every single pretty URL on my site (apart from the homepage) there will be an equivalent ugly one

@Radia820

Posted in: #Ajax #Google #Seo

I am about to implement Google's AJAX crawling scheme so for every single pretty URL on my site (apart from the homepage) there will be an equivalent ugly one using _escaped_fragment_ .

This means thatwww.example.com/#!page1 (pretty URL) would also exist as example.com/?_escaped_fragment_=page1
The problem I have is that URLs on my site can be frequently updated so page1 can be renamed page2. In this case page1 will cease to exist and I need to redirect it.

In this case, what would be the best way (in terms of SEO) to redirect page1 to page2?


301 redirect example.com/#!page1 to example.com/#!page1? 301 redirect example.com/?_escaped_fragment_=page2 to www.example.com/?_escaped_fragment_=page2 Both 1 & 2
Other e.g. use JavaScript redirects


Any help would be hugely appreciated.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

1 Comments

Sorted by latest first Latest Oldest Best

 

@Odierno851

You can't server-side redirect from www.example.com/#!page1 to www.example.com/#!page2 because the server doesn't see the fragment ("#!page1"). For AJAX-crawling, you'd need to redirect from the old crawlable URL to the new displayed URL, which will ultimately result in the new crawlable URL being crawled.

So in short: 301 redirect from www.example.com/?_escaped_fragment_=page1 to www.example.com/#!page2

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme