Wordpress Permalinks

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 3
Joined: 19 Aug 2012, 19:23

Wordpress Permalinks

27 Dec 2012, 13:51

Hi,

I'd like some help with some conditions for redirecting...

http://subdomain.mysite.co.uk/my-page-title/

to

http://subdomain.mysite.co.uk/index.php/my-page-title/

I'm using the full version of ISAPI_Rewrite 3 with Wordpress 3.5

Currently I've tried...

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(\d+)/[^/]+/?$ index.php?p=$1 [NC,L]

but it has no effect.

Thanks in advance
ukwebguy

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Wordpress Permalinks

28 Dec 2012, 06:02

Hello,

there are 2 comments:

a)your current rule will work for subdomain.mysite.co.uk/1234/my-page-title/
b)ISAPI_Rewrite may not have sufficient permissions to browse the folders. Make sure IIS_WPG group has been granted List folder Content permissions. All the permissions are described here

Regards
andrew

User avatar
Posts: 3
Joined: 19 Aug 2012, 19:23

Re: Wordpress Permalinks

28 Dec 2012, 08:02

Thank you, Andrew,

I think I asked the wrong question... it should have been... Can you correct my rule so that instead of using...

http://subdomain.mysite.co.uk/index.php/my-page-title/

it uses

http://subdomain.mysite.co.uk/my-page-title/

Sorry about that.

kind regards
Rae MacLeman
--

User avatar
Posts: 3
Joined: 19 Aug 2012, 19:23

Re: Wordpress Permalinks

29 Dec 2012, 14:41

Solved, using a custom 404, redirecting to a handler script.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 48 guests