Skip to main content
The 2024 Developer Survey results are live! See the results
5 votes
Accepted

Is it okay for SEO to wrap block elements in a link?

Yes, it is fine and even advisable to put block elements inside an a element where appropriate, as long as the browser supports HTML5 (all modern browsers do): The a element may be wrapped around ...
Maximillian Laumeister's user avatar
5 votes
Accepted

I offer an embeddable widget that links back to my site. How to avoid being penalized from exact match anchor text?

My answer doesn't directly answer your question but states why you should not be doing this. Google considers these as low quality links and may penalize you for them. Having these links will not ...
John Conde's user avatar
  • 86.4k
4 votes
Accepted

Should a separate link or a single link be given to the image and text?

With the single link option search engines will treat the image's ALT text as if it is the anchor text of a traditional link. Ex: <a href="url">This is Anchor Text</a> Possible ...
Mike Ciffone's user avatar
  • 6,539
4 votes
Accepted

Should a single page website use anchor tags or separate URLs for sections for best SEO?

With websites that have smaller amounts of content, I suggest taking advantage of the many suggested practices Google recommends and offers. Using both anchor text and page based URL's can be ...
norcal johnny's user avatar
4 votes
Accepted

Can a URL with a # anchor be redirected in .htaccess?

No. The anchor is a browser side only parameter which is not sent to the server. You either need to transform the #anchor into a query string or a path, or have some JavaScript that understands how ...
Alexis Wilke's user avatar
  • 2,247
3 votes

Will quick links to sub sections look like keyword stuffing to search engines?

It's not keyword stuffing to have the same combination of words on a page if that combination is helpful to the user. In your case, the table of contents and the h2 tag duplication is likely very ...
Michael d's user avatar
  • 4,813
3 votes
Accepted

Separate URLs on tabbed content - good or bad for SEO?

I would say you should consider the usability aspect greatly. SEO: The only time you may like to have separate URL for info and review when you would like to monitor the performance of one vs other. ...
TopQnA's user avatar
  • 3,173
3 votes

Name attribute is obsolete, what is the correct behavior when dealing with anchors?

For HTML5, name attribute is now deprecated, so that means to use id in place of name. Otherwise, everything else is the same. <a> is NOT deprecated.
Sean Tank Garvey's user avatar
3 votes

Footer backlink spam on Wordpress

This isn't necessarily to do with backlinks from the friends blog. If you go into Google Webmaster Tools you will be able to get a list of the backlinks to your site. By using this data you will be ...
Chris Rutherfurd's user avatar
3 votes

Setting up site links for a one-page scrolling site: Can anchored links be used?

I can personally confirm that at least as of today, google will add jumplinks for singlepage scrolling sites...but I have not found a way to get sitelinks for a single-page site. To get jumplinks ...
mattpr's user avatar
  • 131
2 votes

Would Google think a hidden "skip to content" link is deceptive?

if it interests you, even google's search page uses it: to find it, load a search, then press the "tab" button without clicking on anything else.
George's user avatar
  • 121
2 votes

Restoring the balance between anchor text of external links

I would no worry too much about Google flagging those old links as spam. What we have seen lately is that (Specially since the last algorithm update) Google is just demoting or ignoring those links ...
Raul Reyes's user avatar
  • 2,476
2 votes

Indexable anchor links

Found some answers in this blog post, http://blog.analytics-toolkit.com/2014/virtual-pageviews-google-analytics-why-how-when Explaining ways to achieve it with virtual pages. But I think that means ...
Qu4k3's user avatar
  • 61
2 votes

naming HTML anchors

we keep all of the anchors in our tables short and related to the sections they're linking to. This could avoid accidental typos and saves a fraction of a second when creating these anchors. ...
Ruben Rogers's user avatar
2 votes

