i am taking over a webpage from a previous webpage designer, and i am wondering why does the website display "#!"? eg. www.domainname.com/*#!*home/mainPage. How do I change this so that it doesn't display?


It is caused by pages loaded with javascript/ajax.

There are a few articles online that can help you:

  1. https://developers.google.com/webmasters/ajax-crawling/docs/getting-started
  2. http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs/
  3. http://www.webmonkey.com/2011/02/gawker-learns-the-hard-way-why-hash-bang-urls-are-evil/
| improve this answer | |

Search your files for location.hash you'll probably find it in either a JavaScript or jQuery function

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.