• mhblatt

    (@mhblatt)


    I installed wordpress on /index/. I want to have the WordPress file at domain.com/index load when people go to domain.com.

    I read that you can copy your index.php file and .htaccess file to the root. But my WordPress didn’t have any .htaccess files created.

    Then I wrote a text file and uploaded it as .htaccess to the root with this text:

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

    It still didn’t work, so I added, this .htaccess file to /index/:

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

    It still doesn’t load index. Going to http://www.domain.com just loads a blank white page.

    Now I go to WordPress.org help forum after failing.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress on /index Not Working, .htaccess Not Working’ is closed to new replies.