• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to remove the .Php on LiteSpeed?


My using XenForo for my forums and i want to know how to get the .Php to go away.

I use the LiteSpeed Web Server and there does not seem to be anything listed on how to remove the .Php

Chris D

XenForo developer
Staff member
As far as I am reading, LiteSpeed fully supports Apache mod_rewrite rules and .htaccess files.

With that in mind, you will notice there is a htaccess.txt file in the root of your XF installation.

Rename this to .htaccess

In XenForo > Admin CP > Options > Search Engine Optimisation : Set Full Friendly URLs to On.

If this doesn't work, change it back to Off and rename the .htaccess file to htaccess.txt