Website is Indexed Twice. Once with Trailing / Once Without. Will changing Canonical URL Be Enough?

BadMan222

Newbie
Joined
Dec 5, 2018
Messages
5
Reaction score
0
Like the title says, google search console seems to be using my website with the / at the end as canonical url but has indexed both. After some testing that URL has less ILR so I want to switch to the one without the / at the end. I used rank math to change the Canonical URL and changed all internal links. Should be that enough if I give google enough time to crawl it?

Sorry for the newb question. Everyone on Reddit was being rude af.
 
The canonical tag should be enough, but you can also try to make sure any external links you have control over are also pointing to the trailing slash version. Give it a month or so for crawling to catch up.
 
Like the title says, google search console seems to be using my website with the / at the end as canonical url but has indexed both. After some testing that URL has less ILR so I want to switch to the one without the / at the end. I used rank math to change the Canonical URL and changed all internal links. Should be that enough if I give google enough time to crawl it?

Sorry for the newb question. Everyone on Reddit was being rude af.
as said by @Steptoe changing the canonical should be enough. eventually Google will re-index your site and prioritize the canonical URL.
 
The canonical tag should be enough, but you can also try to make sure any external links you have control over are also pointing to the trailing slash version. Give it a month or so for crawling to catch up.
I really appreciate it. A simple, straight to the point answer. Sometimes I forget how bad Reddit is.
 
as said by @Steptoe changing the canonical should be enough. eventually Google will re-index your site and prioritize the canonical URL.
Like I said to the other person kind enough to answer. I appreciate the straight to the point answer. I was getting super condescending answers from Reddit. I'll be hanging here for sure!
 
Adding a canonical tag to your site globally should fix it. Thanks to members who gave that answer already.
 
Adding a canonical tag to your site globally should fix it. Thanks to members who gave that answer already.
Thanks. My other pages such as about us and contact us. They end in the /. But are not duplicate. Is it okay if i have my canonical url for the homepage without the / and the rest with it? I only mention this because you said globally. I could totally be misunderstanding what that means
 
Thanks. My other pages such as about us and contact us. They end in the /. But are not duplicate. Is it okay if i have my canonical url for the homepage without the / and the rest with it? I only mention this because you said globally. I could totally be misunderstanding what that means
Never mind the term global. Canonical tags a most always global anyways.

Just apply it on your website before the closing head tag like this.

<head> canonical tag here </head>

Or if your site is on WordPress, most SEO plugins should fix this by default.

Slim SEO
The SEO Framework

You may want to have a look at the settings of any of these plugins. Should take 5 to 10 minutes to setup.
 
Back
Top