Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have wordpress installed in a subdirectory of the root. I have followed the instructions provided to put index.php in root and create appropriate htaccess file. Site is up and running. Can access as expected from all sources except one.

The site was previously an html static site with default.htm as the home. I have found that in instances where the link to the old site was , if followed it takes me to the 'not found' page. No problem, added redirect for /default.htm to . It ends up in a redirect loop. Tried all sorts of changes to this basic redirect code and get no good results. I think the bug is coming from the wordpress suggested htaccess code for subfolder installation of

# 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]

# END WordPress

Have searched high and low and cannot come up with a solution. I even put a default.htm file back in root with a redirect to index.php and got stuck in the same redirect loop.

Any clues would be much appreciated. Thanks.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.