SEO: Make hashtag links look static
- by elias94xx
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.