Tag Info

Hot answers tagged

8

Web browsers do not care about canonical URLs. It is for search engine use only (specifically Google). Additionally, canonical URLs do not affect the loading or rendering of a web page. So no assets will be loaded over HTTP which is what would cause an insecure error message. So, no, they will not display any error message.


5

Putting the ID near the beginning of a URL is better than putting it near the end. URLs often get truncated in emails or by CMS systems that show them to users. When the ID is at the end the truncation will often lop it off and cause 404 errors on your site. When it is near the beginning, your site can still redirect to the full URL. When Googlebot ...


4

The redirect is the better solution, as it stops the erroneous URLs ever being linked to or shared, and so should help crawl efficiency (i.e., search engines shouldn't have to crawl multiple non-canonical versions of pages, thereby wasting time that could be spent elsewhere on your site). I'd do your redirects on the server though, if possible. A fairly ...


4

You should not use both noindex and rel=canonical, because noindex won't let pages pass any PageRank to its canonical version. rel="canonical" is a hint, not a directive, so Google will decide which page to take and show in search results. Here are posts at seroundtable, there they cite John Mueller's comments, from Google: No, you should not ...


4

Two of the most widely used web servers have very different settings for case sensitivity of URLs by default. Whether or not your URLs are case sensitive is likely a function of which you are using: Microsoft IIS - case insensitive URLs - shows the same content regardless of capitalization. Apache HTTPD Server - case sensitive URLs - gives a 404 not ...


4

Here is Google's position from an archived live chat session (the link is now dead): *Does inconsistent capitalization of URLs cause duplicate content issues and dilution of page rank? For example www.site.com/abc vs www.site.com/Abc. On Windows hosts, these are the same page, but are different pages on Unix hosts. JohnMu: Hi John, based on the ...


4

From the SEO prospective, i bet there might be a difference: In you first example, the ID is separated from the title, making it clear to the crawler it is a different resource (as the / character does it naturally). In your second example, the ID is mixed with the title. It requires more brains from the crawler to determine the meaning of it. Imagine ...


4

Google allows you to specify the canonical as an HTTP header. They give an example for canonicalizing one PDF file to another: Link: <http://www.example.com/downloads/white-paper.pdf>; rel="canonical" This page shows how to use .htaccess to put these headers in. It would be: RewriteRule ([^/]+)\.(pdf|doc|txt)$ - [E=FILENAME:$1] <FilesMatch ...


3

It shouldn't. The unsecure warning comes about when a secured page incorporates non-secured elements. A canonical tag is a link, not an object to be incorporated into the page, so there's no reason why the padlock should care whether the URL it points to is http or https.


3

You may run into issues with duplicate content. You probably do not want to create canonical tags when they are not necessary. Too much work. You can try a redirect: RewriteCond %{REMOTE_ADDR} ^123\.321\.123\.32$ [NC] RewriteRule ^(.*)$ http://site.com/$1 [R=301,L] Of course you can adjust this to suit your needs. Insert this into your .htaccess file. ...


3

This looks pretty spot on to me, apart from on the Spanish desktop site set, where there are quite a few errors. You are referencing the mobile version with the three rel="alternate" hreflang= tags, you should be referencing the desktop version. The canonical tag on the Spanish desktop is pointing to the English language page. If you need to set a ...


3

No, not if their content is identical (or very nearly so), and they all have a canonical link element referencing www.mysite.net. However, that sort of issue happening site wide can be considered a crawl efficiency issue and the canonical link element doesn't really solve that. In your example, a search bot would crawl three pages when it really only needed ...


3

Your "SEO expert" might be a lying bastard, but this probably isn't the reason. He's absolutely right about this. This is a little known edge case in URL construction. RFC 3986 is the official definition of the URL format and rules on how to encode and decode URL. Any URL parser should be following this as closely as possible to avoid errors and be ...


3

You could simple make a button/link with a text like "This site is in https, click here to view via https", maybe add a little warning "might not function 100%". Https Everywhere works with a whitelist. Can't find how-to real quick, but this rulsets page might help. I'm not aware of any preference or setting in the browser. You can't send a header "https, ...


3

For extracted content from a source, use this HTML: <blockquote cite="http://venue-website/venue-description-page" title="Published title, author, date"> Your extracted content </blockquote> The cite attribute for blockquote content was designed specifically for this use case in the DOM. Google wouldn't be doing their job properly if they ...


2

You misunderstand some SEO principles: keywords in URLs are not so powerful for SEO than you think URLs must be chosen for users (to remember easily) before SEO Moreover, you can rank on Google for rj onetitle and janeiro onetitle with only one of these URLs. You just need to work SEO of this page. Otherwise, if you have just one of these URLs, it's ...


2

If you have a one page site you should host the content on the root of the site and not try to stuff more keywords in the URL by using a second page. Use a Title for the Home Page that uses the keywords you are targeting and proper on page SEO such as H1 tags and keyword rich content that is not spammy or written to try to only target the Google Bot. If ...


2

I had the exact same situation ( a webshop), just wait. I also 301 all the uppercased paged to the lowercase version, that might speed things up. Make sure you canonical all pages Header 301 all pages to the lowercase Make sure your sitemap is up to date Make sure all inpage anchors are correct


2

If you have NOINDEX meta tag on your page it is not good idea to put inner page links to it, because this link juice will be lost. Search engines are disabled to index the pages, so neither canonical, nor robots.txt disallow removing will help there, if you have NOINDEX meta tag. The best way I see here it is to ask people to link to your main pages, ...


2

Too add a bit more info to Binarysurfs answer, if the content on the paginated pages isn't the same as on the first page you are setting the canonical tag too, it often doesn't work as the content on canonicalised pages should be the same as the canonical page. What you might want to do instead of noindexing the paginated pages is using the rel=”next” and ...


2

Replace spaces with hyphens in URL's without a doubt. They are more readable otherwise URL's will be encoded in the browser like:- example.com/category%20name/article%20name.html It's more friendly for search engines and humans like:- example.com/category-name/article-name.html You can accomplish replacing spaces with hyphens by using the php function ...


2

Google takes several things in account to determine how relevant a page is. The most important factors are: Page content Domain name URL name Let's assume that your content and your domain name didn't change. Even your HTML markup is still the same. OLD example.com/category/subcategory.html NEW example.com/category/filter/cat/subcategory.html By ...


2

I would carry on using pagination mark up on both sets of paginated pages. Google introduced the mark up for this specific purpose, it provides a hint to Google that you would like to treat the paginated pages as a logical sequence, thus consolidating their linking properties and usually sending searchers to the first page. If you noindex the paginated ...


2

This is one way people canonicalise duplicate product pages on ecommerce and is a valid way to use it. As long as the content on the product page is identical, or a large part of the content is exact and appears on both pages. If the pages are not extremely close in exact words, the canonical designation might be disregarded by search engines. For the most ...


2

Each URL on your site has its own PageRank. So http://example.com/?id=344 will have separate PageRank from http://example.com/ and both will have separate PageRank from http://example.com/page.html. In many cases a URL parameter will not cause the page shown to change, or will cause a 404 not found error. Either of those may cause the link juice ...


2

For SEO, I would say an id doesn't permit to easy remember the URL for users. Therefore, no matter on which URL you choose; an id in the middle or at the end of an URL doesn't change anything regarding SEO. However, an id in an URL can be very useful in case of you would have two pages with the same URL. This is the case for StackOverflow because the URL is ...


2

The source of your problem can be in html or in javascript, and you cannot control the links that other people put on the net too.. And because he finds a page when making a request for it, it indexes it. I miss some information to give answer with code (using a CMS? Other rules in .htaccess, etc…), but here are some ways : Write a permanent redirect in ...


2

Google recognizes your URLs with parameters and as different because the id is different. I suppose that the product pages have not the same content; therefore, there is no duplicate content between your URLs; thus, you don't need to use the rel="canonical" tags between pages.


2

The canonical tag is enough, as it lets Google know which page should be indexed. It is basically a way of saying "Hey, these pages are extremely similar. Here is the page that should take precedence." Preventing Google from crawling your mobile links will cause more harm than good. Example: If a mobile user shares a mobile link to your website, you don't ...


2

When you redirect your example.com to www.example.com, using a 301 redirect, all your existing link-juice will also transfer to the www version. But if you're going to redirect it using a 302, that may block link-juice from flowing to www version. So redirect your site without the www to the one with the www using a 301 redirect, and also put a canonical ...



Only top voted, non community-wiki answers of a minimum length are eligible