SEO: Make hashtag links look static
Posted
by
elias94xx
on Pro Webmasters
See other posts from Pro Webmasters
or by elias94xx
Published on 2012-09-01T11:54:17Z
Indexed on
2012/09/01
15:49 UTC
Read the original article
Hit count: 276
So I have a website which displays all my content vertically. (like modern websites often do these days). Thus I can't create static links to each section. I'm currently handling the scrolling with javascript. My navigation looks like this.
<ul>
<li><a href="#services">Services</a></li>
<li><a href="#references">References</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
I also created 301 redirect links with htaccess. E.g. /services
which leads to /#services
.
If I were to use them in my navigation, I'd have to trigger the scrolling with the onpopstate event. Thats not really a problem, but would searchengines accept that kind of setup ?
I also created a sitemap and submitted it to google, but the indexing is still pending.
© Pro Webmasters or respective owner