WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Here's an interesting post that I saw toda - check the gallery This website is using WordPress, now if you notice the image URL changes however we can still see the javascript slide effect.

If it was a javascript slideshow then it shouldn't have changed the URL. This makes me think that how are they achieving this.

share|improve this question

Not sure what they're using, but it's possible to change the URL in most modern browsers with JavaScript without refreshing the page and without using the hashtag, using the pushstate, popstate, and replacestate methods.

share|improve this answer
They are indeed using the replaceState method. The JS being used is here: cdn.b5media.com/hubs-v3/js/b5.js . Also, yes, the site is running WordPress. – Otto Aug 10 '11 at 22:49
Thanks a lot for the help! Didn't know that we could achieve the same using JS – Mayank Gupta Aug 12 '11 at 8:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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