Redirect url to # (anchor)
Posted
by Craig Fowler
on Stack Overflow
See other posts from Stack Overflow
or by Craig Fowler
Published on 2010-04-30T00:06:46Z
Indexed on
2010/04/30
0:17 UTC
Read the original article
Hit count: 390
I have a site that I just converted to use anchor navigation..
hwww.site.com/shows is now www.site.com/#shows
It loads the info from the /shows directory to a div and adds the hash tag to tell you where you are.
The problem is, if you go to www.site.com/shows, the content is still there, but unstyled. How can I get it to redirect without going into an infinite loop of redirects?
I'm sure I explained that terribly, hopefully you guys get it.
© Stack Overflow or respective owner