Facing issue in the Google Index! | Community
Skip to main content
Level 4
July 10, 2024
Solved

Facing issue in the Google Index!

  • July 10, 2024
  • 3 replies
  • 1130 views

We have a multiple sites in AEM Cloud. One of the sites is taking the content path from other website and indexed in Google. 

Example:-

website https://example.com/content/us/en/demo/sample.html

Here the /content/us/en/demo/sample.html is not the actual path of the example.com.

And it is indexed in Google as well with the wrong path. 

How to resolve this? Kindly let me know if there is any solution.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by VeenaVikraman

@ameen_dev Does your website have a sitemap.xml which tells Google what to Index from your website ? Plese check few things 

 

1. Check if you have proper sitemap.xml 

2. Robots.txt  

3. Values in the canonical URL 

 

Please go through the documentation related to indexing and make sure your website has evrything mentioned for picking up the right values 

https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview

 

https://developers.google.com/search/docs/crawling-indexing/canonicalization#:~:text=Consequently%2C%20a%20canonical%20URL%20is,content%20in%20its%20search%20results.

 

https://ahrefs.com/blog/google-index/

https://developers.google.com/search/docs/crawling-indexing/robots/intro

 

 

 

3 replies

VeenaVikraman
Community Advisor
VeenaVikramanCommunity AdvisorAccepted solution
Community Advisor
July 10, 2024

@ameen_dev Does your website have a sitemap.xml which tells Google what to Index from your website ? Plese check few things 

 

1. Check if you have proper sitemap.xml 

2. Robots.txt  

3. Values in the canonical URL 

 

Please go through the documentation related to indexing and make sure your website has evrything mentioned for picking up the right values 

https://developers.google.com/search/docs/crawling-indexing/sitemaps/overview

 

https://developers.google.com/search/docs/crawling-indexing/canonicalization#:~:text=Consequently%2C%20a%20canonical%20URL%20is,content%20in%20its%20search%20results.

 

https://ahrefs.com/blog/google-index/

https://developers.google.com/search/docs/crawling-indexing/robots/intro

 

 

 

BrianKasingli
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 12, 2024

@ameen_dev , you'd also want to redirect all /content/${my_brand}/* to non /content paths.

EstebanBustamante
Community Advisor and Adobe Champion
Community Advisor and Adobe Champion
July 10, 2024

Hi, 

Most likely, your sitemaps are misconfigured and need adjustment. Once you've corrected these maps, you'll need to reindex the content in the Google Search Console: https://www.youtube.com/watch?v=_-KnG-EeDn0&ab_channel=CHRISPALMERSEO 

 

Hope this helps

Esteban Bustamante
Harwinder-singh
Community Advisor
Community Advisor
July 11, 2024

@ameen_dev You may want to look at the https://example.com/robots.txt file as this is most likely the incorrect url is being read by the crawler.