mod_rewrite with anchor link

前端 未结 2 1522
轮回少年
轮回少年 2020-11-30 11:44

I know you can\'t redirect anchor URLs to another page, but is it possible to redirect a URL to only a single anchor?

So

http://www.example.com/vide         


        
2条回答
  •  一生所求
    2020-11-30 12:19

    You should be able to use the # sign in a redirect rule if you specify the NE flag (No Escape)

提交回复
热议问题