27 lines
881 B
Plaintext
27 lines
881 B
Plaintext
|
|
|||
|
# BEGIN WordPress
|
|||
|
# Les directives (lignes) entre « BEGIN WordPress » et « END WordPress » sont générées
|
|||
|
# dynamiquement, et doivent être modifiées uniquement via les filtres WordPress.
|
|||
|
# Toute modification des directives situées entre ces marqueurs sera surchargée.
|
|||
|
<IfModule mod_rewrite.c>
|
|||
|
RewriteEngine On
|
|||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|||
|
RewriteBase /
|
|||
|
RewriteRule ^index\.php$ - [L]
|
|||
|
|
|||
|
|
|||
|
# add a trailing slash to /wp-admin
|
|||
|
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
|
|||
|
|
|||
|
RewriteCond %{REQUEST_FILENAME} -f [OR]
|
|||
|
RewriteCond %{REQUEST_FILENAME} -d
|
|||
|
RewriteRule ^ - [L]
|
|||
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
|
|||
|
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
|
|||
|
|
|||
|
RewriteRule . /index.php [L]
|
|||
|
</IfModule>
|
|||
|
|
|||
|
# END WordPress
|
|||
|
# Redirect permanent / https://192.168.0.152/hadoly-histoire-et-objectifs
|