mirror of
https://github.com/php/web-doc.git
synced 2025-08-10 02:56:24 +00:00
Allows multiple prefixes like php/fr/dochowto
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
# dochowto fix
|
# dochowto fix
|
||||||
RewriteRule ^((.+)/)?dochowto$ /$1dochowto/ [R=301]
|
RewriteRule ^(((.+)/)+)?dochowto$ /$1dochowto/ [R=301]
|
||||||
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
Reference in New Issue
Block a user