I have a website reached from this url:
being served from this directory:
In public_html I have this .htaccess
RewriteRule (.*) cms/$1 [L]
Which lets me get to the site like this:
But now if I reference the 'old' address, I'd like to redirect to the rewritten address with a permanent redirect code.
http://www.mysite.com/cms/?q=node/1 is redirected to... http://www.mysite.com/?q=node/1
How can I make this happen?
EDIT: Also in the .htaccess file supplied with Drupal(cms), this is written. I've tried enabling it, but it doesn't seem to have any effect.
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a # VirtualDocumentRoot and the rewrite rules are not working properly. # For example if your site is at http://example.com/drupal uncomment and # modify the following line: # RewriteBase /drupal
EDIT: Including more of my .htaccess file - seems relevant.