.Htaccess settings required for addon module SEO URL's

The WHMCS Pages addon module requires a little configuration of your web server if it is to use seo urls. Your server must also support mod_rewrite, this is usually activated but if you experience problems getting it to work please contact your host to make sure it is enabled.

This is very simple and only requires basic FTP skills and copy/paste.

Simply find the .htaccess file in the root of your WHMCS folder.

This is a hidden file so make sure you have allowed viewing hidden files in your ftp program.

If its not there create it.

Then add the following code block:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php?m=pages [L]

NOTE: if your site is installed in a sub directory the code changes slightly. To work out the correct code login to your site and add the seo URL base folder name to the module config and save the changes. Once this is done you can navigate to the module page and hit the configure seo Urls link in the sidebar. The code needed for the .htaccess file will have been updated to reflect the seo URL base and this is the code you need to add to our .htaccess file.

Thats all there is two it assuming the addon module is activated in your WHMCS admin area.

Was this answer helpful?

 Print this Article

Also Read

Addon Upgrade Instructions

Upgrading one of No Half Pixels addon modules for WHMCS is quite straight forward and only...

Migrating custom templates from pre 1.5.2 to new structure

Pre version 1.5.2 the content for the page was evaluated by smarty to replace template variables...

Detecting module generated pages in WHMCS Templates

Sometimes simply generating pages using the WHMCS Pages module is not enough, you may want to...

Managing Templates

The WHMCS Pages module uses its own custom template files. These are inserted in between the...

Viewing the RSS Feed

As of V1.5.0 the pages module now creates an RSS feed of all the pages created.This Feed is added...