DRUPAL enable CLEAN URL

0

Good afternoon.

I migrated a Drupal website to the hostgator and now I can not enable the Clean URL option. Can someone give me an idea how to fix it? It should probably be some configuration on the Server, but I do not know what to request for support.

Itriedtoenabledirectbythedatabase,butalsodidnotwork.

    
asked by anonymous 07.07.2015 / 15:38

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 (in fact this is never interesting), since you are ignoring any Drupal rules established in PHP. If the clean URL enable option is not enabled, it is likely that the server is not configured.

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

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

In this case,

  • Use the default Drupal interface to disable clean URLs (/? q = admin / config / and click on "clean URLs").
  • Clear the cache by going to the link address.
  • Use the Drupal administrative interface to enable clean URLs again. If this option is not enabled at this time, simply ask the administrator to do the steps listed above.
  • 26.08.2015 / 21:44