Get rid of #!prettyPhoto/0/ in urlbar
  • hi.. i want to ask how to get rid "#!prettyPhoto/0/" in URLbar when we play youtube video in pretty photo?? or there are any way to change it?
    sorry i didn`t mean to get rid of copyright, i only want to make a clean url.. :D
  • I would like to know too how to get rid of #!prettyPhoto/0/ from url. Thank you
  • I believe you set deeplinking to false:

    deeplinking: false,

    ... it is 'true' by default.
  • Nope - DONHDEFL - that does not resolve the issue. I changed it to FALSE and SUMMYs above issue is still populated in the URL - trying from a fresh browser that had not loaded the page prior to the code change did not resolve it either.

    Anyone else have an idea ?

    As adding this code onto the URL affects Navigation using the Browser Buttons.

    Maybe Stephane can chime in on this topic since he wrote the code to begin with ?
  • [update]

    Here's what I did - seems to work:

    Made the above modification suggested by DONHDEFL
    -then went into the JS Code and searched for the actual hash '#!prettyPhoto'
    -there was Function 'clearHashtag set to TRUE
    -I changed this to FALSE also

    The Hash in the URL on the Live page is now gone.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!