Yup. A simple .htaccess file uploaded to /blog/ has done the trick.
The file reads:
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
# If requested resource does not exist as a file
RewriteCond %{REQUEST_FILENAME} !-f
# and does not end with a period followed by a filetype
RewriteCond %{REQUEST_URI} !..+$
# and does not end with a slash
RewriteCond %{REQUEST_URI} !/$
# then add a trailing slash and redirect
RewriteRule (.*) $1/ [R=301,L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now when a visitor goes to my homepage they get RoR, but when they go to /blog/ they get WordPress
Thanks for your guidance Arlen. It is very much appreciated.
Bookmarks