Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By CalonDdraig on
Hello!
Quick question on how to get Clean URLs working on my site again... I set the site up on a subdomain for testing... which went fine, and now I've moved my site to the main domain, Clean URLs don't work! I don't know why they dont as it was fine on teh subdomain... anyway, I dissabled Clean URLs, but when I run the test to find out if Clean URLs work, the page I get redirected to is just blank... any ideas? Has this anything to do with moving from the subdomain to the root domain - some setting screwed up? Any input on this would be appriciated!
Calon
Comments
I am not sure what kind of
I am not sure what kind of error you are getting. Something like page not found?
You could look in the .htaccess file that is placed in the root dir of your drupal installation.
Search for these lines:
Change the rewritebase to suit your needs. I hope this works for you.
Didn't work
All the errors I'm getting are standard server "page not found" pages. Changing the RewriteBase didn't work at all - same thing.
Edit:
I moved the .htaccess from my subdomain into the main site root directory - and that's worked a treat. Seems there's a lot of information in the drupal standard .htaccess file that wasn't in the root directory's .htaccess Must admit that it is a pretty complicated file
Calon