Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Do we need to use the canonical tag on non-indexed pages?
-
Hi there
I have been working in / learning SEO for just over a year, coming from a non dev background, so there are still plenty of the finer points on-page points I am working on. Slowly building up confidence and knowledge with the great SEOMoz as a reference!
We are working on this site http://www.preciseuk.co.uk (we are still tweaking the tags and content by the way- not finished yet!)
Because a lot of the information is within accordians, a page is generated for each tab of the accordian expanded, for example:
http://www.preciseuk.co.uk/facilities-management.php is the main page
but then you also have:
http://www.preciseuk.co.uk/facilities-management.php?tab=0 http://www.preciseuk.co.uk/facilities-management.php?tab=1 http://www.preciseuk.co.uk/facilities-management.php?tab=2 http://www.preciseuk.co.uk/facilities-management.php?tab=3 http://www.preciseuk.co.uk/facilities-management.php?tab=4 http://www.preciseuk.co.uk/facilities-management.php?tab=5
All of which are in the same file.
According to the crawl test, these pages are not indexed.
Because it is all in one file, should we add the canonical tag to it, so that this is replicated in all the tab pages that are generated? eg.
Thanks in advance for your help!
Liz
OneResult
liz@oneresult.co.uk -
Ok, this may be a better option in Webmaster tools, since you need to have added robots txt or "nofollow, noindex" to the pages...which we can't do because they are all one file.
Many thanks everyone
Liz
-
Sounds fine. You could also go into webmaster tools as well and tell them to ignore the 'tab' parameter
Site Configuration > Settings > Parameter Handling
Although if you're changing it to # you shouldn't need to
-
Having talked to the guys and developers, while re-coding the whole site is not feasible for this project, we are going to prevent these pseudo pages being an issue by:
- adding a rel canonical tag to the main pages
- add the # symbol after the .php section of the code so that the search engines ignore it
- request that Google remove the few URLs that may have been indexed
-
Yes on second thoughts the URL structure would only need to be changed if the individual tabs were meant to be different pages, it's just that the coding has split them up, as you say.
-
Yeah, definitely speak to the developers, see what they can do. You'll learn that SEO often requires us to box clever around what developers do
Your url structure isn't bad, it's simply that these tabs shouldn't be seperate pages at all.
-
Hi Barry,
Yeah I use yootheme templates for Joomla and Wordpress and they seem to use some sort of javascript to do it really well, i think its called MOOtools
-
Thanks everyone so far, great stuff.
I did not build this site so I cannot speak for the way it was put together! I am not a developer at all but I can tell it is not the best solution.
So the best course of action seems to be, use the tag and then look into the time and costs associated with converting the URLs to a more friendly structure...
-
Eh, yes, you probably should.
However, why are you building your pages that way and not making the tabs javascript (or similar)?
There has to be a better way of doing it than making each it's own php file, because you're just deliberately giving yourself duplicate content issues. I'm not much of a coder though so perhaps somebody who is can wade in with an actual alternative solution.
If you really have to make it that way, then definitely use the canonical to the non-tabbed version.
-
I think it would be safer to add the tag, although search engines are getting more clever this way you would be making sure search engines recognise the link you want to be indexed. Hope that makes sense.
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
-
Multiple H1 tags on Squarespace blog page?
Hi All, I use Squarespace and while running my site (https://www.growmassagebusiness.com) through programs am seeing that my blog posts are being seen as one page with multiple H1 tags. I read through the SS help desk and found back in 2015 someone wrote that it's not a bit deal b/c of HTML5 and that the search engines will read each blog post as a sub-page. I'm not so sure about that and wondering what the experts think? If that is screwy then I'm considering possibly making each blog post it's own page rather than using their blog posting format.
On-Page Optimization | | rajam0 -
Does Google avoid indexing pages that include registered trademark signs?
I am suspecting that Google often hesitates to index pages that have registered trademarks on them that are marked with a ®. For example EGOL® used in the title tag or in the tag at the top of the page. Registered trademarks are everywhere and most retail product pages contain at least one of them. However, most people use the registered trademark names as text in their writing without adding the registered trademark sign of ®. Have you experienced a problem getting such pages indexed or have you read any articles about how Google treats registered trademarks?
On-Page Optimization | | EGOL0 -
Can you use the canonical tag and rel=next and rel=prev on category pages.
We have a conflict of information between our web developers and our SEO company. We are an on-line retail company hence we have a fair number of different categories. Our site is set up with the rel=next and rel=prev tags. Our SEO company have asked us to implement canonical links on our category pages and leave the rel=next and rel=prev tags as they are. Our web developers are saying by doing this we are asking Google to ignore all of our products on all of the pages except page 1 which would mean Google would not index a lot of our products. I have looked at a few articles but I am struggling to understand which way to go. Any advice would be appreciated. Thank you in advance.
On-Page Optimization | | Palmbourne0 -
Home page and category page target same keyword
Hi there, Several of our websites have a common problem - our main target keyword for the homepage is also the name of a product category we have within the website. There are seemingly two solutions to this problem, both of which not ideal: Do not target the keyword with the homepage. However, the homepage has the most authority and is our best shot at getting ranked for the main keyword. Reword and "de-optimise" the category page, so it doesn't target the keyword. This doesn't work well from UX point of view as the category needs to describe what it is and enable visitors to navigate to it. Anybody else gone through a similar conundrum? How did you end up going about it? Thanks Julian
On-Page Optimization | | tprg0 -
Title tag for category page
I'd like to know your views on the best approach for title tags for category pages for ecommerce sites. 3 examples A) Category name | Free delivery on $50 purchase | Brand name B) Discover best "category name" on brand name C) Category Name | 1st Keyword, 2nd keyword | Brand name Thanks!
On-Page Optimization | | walidalsaqqaf0 -
Alt tag using photoshop
Simple question i think. Ive started adding alt tags to images using the slice tool in photoshop. This takes up a menu were the last part of is alt tag: This way to add alt tags does work right? I used SEO-browser afterwards and couldnt see the tag. There are maybe other better ways to see if your tags are in there ? Dan L.
On-Page Optimization | | danlae0 -
Should I let Google index tags?
Should I let Google index tags? Positive? Negative Right now Google index every page, including tags... looks like I am risking to get duplicate content errors? If thats true should I just block /tag in robots.txt Also is it better to have as many pages indexed by google or it's should be as lees as possible and specific to the content as much as possible. Cheers
On-Page Optimization | | DiamondJewelryEmpire0