DRUPAL enable CLEAN URL

Asked

Viewed 540 times

0

Good Afternoon.

I migrated a website made in Drupal to the hostgator and now I can’t enable the Clean URL (Clean URL) option. Can anyone give me an idea of how to fix it? It’s probably some configuration on the Server, but I don’t know what to request for support.

inserir a descrição da imagem aqui

I tried to enable straight through the database, but it also did not work.

inserir a descrição da imagem aqui

1 answer

4


When you access the clean URL page, Drupal runs a test to see if you can use this option, taking into account the server settings. It is not interesting to change these options directly in the database (actually this is never interesting), since you will be ignoring any Drupal rules set in PHP. If the option to enable the clean URL is not active, it is likely that the server is not configured.

In this case you need to ask the system administrator to enable the Module rewrite Apache. They also need to allow the file .htaccess overrides server settings.

Normally the administrator would have already done this. It may be that the problem is due to some cache coming with the migration. If the server is already configured correctly, I suggest you try clearing the cache.

In this case,

  1. use the standard Drupal interface to disable clean Urls (/? q=admin/config/ and click on "clean Urls").
  2. clear the cache by accessing the address http://seusite/update.php.
  3. use the Drupal administrative interface to enable clean Urls again. If currently the option is not enabled, just ask the administrator to do the steps listed above.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.