.htaccess on ISS Helicontech ISAPI ReWrite
9 posts
• Page 1 of 1
- woodsielord
- Posts: 5
- Joined: 14 Jan 2013, 21:28
.htaccess on ISS Helicontech ISAPI ReWrite
I installed a multisite WordPress, but it turns out I have to use some .htaccess configuration other than what WP advises me to. I took the advice of dozens of threads on this site and WP's (which, admittedly, amounts to copying and pasting htaccess or web.config setups that worked for others--I know, a poor strategy), but I end up with either a 404 or an infinite redirect.
I consulted with my host too, and they redirected me to here. I'm really in over my head.
I just want a simple, 6 page site that has to be the WP theme my boss picked, and in 2 languages. I am at my wit's end--also the night is about to end!--and I have to face my boss in a few hours. I don't care how the URLs appear, I don't care if I have to reinstall anything, I just need this thing working on 1 database (all I have access to) and in 2 languages.
Is there an easy way to do this?
The WP advised .htaccess is:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) D:\vhosts\uluslararasisporzirvesi.com\http/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ D:\vhosts\uluslararasisporzirvesi.com\http/$2 [L]
RewriteRule . index.php [L]
Thank you so much in advance.
I consulted with my host too, and they redirected me to here. I'm really in over my head.
I just want a simple, 6 page site that has to be the WP theme my boss picked, and in 2 languages. I am at my wit's end--also the night is about to end!--and I have to face my boss in a few hours. I don't care how the URLs appear, I don't care if I have to reinstall anything, I just need this thing working on 1 database (all I have access to) and in 2 languages.
Is there an easy way to do this?
The WP advised .htaccess is:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) D:\vhosts\uluslararasisporzirvesi.com\http/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ D:\vhosts\uluslararasisporzirvesi.com\http/$2 [L]
RewriteRule . index.php [L]
Thank you so much in advance.
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: .htaccess on ISS Helicontech ISAPI ReWrite
Hello,
Here's a time proved article that did a lot of good.
Also make sure the permissions are ok.
If not - pls, provide the rewrite.log for the testing request.
Regards
Andrew
Here's a time proved article that did a lot of good.
Also make sure the permissions are ok.
If not - pls, provide the rewrite.log for the testing request.
Regards
Andrew
- woodsielord
- Posts: 5
- Joined: 14 Jan 2013, 21:28
Re: .htaccess on ISS Helicontech ISAPI ReWrite
Hi Andrew,
That was the first article I looked at, linked via a post from the old forums. I started by setting the permalinks as stated. Sadly, there's so much monkeying and mimicking one can do when completely clueless about the syntax and operating principles of what one is doing.
I tried inserting that rewrite code in WP's suggested .htaccess a number of ways, to no avail.
I only dabbled in simple html or editing some if/elses into somebody else's php before. I'm not exaggerating when I say I'm in over my head.
I don't think I can see server-side permissions, or can generate or copy a log. All I have access to is the FTP, and a single db myphpadmin.
Any hope?
That was the first article I looked at, linked via a post from the old forums. I started by setting the permalinks as stated. Sadly, there's so much monkeying and mimicking one can do when completely clueless about the syntax and operating principles of what one is doing.
I tried inserting that rewrite code in WP's suggested .htaccess a number of ways, to no avail.
I only dabbled in simple html or editing some if/elses into somebody else's php before. I'm not exaggerating when I say I'm in over my head.
I don't think I can see server-side permissions, or can generate or copy a log. All I have access to is the FTP, and a single db myphpadmin.
Any hope?
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: .htaccess on ISS Helicontech ISAPI ReWrite
Hm....
the situation you describe can be compared to the blind man trying to identify the painting by touch. It's hard to find what you're doing wrong without the logs.
Can you describe what is going on after you created permalinks? What happend with the URL after you enable the .htaccess file as described in the article?
Please, provide examples of the URLs.
Regards
Andrew
the situation you describe can be compared to the blind man trying to identify the painting by touch. It's hard to find what you're doing wrong without the logs.
Can you describe what is going on after you created permalinks? What happend with the URL after you enable the .htaccess file as described in the article?
Please, provide examples of the URLs.
Regards
Andrew
- woodsielord
- Posts: 5
- Joined: 14 Jan 2013, 21:28
Re: .htaccess on ISS Helicontech ISAPI ReWrite
A good place to start would be uluslararasisporzirvesi.com/en/wp-admin (as opposed to uluslararasisporzirvesi.com/wp-admin). When I went with what WordPress suggested, I was getting a 404. By following a few suggestions you have made in the old forums, I got the redirect problem, which is slightly more promising
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: .htaccess on ISS Helicontech ISAPI ReWrite
What do you mean by redirect problem?
And what did you do to overcome previous issues?
Regards
Andrew
And what did you do to overcome previous issues?
Regards
Andrew
- woodsielord
- Posts: 5
- Joined: 14 Jan 2013, 21:28
Re: .htaccess on ISS Helicontech ISAPI ReWrite
uluslararasisporzirvesi.com/en/wp-admin results in too many redirects. I got to this point by using /%postname%/ permalinks and injecting this .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* /index.php [L]
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: .htaccess on ISS Helicontech ISAPI ReWrite
There's no redirects in your rules, so it's smth else.
Also, you may try to insert /en/ in front of the /index.php in the rule.
Regards
Andrew
Also, you may try to insert /en/ in front of the /index.php in the rule.
Regards
Andrew
- woodsielord
- Posts: 5
- Joined: 14 Jan 2013, 21:28
Re: .htaccess on ISS Helicontech ISAPI ReWrite
That not only resulted in a 404 for en/wp-admin, but broke the site links as well. I ended up getting another domain, and installing the English site to that.
Thank you for your help, Andrew. You are a saint even for trying with so little to go on!
Thank you for your help, Andrew. You are a saint even for trying with so little to go on!
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests