开发者

How can I send /#/pagetitle to /pagetitle?

开发者 https://www.devze.com 2023-02-15 00:00 出处:网络
I need some help writing a .htaccess file. I\'m using a Flash based theme and it creates URLs like this:

I need some help writing a .htaccess file.

I'm using a Flash based theme and it creates URLs like this:

http://www.mysite.com/#/pagetitle

How can I redirect these to:

http://www.mysite.com/pagetitle
开发者_StackOverflow中文版

?


Apache (and anything that runs serverside) can not access anything after #; that part is the fragment and available to client side only (JavaScript).

You will need to use JavaScript to access that programmaticly.

0

精彩评论

暂无评论...
验证码 换一张
取 消