It's possible to Index by google page's anchor (#) as a page

John who is Webmaster Trends Analyst at Google has given a answer for your question. We don't index those separately, so if you're using them all for the same page, then that's totally fine :) ...
I am the Most Stupid Person's user avatar
2 votes

Can in-page anchors link to themselves for SEO?

Hurt? No reason why it would. I just don't understand why you would want to do that in the first place. What you can do which does have an impact is creating page-jumps and putting that at the ...
Jet's user avatar
  • 76
2 votes

Make a link for an address that opens the default map app

The closest thing is the GEO URI scheme. It can link to map coordinates (latitude and longitude) like: <a href="geo:37.786971,-122.399677"> Stack exchange doesn't let me create a GEO ...
Stephen Ostermiller's user avatar
1 vote

How to reduce duplicate Anchor Texts when Sourcing/Citing Websites

Some Anchor Texts are used more than once This is not a problem in this case. SEO tools try to simplify complex problems. This is a case where they missed the opportunity to ignore an edge case. ...
Malte Landwehr's user avatar
1 vote

Does using relative base url href="./second-page" instead of hard coding URL href="https://www.example.com/second-page" affect SEO?

There is no difference with the SEO effect. I Think relative URLs are easier to handle if the website will be changed regularly. I manage it with relative URLs in E-Commerce Shops.
Dangkhus's user avatar
1 vote

Does using relative base url href="./second-page" instead of hard coding URL href="https://www.example.com/second-page" affect SEO?

It can, but like everything else in SEO...it depends. If relative URLs are used on an HTTP page to include something from a CDN, for example, it retrieves the HTTP version. If you use a relative URL ...
Mike Ciffone's user avatar
  • 6,539
1 vote

hreflang - do I need to prefix links on the different versions of my pages?

You should update all your links to include the language. This is because: Googlebot doesn't send a variety of Accept-Language headers to the same URL. It expects the language to be specified in ...
Stephen Ostermiller's user avatar
1 vote

Could SEO be negatively impacted if an anchor tag has been used without an href attribute in several places?

I think you should be fine. Anchor tags aren't always used with href attributes anyway. You can use the name attribute, which is used when linking to different parts of the page. <a name="...
Michael Scott's user avatar
1 vote

Image alt VS title attributes while inside anchor tag SEO

The image tag doesn't have a title attribute, so you won't be able to use that. You also shouldn't be doing the option, because the alt tag will already show when the image can't be loaded. To inform ...
patrick's user avatar
  • 148
1 vote

Is it okay for SEO to wrap block elements in a link?

I would like to disagree with @MaximillianLaumeister. UX can be achieved with simple javascript and IMHO is even better in case of accessibility (readers will not read entire block as link text). And ...
Eduard Void's user avatar
1 vote

Do descriptive over basic anchor links have any bearing on SEO?

When is the last time you noticed a site being indexed with a 'HASH' within the URL, the answer is never. Google treats the hashes within a URL to be HASH Fragments and they do not use them to rank a ...
Simon Hayter's user avatar
1 vote

Best element to use for simple anchoring, avoiding potential SEO penalties for lack of content and purpose of the element

I have a similar issue with my site, but I handle it differently. I intercept clicks on anchor links with JavaScript and let JS handle them. This has two advantages: It allows smooth scrolling ...
Stephen Ostermiller's user avatar
1 vote

Restoring the balance between anchor text of external links

Firstly, purchasing backlinks, a BIG NO, you shouldn't be thinking about it. I would say, link on brand should be OK provided you got a good balance in compare to other keywords. Think in this way, ...
TopQnA's user avatar
  • 3,173
1 vote

how to create Google Analytics goal for anchor click to another website?

I would advise setting up event tracking on the link. Event tracking can be implemented with the following syntax for Google Universal Analytics ga('send', 'event', [eventCategory], [eventAction], [...
Jaryd Buggins's user avatar
1 vote

Would Google think a hidden "skip to content" link is deceptive?

If you're ever asking yourself if you should make the user experience worse, the answer should be no, full stop, especially when it would primarily affect users who are already at a disadvantage when ...
Laurel's user avatar
  • 390
1 vote

do text ads count as backlinks?

According to Matt Cutts (the Google alter ego) the url text with no link it does not count as link: https://www.youtube.com/watch?v=nlByfISlj5w
Mert S. Kaplan's user avatar

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