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
-
Google is showing erroneous results on SERPs page
Hello, All, In April, two months ago, we caught a hack on a client's website. It created about 40 pages in what looked to be a black hat link tactic. We removed the pages, resubmitted the sitemap.xml (it reprocessed) and ran it through screaming frog to confirm all the pages were gone, but the forty pages still show up in the search results for a site search. We have both the www. and non www. version of sites claimed and set a preference. Nothing is awry with the robots.text. We're not really sure what to do to resolve it. We asked Google to recrawl (fetch) the site. I'm not sure what's going on with it. The website's name is fortisitsolutions.com The site search bringing up the pages from the hack is below. site:www.fortisitsolutions.com Any ideas?
On-Page Optimization | | Cazarin-Interactive0 -
Do Google's mobile friendly updates effect visibility on desktop results pages?
Google say that their quest to make websites more mobile friendly impacts mobile search results - https://webmasters.googleblog.com/2016/03/continuing-to-make-web-more-mobile.html But I am wondering if having a website that is less mobile friendly effects desktop SERPs as well? We require Adobe Flash as a tool for people to upload their images to us but not on the landing pages we're trying to rank. So our landing pages are not as mobile friendly as they could be (which we're looking to improve) but am worried this is effecting desktop search results even though Google do not claim they do.
On-Page Optimization | | KerryK1 -
Google Data Highlighter
Hello Mozers! Anyone out there have any experience using the Google data highlighter tool in WMT? I'm just curious if it is something I should be utilizing or should just try to get the same results using microdata markup. I'm not a fan of "tools" per se...I'd rather get my hands dirty. Just looking for any thoughts or experiences in using it.
On-Page Optimization | | adamxj21 -
Removing old URLs from Google
We rebuilt a site about a year ago on a new platform however Google is still indexing URL's from the old site that we have no control over. We had hoped that time would have 'cleaned' these out but they are still being flagged in HTML improvements in GWT. Is there anything we can do to effect these 'external' dropping out of the indexing given that they are still being picked up after a year.
On-Page Optimization | | Switch_Digital0 -
Any idea how Google is doing this? Is it schematic? http://techcrunch.com/2014/02/28/google-adds-full-restaurant-menus-to-its-search-results-pages/
Google is now showing menus on select searches. Any idea how they are getting this information? I would like to make sure my clients get visibility this way.
On-Page Optimization | | Ron_McCabe0 -
Need w3c validation error solution
http://validator.nu/?doc=http%3A%2F%2Fwww.topnotchlawsuitloans.com Stray end tag head. An body start tag seen but an element of the same type was already open. Cannot recover after last error. Any further errors will be ignored.
On-Page Optimization | | JulieWhite0 -
Blocking Google seeing outbound links?
Apart from rewriting the outbound url to look like a folder 'abc.co.uk/out/link1' and blocking the folder 'out' in the robots.txt file, along with also nofollowing the links as well, is there anything else you can do?
On-Page Optimization | | activitysuper0 -
Google Ranking Dropped
Hi We launched a new website on the12th Feb 2012, it appeared on google page one for the search term "compare travel insurance" . Last week it changed ranking to page 49 of google ranking. my site is www.1234compare1234travel1234insurance1234ireland1234.com Take out the 1234 for my site address, some people have mentioned that it was honeymooned to page 1 due to being a new site with new content. Can anyone tell me if it looks as if I've done something wrong and been penalised by google? If not are there any SEO advice I could use to improve ranking? All comments and advice appreciated. Regards Paul
On-Page Optimization | | CocoMagenta1