Pointing URL to sub-directory
-
I’ve read http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory and it all looked quite straightforward – but obviously not for me.
I’ve got wordpress in a subdirectory labelled wordpress.
I got the code
RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?YourDomain.com$ RewriteRule ^(/)?$ blog [L]
and I altered it to:
RewriteEngine On RewriteCond %{HTTP_HOST} ^(www.)?joe-music.net$ RewriteRule ^(/)?$ blog [wordpress]
but I’m getting a 500 error code – internal server error.
What have I got wrong?
(PS. I’ve put the original htaccess file back so the site looks normal at the moment. Site is http://www.joe-music.net and wordpress version is at http://www.joe-music.net/wordpress
Thanks for reading.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Pointing URL to sub-directory’ is closed to new replies.