跳到主要内容

Disable clean URLs - 知识库 / Deskpro Legacy - Deskpro Support

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

Disable clean URLs

作者列表

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/.

有帮助 没有帮助

99 人中 52 人认为这个页面有帮助

添加一条评论

请登录或注册以提交评论。

是否需要密码提醒?