How do I hide comment reply's from google? Do I need to?
-
Reason for asking is Moz reports them as URL too long. Should these even be indexed by google if not, how do I hide them?
Example URL : https://www.tansleyphotography.co.uk/farnham-castle-wedding-claire-chris/?reply-to=1876
This really doesn't need indexing, as it's just a comment on a blog post. Does it matter?
-
Perfect - thx Alex.
-
Hi,
The url with the parameter won't be indexed by Google. On that page you have (correctly) got the canonical tag set to "https://www.tansleyphotography.co.uk/farnham-castle-wedding-claire-chris/" so you're telling Google (and all the other search engines) which is the "master" page that you want indexing. Therefore, Google should be fine.
You can tell Moz to ignore them by using robots.txt to exclude them for rogerbot:
User-agent: rogerbot
Disallow: /*?reply-to(Note, that will tell rogerbot to not crawl any URL with "?reply-to" in it, you could use "/*?" if you wanted to block all parameters, which may or may not be desirable)
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
-
Need to change permalink structure - need advice on these two options
I have a client with a robust Wordpress blog that ranks well for a number of high-volume terms. We are doing a site rebuild, and they are adamant they don't want to lose any SERP ranking. However, their permalink structure contains the date the post was published, i.e. https://www.company.com/blog/2018/10/28/blog-post-title The date inclusion is not ideal for obvious reasons, but also because it's creating 404 links when pre-scheduling with Hubspot. Option 1: Change the permalink structure for all posts, past and future, and implement 301 redirects The only reason I'm not outright doing this is because there will be some slippage in the rankings, given that redirects only pass on a percentage of juice. The client doesn't want any slippage. Option 2: Create a new instance of Wordpress in a new subdirectory and continue the blog from there This will mandate a new structure for the blog posts; now posts will be children of /industry-blog/ instead of /blog/, but the old posts will remain as they are under /blog/ (and with dates intact). But I don't know if this will cause some hierarchical confusion that will negatively impact both the old blog and the new blog. Any advice given is appreciated. Please feel free to correct me if I've gotten anything wrong, I've only been practicing SEO for a few years now.
On-Page Optimization | | Marce5210 -
Why my website some pages is not index in google ?
Hi, I have submitted my pages in Google fetch for consideration tool but they are not indexed yet in the Google search. Additionally, there is also no error shown by the Google.
On-Page Optimization | | seo.kishore890 -
Content hidden behind a 'read all/more..' etc etc button
Hi Anyone know latest thinking re 'hidden content' such as body copy behind a 'read more' type button/link in light of John Muellers comments toward end of last year (that they discount hidden copy etc) & follow up posts on Search Engine Round Table & Moz etc etc ? Lots of people were testing it and finding such content was still being crawled & indexed so presumed not a big deal after all but if Google said they discount it surely we now want to reveal/unhide such body copy if it contains text important to the pages seo efforts. Do you think it could be the case that G is still crawling & indexing such content BUT any contribution that copy may have had to the pages seo efforts is now lost if hidden. So to get its contribution to SEO back one needs to reveal it, have fully displayed ? OR no need to worry and can keep such copy behind a 'read more' button/link ? All Best Dan
On-Page Optimization | | Dan-Lawrence0 -
Duplicate Content - But it isn't!
Hi All, I have a site that releases alerts for particular problem/events/happenings. Due to legal stuff we keep the majority of the content the same on each of these event pages. The URLs are all different but it keeps coming back as duplicate content. The canonical tag is not right (i dont think for this) egs http://www.holidaytravelwatch.com/alerts/call-to-arms/egypt/coral-sea-waterworld-resort-sharm-el-sheikh-egypt-holiday-complaints-july-2014 http://www.holidaytravelwatch.com/alerts/call-to-arms/egypt/hotel-concorde-el-salam-sharm-el-sheikh-egypt-holiday-complaints-may-2014
On-Page Optimization | | Astute-Media0 -
My company's product is referred to by two different names (SVN and Subversion). When cleaning up our Title tags, is it OK to use either name to keep the title tags around 70 characters?
I am cleaning up title tags that are too long or not correct. In our title tag we reference our product (a version of OSS source code). This product is often referred to as both SVN or Subversion. When writing Title tags is it OK to use one or the other depending on the length of the Title Tag? For instance: Contact Us | Free SVN & Git Hosting | Bug & Issue tracking | CloudForge vs **About CloudForge | Free Subversion & Git Hosting | Bug Tracking ** | |
On-Page Optimization | | CollabNet0 -
Google Will Now Start Indexing Facebook Comments
Interesting article: http://www.telegraph.co.uk/technology/google/8863354/Google-to-index-Facebook-comments.html
On-Page Optimization | | TheVolkinator0 -
What's the best practice for implementing a "content disclaimer" that doesn't block search robots?
Our client needs a content disclaimer on their site. This is a simple "If you agree to these rules then click YES if not click NO" and you're pushed back to the home page. I have this gut feeling that this may cause an upset with the search robots. Any advice? R/ John
On-Page Optimization | | TheNorthernOffice790 -
Site URL's
We are redeveloping our website, and have the option to amend URLs (with 301 redirects from old URL to new), so my question is: Would 'golfsite.com/golf-clubs' achieve superior rankings than 'golfsite.com/clubs' for the search term 'golf clubs' if all other factors were the same? Should the URL reflect the intended search term wherever possible?
On-Page Optimization | | swgolf1230