Hi there,
Getting a bit confused with what’s needed in the default .htaccess file that goes in the root of the site.
Should it reflect the root? or the sub-directory where the actual wordpress site is located?
So if my sub-directory wp install is in a folder called ‘myphotosite’, should it be this?…
# BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress
or this, in the root?
# BEGIN WordPress RewriteEngine On RewriteBase /myphotosite/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /myphotosite/index.php [L] # END WordPress
Many thanks, j