Jump to content

How to fix a duplicate of the homepage so Google indexes the correct page?

Recommended Posts

I received a email from Google saying there are duplicate pages on my site. I found I have two homepages:  https://www.sheepshuttle.com/homepage and https://www.sheepshuttle.com/

I would like to only have this one appearing in the sitemap file and Google Index https://www.sheepshuttle.com/

However the other one appears in the sitemap.xml file. 

Any help is appreciated. Thanks

Link to comment
  • Replies 4
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

The sitemap is generated by SS. There is no way to alter the code of how SS generates the sitemap.

The home page is a special case. It has the URL slug you assign. In addition SS maps your domain to the home page URL slug. It is kind of a masked forwarding or redirect kind of situation.

 

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Not sure if this covers your issue < https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls >.

You can try the following. Add the following to Page Settings > Advanced > Page Header Code Injection for the home page. Please see per-page code injection.

<link rel="canonical" href="https://www.sheepshuttle.com/" />

Let us know how it goes. Give it some time to see if it works, search engines fixing things is not instantaneous.

Edited by creedon

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.