FAQ - CMS and htaccess (Seo)

CMS and htaccess (Seo)

10484


If you server is running on Apache you can use the build in optimisation for short url's. This gives you the possibilities to have shorter and cleaner URL's and a better search engine performance.

To use the build in SEO in CMS you need to do two things, first open the db.php file and set following definition:

define('JAK_USE_APACHE', 1);

Then upload the .htaccess file provided in the download package or create your own with following content:

RewriteEngine ON

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]

ErrorDocument 404 /404/


order deny,allow
allow from none
deny from all

Upload both files into the correct location .htaccess needs to be in the root directory and enjoy the apache version of CMS.