Wordpress Permalinks
4 posts
• Page 1 of 1
- raemacleman
- Posts: 3
- Joined: 19 Aug 2012, 19:23
Wordpress Permalinks
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
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
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Wordpress Permalinks
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
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
- raemacleman
- Posts: 3
- Joined: 19 Aug 2012, 19:23
Re: Wordpress Permalinks
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
--
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
--
- raemacleman
- Posts: 3
- Joined: 19 Aug 2012, 19:23
Re: Wordpress Permalinks
Solved, using a custom 404, redirecting to a handler script.
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 48 guests