Ad

Using Href="/" Instead Of Href="index.html" For Start Page?

- 1 answer

In my language indication for Google down below, I've used target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="/" instead of target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="index.html". This however seems to give me warnings in webmaster tools. Anyone got any idea of whats going on here?

Webmaster tools tells me this:

  • There are Hreflang-tags containing errors.
  • Web adress to web page and alternative web page at es-ES does not contain return tags.
Ad

Answer

In you hreflang you can put your website url

 <link rel="alternate" target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="http://yourwebsite.com/" hreflang="en" />

or

<link rel="alternate" target="_blank" rel="nofollow noreferrer" target="_blank" rel="nofollow noreferrer" href="http://yourwebsite.com/index.html" hreflang="en" />
Ad
source: stackoverflow.com
Ad