Help! Rewrites keep going to homepage!

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 2
Joined: 10 Oct 2012, 16:11

Help! Rewrites keep going to homepage!

20 Oct 2014, 14:13

Hi All,

Ok, so all was working last week, we had a customer who put up a new site and wanted to have http://domain/menu heading/pagename.
It wasn't working until I installed the full version of Isapi Rewrite 3 and it worked ok.
Now, Monday, it does work and all sites using rewrites go to the homepage all the time.
The sites are running on IIS6.

The .htaccess code is:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/wp-admin/.*
RewriteRule .* /index.php [L]

Any help much appreciated!

User avatar
Posts: 871
Joined: 12 Mar 2012, 09:54

Re: Help! Rewrites keep going to homepage!

21 Oct 2014, 03:20

Hello,

What is the permalink pattern you use?

Please try to fix the config like this:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/wp-admin/.*
RewriteRule (.*) /index.php/$1 [L]

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 9 guests