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
-
Do you need Metadata on Password Protect Pages?
Hey guys and gals, I was wondering if it matters to have metadata on password protected pages or if they can be ignored. Thanks,
On-Page Optimization | | brightvessel0 -
H1 tag- on home page - what is it best to include
is it best to have in the H1 tag 1. just our website address 2. combination of website address followed by short keywords about our website
On-Page Optimization | | CostumeD0 -
Are there any SEO benefits changing the default home page filename (index.htm) to a keyword rich filename
II'm a newbie. I have a website using the default home page filename: index.htm. I have total control over the web server. I was wondering whether I can get any SEO improvements for my main keyword if I change the default filename with a filename that contains the main keyword, like our-main-product.htm (doing the 301 redirect and changing the server search order, of course)?
On-Page Optimization | | Grafimart0 -
Trying to SEO a site that used Header Tags for Design
I am trying to SEO a website that was built years ago and uses Header tags for design. The site must have 25 and tags used for design purpose. Is there any way to work around this problem? Perhaps a code that tells Google to ignore these as Headers? The web designers say that they are looking to fix the problem sometime this summer but you never know if that means it a month away or years away. I really want to help this website but I believe that the Header tags are one of the reasons that his site does not show in the top 100 rankings for any keywords. Any help would be great. www.wallybuysell.com Chris.K
On-Page Optimization | | CKerr0 -
How do I remove a Canonical URL Tag?
Some of my report cards say I have too many canonical URL tags. However, there is no information no how to delete one. Can someone give me a link or explain? Thanks.
On-Page Optimization | | dealblogger0 -
Does Title Tag have to be in the HEAD tag?
We are using templates that load the same header for every page. I'd like to just include a different title tag in the "body" template of each page. If I was to do this, does it affect SEO at all?
On-Page Optimization | | moziodavid0 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1 -
Rel="canonical" on home page?
I'm using wordpress and the all in one seo pack with the canonical option checked. As I understand it the rel="canonical" tag should be added to pages that are duplicate or similar to tell google that another page (one without the rel="canonical" tag) is the correct one as the url in the tag is pointing google towards it. Why then does the all in one seo pack add rel="canonical" to every page on my site including the home page? Isn't that confusing for google?
On-Page Optimization | | SamCUK0