
Originally Posted by
Engineerly
Was that .htaccess listing correct for you? I get a "500" server error. So besides substituting in your real domain name and subfolder as specified, did you have to change any of the syntax to get it to work?
Ron,
I pretty much followed what was shown in the linked posting and it worked a treat for me. Don't forget that you need to substitute your domain twice and your folder thrice (first five lives are for when there is a path specified and the last two for when its just the domain)...
Code:
# rule for a specific 'filepathname'
RewriteCond %{HTTP_HOST} ^(www\.)?myblogdomain\.com$
# exclude specific calls for the subfolder in question or for files or folders that exist in the root
RewriteCond %{REQUEST_URI} !^/wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /wordpress/$1
# rule for the domain root
RewriteCond %{HTTP_HOST} ^(www\.)?myblogdomain\.com$
RewriteRule ^(/)?$ wordpress/index.php [L]
As Early suggests, maybe LiveHelp can help you debug
Good luck
Art