You might consider using real query URLs such as /?q=query or /q/query , and using the HTML5 history API to load those query URLs via javascript without changing the page. That gives you unique URLs without just using anchors, making it feasible to index.