Google confused by trailing slash
-
My client has a page with the URL https://www.corptexsystems.ca/training/. Google won't index this page because it has detected a canonical at https://www.corptexsystems.ca/training (without the trailing slash).
I can't find https://www.corptexsystems.ca/training without the trailing slash anywhere in our site. All the other page URLs end with the slash.
How do I sort this out and convince Google that https://www.corptexsystems.ca/training/ is the version to index?
Thanks in advance for your help, SEO masters!
-AK
-
I'll check that out. I like the idea of a site-wide solution. Thanks!
-
Either change the canonical URL to the right one if you're able to or just apply some site-wide logic on how to add or remove trailing slashes from the URL. You can easily find some solutions for this for how your webserver is running (Apache, Nginx). Usually, I opt to go that route so you don't have to worry about this being an issue for other pages, apply the logic once on the server logic, and hopefully you don't have to think about for years.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Duplicate content and canonicalization confusion
Hello, http://bit.ly/1b48Lmp and http://bit.ly/1BuJkUR pages have same content and their canonical refers to the page itself. Yet, they rank in search engines. Is it because they have been targeted to different geographical locations? If so, still the content is same. Please help me clear this confusion. Regards
Technical SEO | | IM_Learner0 -
No existing pages in Google index
I have a real estate portal. I have a few categories - for example: flats, houses etc. Url of category looks like that: mydomain.com/flats/?page=1 Each category has about 30-40 pages - BUT in Google index I found url like: mydomain.com/flats/?page=1350 Can you explain it? This url contains just headline etc - but no content! (it´s just generated page by PHP) How is it possible, that Google can find and index these pages? (on the web, there are no backlinks on these pages) thanks
Technical SEO | | visibilitysk0 -
YouTube & Google + Pages
Hello, Has anyone had luck associating their Google + business page with their YouTube channel? Our YouTube page is associated with our Google + profile (and we would like it to be associated with the Google + business page.) There are numerous articles out there that Google is working on an update to allow the Channel/Google+ business page association but I am wondering if there is news we might have missed. Or if there is a way to get around it? We want to implement video on some site pages and would rather use YouTube code as opposed to customizing a solution. Do most folks think Google will have an easy solution once it at arrives? Meaning if you upload videos to your channel that is currently associated with the profile page, do you think there will be a way to convert everything over to a Google + business page once they unveil an update. Thank you!
Technical SEO | | SEOSponge0 -
Totally confused by titles being too long!
We use a wordpress site and have tried some SEO plug-ins in the past. In the analysis, I am getting more than 2,000 pages have titles that are too long and from the results it looks like it was a result of one of these past SEO plug-ins. Do I need to go through and change all those titles? How bad is it that so many of the old blog posts are too long? Some are too long only in the archive link... So confused and hating the idea of reworking thousands of posts! Thanks y'all!
Technical SEO | | Longsphoto0 -
Google Rewriting PDF Titles
Has anyone else noticed Google rewriting the title of PDF documents?
Technical SEO | | waynekolenchuk0 -
Google Search Parameters
Couple quick questions. Is using the parameter pws=0 still useful for turning off personalization? Is there a way to set my location as a URL parameter as well? For instance, I want to set my location to United States, can this be done with a URL param the same way as pws=0?
Technical SEO | | nbyloff0 -
Is the number at the top of google wrong
If I search a term, any term, Google states at the top 922,000 results (as an example). However, if you click the "O" in google at the bottom you can get the 2nd and 3rd and 4th page of results. Those numbers don't match. The result of my searches would show anywhere from 120-140 results, but the number at the top is in the tens of thousands if not millions. Am I missing something here? Shouldn't these numbers be the same?
Technical SEO | | StreetwiseReports0 -
How to disallow google and roger?
Hey Guys and girls, i have a question, i want to disallow all robots from accessing a certain root link: Get rid of bots User-agent: * Disallow: /index.php?_a=login&redir=/index.php?_a=tellafriend%26productId=* Will this make the bots not to access any web link that has the prefix you see before the asterisk? And at least google and roger will get away by reading "user-agent: *"? I know this isn't the standard proceedure but if it works for google and seomoz bot we are good.
Technical SEO | | iFix0