I have Wordpress installed in a subdirectory:
/public_html/blog/
I want to have access to the blog as follows:
http:
and posts like this:
http://example.com/blog/category/postname
In general settings, I have a "WordPress Address (Address)" set to:
http:
A permalink is set as follows:
/blog/%category%/%postname%
In a subdirectory (/ public_html / blog /) I have .htaccess like:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
Everything works EXCEPT for access to the blog Homepage at:
http://www.example.com/blog
Doing this sends me to the page "Wordpress 404 Page Not Found".
I will be very grateful for the decision!
EDIT
I'm an idiot - I missed something vital. I also needed to change the site URL in Wordpress> General for:
http:
, // permalink . , , @IanB /blog/bit, . ...