Wordpress site help!!

ISAPI_Rewrite is Apache mod_rewrite compatible URL rewriter for Microsoft IIS
User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Wordpress site help!!

25 Jul 2013, 09:04

I have a 2003 server with IIS6. Wordpress 3.5.2 Here is issue:

Set up website and as per usual with IIS6, pretty URL's don't work. I installed ISAPI_Rewrite 3.0 (Trial until we verify it works then will purchase license).

No matter what link I click, it always goes to 'Home' page.
Permalink is set to custom /%category%/%postname%

httpd.conf is empty, .htaccess has the following:

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.101

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

I have tried different settings based on different blogs, but nothing seems to work. Any ideas please??

Website is www.christiescare.com I will be leaving it up until I find a solution, or end of day when I will put old site back (until tomorrow when I will try again)

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

Re: Wordpress site help!!

25 Jul 2013, 10:14

Hello,

Here's an article that has proven to work - http://www.helicontech.com/articles/isa ... wordpress/
Your issues might be related to: a) permissions - http://www.helicontech.com/isapi_rewrit ... nstall.htm b) you may have a third party software installed like PLESK, ColfFusion, SiteCOre, etc. Do you have any of these installed?

Regards
Andrew

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 10:31

I have no 3rd party software added. I tried the link you sent before I did anything else. No go. As far as I can see, permissions are fine. It has to be something simple as I have a very vanilla install. I just don't know what it is.

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

Re: Wordpress site help!!

25 Jul 2013, 10:48

"When in doubt - use logs." (c)

Please, enable logging and lets take a look at the testing request you're making. Logging issues are described in FAQ - http://www.helicontech.com/forum/10648-FAQ.html

Regards
Andrew

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 10:59

Ok, went through it, got log files. It gave me the forbidden page when I went through to see if it worked, so that is good! Do I put entries from log files in here?

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

Re: Wordpress site help!!

25 Jul 2013, 11:10

You can. If you have concerns about revealing some info about the site, you can either remove the first part of each line(it's easy to replace it in notepad) or you can shoot us an email with the log. DOn't forget to clean rewrite.log, save it, run a testing wordpress request and only then send us the log. Or it'll be too long.

Regards
Andrew

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 11:16

Hope this isn't too much :o


93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (2) init rewrite engine with requested uri /index.php
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (1) Htaccess process request d:\home\default\christiescare.com\htdocs\.htaccess
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (3) applying pattern '^index\.php$' to uri 'index.php'
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (1) Rewrite URL to >> /index.php
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (2) rewrite 'index.php' -> '/index.php'
93.152.16.45 93.152.16.45 Thu, 25-Jul-2013 15:15:06 GMT [www.christiescare.com/sid#972442513][rid#21899224/initial] (2) internal redirect with /index.php [INTERNAL REDIRECT]

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 11:18

Actually, looks useless to me, all the slider stuff is on home page, and home page is only one that works properly. Maybe it will show you something

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 11:21

here is one that shows just a request to another page. This may be more useful? And MUCH shorter

(2) init rewrite engine with requested uri /about-us
(1) Htaccess process request C:\Program Files\Helicon\ISAPI_Rewrite3\httpd.conf
(1) Htaccess process request d:\home\default\christiescare.com\htdocs\.htaccess
(3) applying pattern '^index\.php$' to uri 'about-us'
(3) applying pattern '.' to uri 'about-us'
(4) RewriteCond: input='D:\home\Default\christiescare.com\htdocs\about-us' pattern='!!-f' => matched
(4) RewriteCond: input='D:\home\Default\christiescare.com\htdocs\about-us' pattern='!!-d' => matched
(1) Rewrite URL to >> /index.php
(2) rewrite 'about-us' -> '/index.php'
(2) internal redirect with /index.php [INTERNAL REDIRECT]

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

Re: Wordpress site help!!

25 Jul 2013, 11:37

Conclusions:

a) ISAPI_Rewrite is working as expected
b) .htaccess is read and there's no problem with permissions(as the rules are processing the requests)
c) need to tweak the rules

Please, try using the rule provided to you in the article for /post_id/post_name:
Code: Select all
RewriteEngine on
RewriteBase /

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


or the following for the post_name:

Code: Select all
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [NC,NS,L]


This is about some settings in IIS or wordpress that give you headache.

Regards
Andrew

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 11:46

Still no go :( . I don't understand why if you select 'about-us' page, it is redirecting it back to index.php?

Also, should there be anything in the httpd.conf file

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

Re: Wordpress site help!!

25 Jul 2013, 11:57

Whatever you put in httpd.conf will be applied to he whole server and will affect all the sites. In your case .htaccess is the way.

Shoot us an email. We'll be able to help you remotely via RDP.

Regards
Andrew

User avatar
Posts: 8
Joined: 25 Jul 2013, 08:53

Re: Wordpress site help!!

25 Jul 2013, 12:04

Email sent. Hope we can fix, boss back tomorrow and I made company buy program lol.

Return to ISAPI_Rewrite 3.0

Who is online

Users browsing this forum: No registered users and 20 guests