Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Apache server

Mod_rewrite must be enabled on your server

  • Create a new file with name: .htaccess (no extension) in the root directory of phpFox site. 
  • Go to Admin CP, choose Short URLs from Settings menu. Copy auto-generate rule in this page and paste to .htaccess file.


  • Click to button "Enable Short URLs".
  • This rule works in most apache servers. If it does not work, you can try this rule:
.htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^index.php/(.*)$ [L]
  • If it still not working, you can submit a ticket, so we can check detail on your server

Nginx server

After follow this tutorial Install phpFox on nginx server, you just goto AdminCP -> Settings -> Short URLs, then click to button "Enable Short URLs".

 

  • No labels