Mod_rewrite with binding

I know that you cannot redirect the binding URL to another page, but is it possible to redirect the URL to only one binding?

So

http://www.example.com/video/{title}

always sent to

http://www.example.com/video.php?title={title}#player

The only thing that changes is the title, the binding is always the same. I need to redirect to a specific slide on the slider

+5
source share
2 answers
RewriteRule ^/video/(.*) /video.php?title=$1#player [NE,L,R=301]

NE | noescape

By default, special characters, for example, and and?, For example, will be converted to their equivalent in hexadecimal format. Using the [NE] flag prevents this.

Source: http://httpd.apache.org/docs/current/en/rewrite/flags.html

+16
source

# , NE (No Escape)

+9

All Articles