Skip to main content

Disable clean URLs - Knowledgebase / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. Consider upgrading to Deskpro Horizon

Disable clean URLs

Authors list

Problem: You have enabled the "clean URLs" option that requires URL rewriting, such as Apache's mod_rewrite, but URL rewriting has stopped working and you cannot access the admin interface to turn it off. For example, if you've moved servers and the new server does not have mod_rewrite enabled.

 

Solution

You can disable the "clean URLs" option by adding a new line to the end of your /config.php:

 

$DP_CONFIG['rewrite_urls'] = false;

 

After you've done this, you will be able to use the system through the normal /index.php/ URL. For example, you can get to the admin interface via /index.php/admin/.

Helpful Unhelpful

52 of 99 people found this page helpful

Add a comment

Please log in or register to submit a comment.

Need a password reminder?