I am interested in creating a website using ajax without compromising its SEO value. My question is: What would happen if I have links on my page like this:
<a href="http://example.com/cats" id="cats">Cats</a>
<a href="http://example.com/dogs" id="dogs">Dogs</a>
...when each link is clicked, I want to update the URL in the address bar with a corresponding hashtag. For example, if the "Cats" link is clicked, the current location will be http://example.com/#cats, allowing me to display my ajax content. In cases where JavaScript is disabled or the user is a search engine bot, they should be directed straight to /cats