Subscribe
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/test/.*
RewriteRule ^(.*)$ /test/index.php?q=$1 [L,QSA]
RewriteEngine on
RewriteBase /test
# Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
... etc ...
grep -r 'youroldsitedomain.com' *
RewriteBase line in your .htaccess file. The issue is intimately related to Clean URLs. You should be able to test this by using the 'non-clean' URLs for a bit -- or example, trying http://www.example.com/test/?q=admin/settings/clean-urls and turning them off.RewriteBase, probably to RewriteBase /test
.htaccess that comes with Drupal should be fine, with the change above. As long as your Apache installation has mod_rewrite loaded you should be ok.You are not logged in, either login or create an account to post comments
Add this line:
RewriteCond %{REQUEST_URI} !^/(test|test/.*)$before the RewriteRule.posted by zsazsa at 2:04 PM on April 10