×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: window.location.hash rewrite?

window.location.hash rewrite? 9 years 10 months ago #29681

  • Gogodigital.it
  • Gogodigital.it's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 1
Hi All,

i have a site with hotspot component, in the homepage i display the map with all category of hotspot.

So the url is index.php?lang=es#!/catid=4;15;13;8;6;12;1;11;5;2;9;3;7;14;10

the customer says is a very bad url for the home, in the code i've seen this part
if(window.location.hash == '') {
    window.location.hash = '!/catid='+hotspots.DefaultOptions.startCat;
}
how can i hide the hash?
can i set a var only for the home without the hash?
in wich file i can set this?
Please any suggestions i'll appreciate..Thank you so much!
The following user(s) said Thank You: ranlaveresteph

window.location.hash rewrite? 9 years 10 months ago #29731

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey there,
You are using an old version of the component. When the page loads we no longer output any hashes, but only when the user navigates the map. The hash actually have no effect on the url whatsoever (no SEO implications). It is just there to keep make it possible for the users to copy the url and navigate to the same view.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.142 seconds