Canonical URLs and SEO
-
After publishing my new wordpress website my on page analysis shows two canonical urls on my homepage. In checking the source code the Yoast SEO plugin states my canoncial url is www.homepage.ca/ This is the only one showing. Having said this I do not add the trailing slash to anything on my url structure. Could this be why the on page analysis tool says there are 2? If so is there any way to resolve this?
-
-
no it is not checked
-
Ah I think I may have found it.
Under Permalinks on the Yoast menu on the left do you have
"Enforce a trailing slash on all category and tag URL's" ticked or not?
-
They do not have the slash but the Yoast SEO package has it in the automatic rel=canonical which I cannot find to change
-
Oh I see, you've got a specialised set-up. Okay.
In which case the actual place you want to be checking is under Settings > General and look at your Wordpress and website address to see if those have a trailing backslash or not.
-
all done through the widgets per attached example
-
And can you show me the screen/section when you're editing the homepage text?
(we will get to the bottom of this one, it's just taking time).
-
-
Can you take some screenshots so I can see what you're seeing?
Can you post firstly the page you see when you are editing the home page content? (not the layout/design).
-
i created the home page through the appearance/widgets menu using an agentpress theme built on the genesis framework. there is no "home page" appearing as either a page or post in these menus (unless I am missing something)
-
Don't open up the Yoast SEO on it's own. Go edit the home page text as you would do normally. It will be under 'Pages' or 'Posts' depending on which way you created your home page.
Then edit the page/post in the normal way and then the Yoast box is under the normal editing window.
If it's not there make sure you're running the most up-to-date version of Wordpress and Yoast SEO and re-try
-
Hi Martin, I must be looking in the wrong place. When I open up Yoast SEO I can find menus for dashboard, titles&meta, social, sitemaps, permalinks, internal links, rss, import&export and edit files (which gives me acess to htaccess). I can find the advanced tab for all pages but the home page. Where do I find it? thanks
-
In which case I suggest you do the following:-
- Edit your home page as normal through the WP back end
- In the 'Wordpress SEO by Yoast' box under the editor select the 'Advanced' tab
- Enter your Canonical URL without the backslash there.
Publish and refresh the 'live' page and it all should marry up.
You're still probably not losing out with or without the trailing backslash, but it definitely makes it cleaner if your incoming links are precisely the same as your canonical definition.
Let me know if this works out for you.
-
Using the SEOmoz on page analysis tool. The source code shows rel canonical for www.homepage.ca/ yet my site url is www.homepage.ca with all redirects there
-
What tool are you using for your on-page analysis?
Have you done a Google search for : site:www.homepage.ca and see if two URLs are listed?
If the source code is only giving you one rel canonical tag then regardless of your analysis there's only one canonical URL so I don't think you have anything to worry about, so long as you agree with the URL given in that tag
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
-
Updating url name of a key page
One of my key pages has a url name that is completely non descriptive ('About') with no keywords in it that match the important content on that page. Should I create a new page with a proper url name and move the contents there (lose the authority of the current page), or create the url name only and redirect to the existing About page?
On-Page Optimization | | ppopov0 -
URL structure
Hello all, I am about to sort out my websites link structure, and was wondering which approach to our services page would be best. should we have: services/digital-marketing & services/website-design etc or: digital-marketing/website-design & digital-marketing/seo Basically I see digital marketing as the top level category that is the umbrella term for all of our digital services. But would it make more sense to have service to be the main category and digital marketing within that (along with all the other services from web design to seo)? all thoughts welcome!
On-Page Optimization | | wseabrook0 -
SEO Ecommerce Consulting Firm
We are currently designing and developing our new ecommerce website. Due to the complexity involving in duplicate contents as well as the structure of ecommerce websites, we are looking for a firm who can help us on this. We have a team of 15 people here developing our site and need guidance for URL structure and general flow of the website (Site optimization) that is SEO friendly. This would enable us to build links effectively. Anyone can recommend us some strategic consulting firm for this work? We have seen moz recommended lists and still waiting for their reply. Thanks
On-Page Optimization | | WayneRooney0 -
Is my megamenu negatively impacting my SEO?
Hello everyone, I have a megamenu with 87 links in total. We offer a ton of products, so when we decided to have this developed, it seemed like a no-brainer because a straight drop-down menu was really hard to digest. But I have been wondering if it is creating too many links on every single page and/or muddling the signals to the search engines. If anyone could take a look and give me their insight, I would really appreciate it. Thanks, www.cleanedison.com
On-Page Optimization | | CleanEdisonInc0 -
Blog URL
I know that this question has been asked in the past, and that website.com/blog is better for seo purposes than blog.website.com. We want to setup a custom blog on our site, using Wordpress. Our designers/host are telling us that buy using website.com/blog can causes issues b/c Wordpress is open source, and our site could be hacked? Is there anything we should do about this? Any suggestions? Any Advice appreciated!!! Thanks!
On-Page Optimization | | TP_Marketing0 -
Should I use rel=canonical in this case
Hi SEO pros, I am working on a website competing on the keyword "USA maps" and would appreciate your advice and comments on the issue below. The site has one major page for USA maps and like 5-6 smaller pages under different categories, e.g. US travel maps (under Travel Maps category), US travel guides (under Travel Guides), US atlases (under Atlases), etc. The smaller pages do not rank in search results and are not optimized well for any keyword. Here are my questions: #1. Do you think that if I add rel=canonical to the main USA maps page from all small pages that will help get higher ranking of the main page? #2 Or should I better try to optimize these small pages for the keywords they target (e.g. "US travel maps") and try to send link juice to the main page from text link within the content? Thank you,
On-Page Optimization | | ParisChildress0 -
Keyword in URL
Hi everyone, I've heard many times that keyword prominence in url have a good impact for on-page optimization, even in SEOmoz it is one of the on-page factors. But what if i put keyword in URL then some of the page weight will be targeted to the page in the URL. Which in my vision makes only a negative impact. For ex. Targeted page <a>with keyword "buy car in NY" has a link with anchor text "buy car in NY" pointing on page **, so some weight from A will be transferred to B. Also I think this subject cover a cross linking, so I would like to know, what is the right way of doing cross linking and does it still brings any impact on keyword rankings in SERP.**</a> <a>**Good answer will be appreciated. Cheers, Russel**</a>
On-Page Optimization | | smokin_ace0 -
Cross-domain canonical
HI, We've got a German e-commerce site on an .at domain and would like to have a copy on a .de domain as we expect higher conversions for German users there. The idea now would be to make use of the cross-domain canonical tag, create a "duplicate" on the .de domain and add a canonical tag on all sites and refer to the original content on the .at domain. That would mean the .de won't rank, but German users could see the .de domain, Austrian users the .at domain in the address bar and everybody could feel "at home" ... that's the theory. What do you guys think? Valid strategy?
On-Page Optimization | | gmellak0