How to enable clean URLs in PHPFox

Review on how to enable clean URLs on your PHPFox website

Throughout this tutorial, we will review the process of enabling clean URLs on your PHPFox website. This is a good feature as it will improve the SEO for your website. To enable clean URLs, you need to complete the following steps.


Step 1 Configuration file

The first step of the process is to edit the main configuration file of your PHPFox website. Access the file and locate the following line:


$_CONF(‘core.url_rewrite’] = ‘2’;


and then change it to:


$_CONF(‘core.url_rewrite’] = ‘1’;



Upload Files

There are two ways of accessing your files to the server - using an FTP client, following our FTP tutorial, or access files directly through your cPanel account > File Manager, following our cPanel tutorial. Also, you can review our tutorial on how to locate and edit PHPFox Configuration file.


Step 2 Edit htaccess file

The next step is to rename the htaccess.txt file, which is located within the folder, where you have installed PHPFox. You simply need to rename it to .htaccess and make sure that you do not forget the dot (.) before the name of the file.