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 hsimard on
The server has the mod-rewrite up and running and still cannot make the CleanURL to work. My question is why Drupal isn't utilizing that RewriteBase correctly?
Comments
First thing, have you enable
First thing, have you enable Clean URL from Drupal admin ? If so, what you would like to do Clean URL ?
I went to administration >
I went to administration > Search and Meta Data > Clean URLs.
I ran the the clean URL test and it came up negative. I checked with my hosting company and the original question is from them. Not a developer here so any help is appreciated.
There's a long discussion of
There's a long discussion of quite a few issues that can come up when enabling Clean URLs here:
https://www.drupal.org/getting-started/clean-urls
This is not really a module development question; you might want to move it to the Post Installation forum at https://www.drupal.org/forum/22
============================
Resonetrics: Better Tools for Building Brands
http://resonetrics.com
http://technologyformarketers.com
http://kittenassociates.org
http://www.linkedin.com/in/sammooreatresonetrics
Fixed
I inserted this into my .httaccess
# Pass all requests not referring directly to files in the filesystem to
# index.php. Clean URLs are handled in drupal_environment_initialize().
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^ /index.php [L]