Wordpress permalinks error
2 posts
• Page 1 of 1
Wordpress permalinks error
Hi,
Having issues trying to activate permalinks on wordpresse.
ISAPI REWRITE Rules:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
We currently have issues with categories.
Permalinks setup: /%post_id%/%category%/%postname%
Do you have any idea or such rules that works fine with IIS/ ISAPI Rewrite/ Wordpress
Ah IIS 8.
Thanks
Mehdi Blagui
Having issues trying to activate permalinks on wordpresse.
ISAPI REWRITE Rules:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
We currently have issues with categories.
Permalinks setup: /%post_id%/%category%/%postname%
Do you have any idea or such rules that works fine with IIS/ ISAPI Rewrite/ Wordpress
Ah IIS 8.
Thanks
Mehdi Blagui
Re: Wordpress permalinks error
Please try to modify rules as follows:
Also I would suggest to use Helicon Ape for IIS 8 instead of ISAPI_Rewrite as it is much more featured and has better Apache compatibility - http://www.helicontech.com/ape/doc/compatibility.htm
With Ape your rules would work without modifications.
- Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_X_REWRITE_URL} (.+)
RewriteHeader X-Original-URL: (.*) %1
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Also I would suggest to use Helicon Ape for IIS 8 instead of ISAPI_Rewrite as it is much more featured and has better Apache compatibility - http://www.helicontech.com/ape/doc/compatibility.htm
With Ape your rules would work without modifications.
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 21 guests