Google: Redirect Old AJAX Crawling Scheme URLs Using JavaScript Redirects

Sep 18, 2019 - 8:17 am 0 by

Google Hashtag

Google's John Mueller said in an #AskGoogleWebmasters video that now that "you no longer need to do anything special for hashbang URLs," if you still have those old URLs for the old AJAX crawling scheme, you should redirect those URLs.

John said you would need to use JavaScript redirects for those URLs and when you do and Google tries to access those old URLs, Google will reprocess it and find the new URL for your JavaScript or AJAX pages.

Google has been telling people to stop using the old AJAX crawling scheme for years and if you still have some legacy URLs out there, here is your solution.

John said "In short, for Google you no longer need to do anything special for hashbang URLs. We will just try to render them directly. In order to move to a different URL structure you need to use JavaScript on these pages to create the redirects. It's not possible to use server-side redirects since everything after a hash, so the number symbol, is not sent to the server but rather processed in the browser. Once you've setup those redirects, as Googlebot reprocesses the hashbang URLs on the site, it'll spot the redirect and follow it appropriately. "

Here is the video:

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Follow

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: September 6, 2024

Sep 6, 2024 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google August Core Update Done, Google Interview, Google Ads & Merchant Center News & The YouTube Algorithm SEO

Sep 6, 2024 - 8:11 am
Google Updates

Google Search Volatility Still Heated After August Core Update Rollout Completed

Sep 6, 2024 - 8:01 am
Google Search Engine Optimization

My Interview Of Google's Search Liaison On The August 2024 Core Update

Sep 6, 2024 - 7:51 am
Google Search Engine Optimization

Google Clarifies Indexing API Quota & Pricing Information

Sep 6, 2024 - 7:41 am
Google Ads

Google Ads Try On Icon

Sep 6, 2024 - 7:31 am
Previous Story: New Report Offensive Images In Google Web Search Results