htaccess half there
-
gday there!
i have what i think is a simple problem, but it might generate a loop, im not entirely sure. so here we go.
ive followed the guide here on having wordpress blog as my front page. link nere
it all works PERFECTLY. except for one thing.
https://mysite.com is correctly accessing the mysite.com/blog directory.
BUT when a user inputs
manually, i get a 404. which, ideally, should not happen, the user should be able to use that link fine. now here is the kicker. when the user inputs
https://mysite.com/blog/index.php
manually, the site works perfectly again. all other links such as categories and such work fine.
obviously, this is quite annoying.
here is a sample tree structure.
\public_html
|
|— .htaccess
|—- index.php
|—–\blog
|
|—index.phpthe contents of my only .htaccess file is as follows:
ErrorDocument 404 /404.php #BEGIN WordPress <IfModule mod-rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME !-f RewriteCond %{REQUEST_FILENAME !-d RewriteRule . /index.php [L] #END WordPress
thank you for any help that you can give to this frustrating problem.
- The topic ‘htaccess half there’ is closed to new replies.