16 votes
Accepted

What if using rel="dofollow" and rel="nofollow" together for a link?

No such thing as dofollow: The dofollow attribute does NOT EXIST in either rel or meta, this is due to the fact that by default both pages and links are considered dofollow unless you use nofollow. ...
  • 32.6k
12 votes

Anchor tag inside <h1> or <h1> inside anchor tag: which is better?

They're both correct in html5, html allows block elements in inline elements. This also has no effect on SEO, both cases the text is wrapped in the heading, so it remains to have the same value. It's ...
  • 6,736
9 votes
Accepted

Are spaces in "href" valid?

In (X)HTML5, the a element’s href attribute […] must have a value that is a valid URL potentially surrounded by spaces. As the anchor suggests, it may contain leading and trailing spaces. The ...
  • 21.5k
9 votes
Accepted

Speed comparison - absolute vs relative path links

Effect for browser: Though this looks like a bit of work for web browser, but technically it does not make much of a difference. The browsers are too fast to handle these relative url structure and ...
  • 1,694
9 votes
Accepted

Will HTTP hyperlinks on HTTPS pages trigger mixed content warnings?

If I understand your question, then you're saying that, your site now serve with https and you want to link your friend site with http protocol. Then it's totally fine, anchor links does not cause ...
  • 5,487
8 votes

How can I stop search engines from crawling tel links?

There's nothing to fix here. These are false alarms. "I fear this is dragging down my SEO" -- no. SEO is defined by what Google actually does, not what some broken SEO reporting tool made by a ...
8 votes

Can a <link /> element's href attribute be relative?

Looks like it. This example comes from the HTML5 specs: For example, the following link is a French translation that uses the PDF format: <link rel=alternate type=application/pdf ...
  • 363
7 votes
Accepted

What is meaning of "nofollow me noreferrer" in a rel attribute of a link?

Rel attribute can contain multiple value. Here is reference link. The value of this attribute is a space-separated list of link types. <a href="http://www.website.com" rel="nofollow"/> <a ...
  • 5,487
6 votes

Using URLs as anchor texts

Some reasons I might not do so: The URL is probably uninteresting to most users. Often a link is integrated into a sentence and a URL doesn't integrate well.1 These days, with fancy search bars and ...
5 votes

Does Googlebot crawl items that look like URLs in HTML5 data-* attributes?

Googlebot uses heuristics to pick out anything from the page that looks like it might be a URL. It can crawl: URLs in SELECT option values URLs in data attributes URLs in JavaScript variables In ...
5 votes

What if using rel="dofollow" and rel="nofollow" together for a link?

The tag rel="dofollow" doesn't exist, it does nothing if anybody uses it. Having two rel attributes in the same tag is an error, regardless of their value.
  • 3,858
5 votes

Should links to PDFs have the 'nofollow' attribute?

No-no-no, don't let Semrush misguide you. It is indeed only your decision about indexing/deindexing of PDF. In general, Google loves PDFs. I would noindex them only in case they dublicate the ...
  • 9,639
4 votes

How can I stop search engines from crawling tel links?

Okay. The reason I asked this question is for SEO purposes. On a quick scan using SEO crawler software (in this instance BrightEdge). We were scoring fairly low due to the abundance of 404 errors we ...
4 votes
Accepted

Is it SEO safe to embed the H2 or H3 tag in a hyperlink element?

The rules are simple regarding to this: You are not allowed to wrap an inline element around a block element. The exception: If you use HTML5, you may wrap in anchor around a block element. From a ...
  • 6,736
4 votes
Accepted

When linking to an image as "download", get other text associated with the image for Google image search

The Google crawler is detecting the text inside the span element as the caption of the image in question. There is no way to make Google use the title attribute instead as Google prioritises what's ...
4 votes
Accepted

Is there any difference in a plain text link on a page, and a hyperlink SEO wise?

Raw Text: http://www.example.com Treated as a mention and Google treats mentions as a very relatively weak SEO signal and passes no link juice. Anchor Text Keyword: <a href="http://www.example....
  • 32.6k
4 votes

Will HTTP hyperlinks on HTTPS pages trigger mixed content warnings?

If I am linking to my friend's URL which is not secure, because he doesn't have one for example within my text, will that also result in mixed content issues? Ans: No. Mixed content is when content ...
4 votes
Accepted

What is the effect of class="something" in a link on SEO

No relation to SEO what so ever, classes and id's are on-site attributes for styling and/or scripting. You should also note there is no such thing as "dofollow", by default SE's will crawl, ...
4 votes
Accepted

Page Title in URL - What do I do if the page's title changes?

The recommended way to deal with this is to use a 301 ("permanent") redirect from the old article URL to the new article URL. That way users and search engines will be automatically redirected, and ...
3 votes

Internal links to pages vs. sitemap.xml links to pages

Only having a page listed in your sitemap without any links to it isn't enough for SEO. See The Sitemap Paradox. There is no guarantee that Google is going to index the URLs listed in your sitemap. ...
3 votes

In terms of SEO, what are the pros and cons of using dot notation in links?

I've never seen a crawler or search engine that couldn't handle relative URLs, including the ones with dots in them. For SEO, the dot notation would be just fine. Search engines can follow those ...
3 votes

Anchor tag inside <h1> or <h1> inside anchor tag: which is better?

What's said here's is insightfull, thank you all. Let's take it up one more notch: adding microdata and such into the equation. Let's say we've got <h1 itemprop="name"><a href="http://...
3 votes

Does styling links in the same way as non-clickable text affect seo?

Google state that if you fail to distinguish your links then "your content becomes less useful". So, if your aim in SEO is to provide useful content, then yes - it can affect SEO. Google's SEO best ...
  • 2,476
3 votes
Accepted

Are anchor back links without text effective for SEO or black hat?

As you surely have already understood, this is not a good way of building backlinks. That's why I would say it is part of blackhat techniques. A little advice: when you build a backlink, think about ...
  • 10k
3 votes

Are anchor back links without text effective for SEO or black hat?

Google would consider a link with no anchor text to be a "hidden link". Google has a hidden text and links page in their webmaster guidelines that calls out a slightly less egregious case as black ...
3 votes
Accepted

Is there any SEO benefit for the h1 of a post to contain a hyperlink?

It's used for sharing links easily. There are no SEO benefits. Here in stackexchange, you can see h1 tags and hyperlink together, because it is easiest to copy paste when someone want to reference ...
  • 5,487
3 votes

Apache ERROR : The given path was above the root path

dummy-host.example.com All website local assets and pages must be stored within c:/Apache24/docs/dummy-host.example.com and for example not c:/Apache24/website/, ensure that your content is contained ...
  • 32.6k
3 votes

SEO for links duplicated and hidden for responsive design

I'd suggest minimizing the amount of duplicate links. If this is not possible, then consider using different labeling for each link. For example, have the business logo at the top of your site as a ...
3 votes
Accepted

Any SEO benefit to a page linking to itself?

The two comments above are both on point, and I'll add that it creates a horrendous user experience. Your understanding is absolutely correct. Search engines discover the web by crawling links, and ...
3 votes

Is there any SEO issue to give nofollow for mailto links?

Checking the official doc: "Nofollow" provides a way for webmasters to tell search engines "Don't follow links on this page" or "Don't follow this specific link." [...]. It is used for untrusted ...
  • 3,787

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