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
-
URL Keywords
I am doing SEO on our eCommerce website and read that I should include keywords in the URL The original URL is: http://thegiftlinks.com/personalized-wedding-glass.html
On-Page Optimization | | abdulw
Title page: Wedding gift Dubai - Anniversary gift Dubai - Personalized Wedding Glass
Meta Data:
Wedding gift Dubai - Anniversary gift Dubai - Personalized Wedding Glass
It is great for a wedding gift and anniversary gift for friends and family members. If I will include the keyword to the url it will be like this
http://thegiftlinks.com/personalized-wedding-glass.html/Wedding-gift-Dubai is this the correct way to include keywords in the URL? Thanks0 -
Phone number for SEO
We have had an interesting question from a client. They have asked if removing their phone number from their website would have an affect on their rankings. Our immediate answer was 'No' but it may affect the Brand, Usability and Customer experience by restricting the methods of contact. This then made us think that perhaps then it could have an effect in the long term. This situation is also complicated by the fact that they do not have a Google Local Plus account for operational, sensitivity reasons (they don't want to openly publicise their address) We believe that there shouldn't be any negative affect but thought we would open a discussion. Thanks in advance for any comments/ideas.
On-Page Optimization | | vital_hike0 -
Social plugin making URLs wonky, would this hinder SEO efforts?
I have a client, heartlandplastic.com who uses a social SEO plugin which makes all of the URL's a bit wonky, for example, the homepage gets redirect to http://www.heartlandplastic.com/#sthash.Cyt22dM0.dpbs Do you think I should find an alternative social share plugin, or that this plugin is fine, as is? They seem to be ranking fine for their immediate area. Thank you!
On-Page Optimization | | Red_Spot_Interactive1 -
Articles URL
Hello, Currently, I am parsing article base on article ID on URL request. For example:
On-Page Optimization | | JohnHuynh
To go to the content of article **What is the visa on arrival? How to get it? **I am using URL like that http://www.vietnamvisacorp.com/news/what-is-the-visa-on-arrival--how-to-get-it--245.html and base on ID 245 to get this page content.
But, now I want to optimize this URL to http://www.vietnamvisacorp.com/news/what-is-the-visa-on-arrival--how-to-get-it.html. Then I got a problem: How to get an article without ID? Thanks,0 -
Anyone done SEO with on-page ONLY?
I read this blog post: http://www.seomoz.org/ugc/let-onpage-optimization-change-your-life The author claims they have increased the visitors 50 fold doing on-page seo ONLY. So they just added content, and optimized the site structure. Anyone have seen similar results? Not outreach whatsoever, just adding content to site. Technically, this should be true, article directories has tons of visitors and they were giving out links.
On-Page Optimization | | inhouseseo0 -
Canonical tag help
Hi, We have a product which is marketed by affiliates . Affiliates send referrals to our sale page by adding their affiliate IDs to our product page like http://www.mysite.com/products.php?ref= 12345. We want to avoid the content duplication impression to Google by using canonical tags but we are not clear about its use. Should we use it on http://www.mysite.com/products.php ( actual page) or we should create temporary pages for each referral id i.e http://www.mysite.com/products.php?ref= 12345 and then add canonical tags to all those pages linking to proper page i.e http://www.mysite.com/products.php ? Thanks, shaz
On-Page Optimization | | shaz_lhr0 -
Trailing slash on URLs
Hi everyone My question is regarding trailing URLs in Wordpress A designer setup a site and made the URL structure something like: www.website.com/description/ but I want to change it to www.website.com/description as this is more SEF A trailing / was added to the permalink structure in Wordpress, if I change this will google see these as new URLs and will all the current URLs become 404? Or should I just leave it? Thanks in advance
On-Page Optimization | | webseoservices0 -
Product sorting and dynamic urls
On our weekly SEOmoz crawls, we get thousands of warnings about overly dynamic URLs as a result of our product sorting options at the top of our category pages. It seems like the ability to sort products by price, name, etc., is nice for the customer. For SEO is this really a problem or can we ignore these warnings?
On-Page Optimization | | teatable0