WordPress.org

Make WordPress Core

Ticket #17509: .htaccess

File .htaccess, 746 bytes (added by arena, 3 years ago)

.htaccess

Line 
1SetEnv PHP_VER 5
2
3Options -Indexes
4
5ErrorDocument 403 "Désolé, vous n'avez pas le droit d'accéder à ce fichier"
6ErrorDocument 404 http://nogent94.com
7ErrorDocument 500 http://nogent94.com
8
9RewriteEngine On
10
11# BEGIN MailPress
12# RewriteEngine on
13# RewriteRule ^mail/analytics/([l|o])-([0-9]+)-([h|p])-([0-9a-zA-Z]+).html   wp-content/plugins/mailpress/mp-includes/action.php?tg=$1&mm=$2&co=$3&us=$4 [L]
14# END MailPress
15
16# BEGIN WordPress
17RewriteEngine On
18RewriteBase /
19RewriteRule ^index\.php$ - [L]
20
21# uploaded files
22RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
23
24RewriteCond %{REQUEST_FILENAME} -f [OR]
25RewriteCond %{REQUEST_FILENAME} -d
26RewriteRule ^ - [L]
27RewriteRule . index.php [L]     
28# END WordPress