I am trying to create a Rewrite Rule in htaccess that will take a url such as
and rewrite it to
My server has recently been upgraded from Apache to LiteSpeed but according to the documentation it uses standard htaccess files (but without a performance hit)
The entire contents of the .htaccess file is as follows:
RewriteRule ^c/([^/\.]+)/?$ index.php?cx=$1 [L]
and I've tried it both in the root and in the public_html directory.
What I get is
404 Not Found
The resource requested could not be found on this server! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
Maybe I need a rewritecond but I don't know what that should be.
For someone who knows this may be a laughably simple question - but I've spent way to much time trying to figure it out on my own. A good answer is well worth the 500 points!