How can I get rid of Hash-Bang indexed pages on Google Search?
In about 2010 I have made a website that used Ajax-loaded content and the use of Hash-Bang in the URLs.
eg: http://example.com/#!98_153
That was the recommended way to get all content crawled by Google in 2010.
12 years later in 2022 a complete relaunch of this Website was done.
URLs look (user read-friendly) like
http://example.com/publications/my-first-book
now.
There is a robots.txt file.
And there is a sitemap.xml.
Also there is a Google tag manager on the new site.
Google is still showing those old URLs with Hash-Bangs.
How do I get rid of those Hash-Bangs-Urls?
robots.txt:
Sitemap: https://www.my-websitexxxxx.example/sitemap.xml
User-agent: *
Allow: /
Disallow: /dev/
Disallow: /admin/
Disallow: /Security/
Disallow: /#!*
Disallow: /print/*