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
-
Using a hyphen in title tags and the impact of spaces
Hi I am trying to arrive at a best practice template for a title tag for my organization so does the following template still holds Primary Keyword - Secondary Keyword | Brand Name will anything be impacted if I eliminate the spaces between the hyphen, will search bots be still able to treat the first one as a priority and the second as the secondary? Primary Keyword-Secondary Keyword | Brand Name thank you
On-Page Optimization | | lina_digital0 -
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 -
Google Console returning 0 pages as being indexed
HI there, I submitted my site notebuster.net to Search Console over a month ago and it is showing 0 pages as being indexed under the index status report. I know this isn't right as I can see that in google alone by typing in (site:notebusters.net) there are 113 pages indexed. Any idea why this might be? Thanks
On-Page Optimization | | CosiCrawley0 -
Should I optimize my home-page or a sub-page for my most important keyword
Quick question: When choosing the most important keyword set that I would like to rank for, would I be better off optimizing my homepage, or a sub page for this keyword. My thinking goes as follows: The homepage (IE www.mysite.com) naturally has more backlinks and thus a better Google Page Rank. However, there are certain things I could do to a subpage (IE www.mysite.com/green-widgets-los-angeles ) that I wouldn't want to do to the homepage, which might be more "optimal" overall. Option C, I suppose, would be to optimize both the homepage, and a single sub-page, which is seeming like a pretty good solution, but I have been told that having multiple pages optimized for the same keywords might "confuse" search engines. Would love any insight on this!
On-Page Optimization | | Jacob_A2 -
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 -
Hey guys! I was looking at adding the H1 tag lower on the page than the H2 tag because I want the top bit to be a call to action. Is this proper practice?
Hey guys! I was looking at adding the H1 tag lower on the page than the H2 tag because I want the top bit to be a call to action. Is this proper practice?
On-Page Optimization | | Web3Marketing870 -
Can I place H1 tag anywhere on page
Hello, For those of you who use Magento you will know it is not SEO friendly. When you create a category or product, the name of the product or category then becomes the H1 tag. We sell mens business shirts. For example we have a product called 'White poplin classic fit' this is also the H1 tag, nobody is ever going to search for that term so I have had my developer create a new attribute that allows me to keep the product name as it is and let's me create a new SEO friendly H1 tag, for example 'White business shirt' However, placing 'White business shirt' on the page to be visible by the visitor does not look good on the page. My question is. Can I place the H1 tag anywhere on the page? I have some tabs like below. I am thinking of add a tab in between delivery and returns called more info and placing more seo keywords including the H1 tag in this tab. Will this be OK or will this be seen as black hat technique?
On-Page Optimization | | mullsey0