
- As a result of 85e100c removed reference to the PrettyURLs plugin from the setup language files. - The PrettyURLs panel now contains a note on the server software used
22 lines
738 B
Plaintext
22 lines
738 B
Plaintext
AddType application/x-httpd-php .php .htm .html
|
|
Options -Indexes
|
|
|
|
<IfModule mod_rewrite.c>
|
|
RewriteEngine On
|
|
RewriteBase /your_subdirectory/
|
|
|
|
# Protects the .htacces file from external access, status code 403 "Forbidden" is output
|
|
#RewriteRule ^\.htaccess$ - [F]
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule . /your_subdirectory/index.php [L]
|
|
|
|
#RewriteRule ^entry([0-9]{6})-([0-9]{6})/$ ./index.php?entry=entry$1-$2 [L]
|
|
#RewriteRule ^comments([0-9]{6})-([0-9]{6})/$ ./comments.php?entry=entry$1-$2 [L]
|
|
#RewriteRule ^.+/comments/$ ./comments.php [L]
|
|
#RewriteRule ^([a-zA-Z0-9_-]+)/$ ./static.php?page=$1 [L]
|
|
#RewriteRule ^(.+)/$ ./blog.php [L]
|
|
|
|
#RewriteRule ^index\.html$ index.php [NC,R]
|
|
</IfModule> |