Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-05-05 16:09:59

fowler
Member
Registered: 2007-02-12
Posts: 79

Anchor navigation and redirects

Is it possible to use .htaccess to modify a url to include a hashtag?

I’m using a bit of ajax and anchor navigation to display info on my site. The url looks like this: site.com/#shows (“shows” being a section)

If someone goes to site.com/shows, it looks like hell… but it redirects them after a split second because of a script i have present.

I’m just trying to make it a bit more seamless… and in my eyes, htaccess seems to be the answer.

Am I off base?

Offline

#2 2010-05-09 17:43:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,251
Website GitHub Mastodon Twitter

Re: Anchor navigation and redirects

Did you try Redirect 301 /shows/ http://www.site.com/#shows ?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Online

Board footer

Powered by FluxBB