tags:

views:

56

answers:

1

Hey

My problem is that when a user enter my website like: www.mywebsite.com

I use pylonshq

I want the URL to be change to /#home if its possible via. map.connect. I have no idéa how to fix it via. python, so therefore a guide or maybe some samples would be a help.

Right now it looks like this:

map.connect('/', controller='home',action='index')
+1  A: 

Simplest solution is to add js, something like this: location.url += '#home'.

Or issue redirect with anchor included (but this won't work in IE).

Kane
Ya you are right, that also ended to be my solution. :)
william
if(location.hash == ''){ loadpage(); }
william