Force enable clean url in drupal 7
Force enable clean URL in drupal 7
THE clean URL state is managed through the Drupal variable clean_url.
- clean url disabled: clean_url is 0
- clean url enabled: clean_url is 1
You can force this value by:
- Using Drush
drush vset clean_url 1
- Using a direct SQL query
UPDATE variable SET value=1 WHERE name='clean_url';
- Force a value in settings.php
$conf['clean_url'] = 1;
Post a Comment