PDA

View Full Version : rewrite questions


gbr
01-07-2008, 10:07 AM
Hi,

I had Wordpress running under Apache, which I've recently moved to LiteSpeed (and I'm happier for it!)

Under apache, everything sat at http://domain/wordpress. Under litespeed, everything now sits at the root folder.

for example http://domain/wordpress/about is now at http://domain/about.

How would I tell litespeed to redirect anything to /wordpress/ to /?

Gerald

mistwang
01-07-2008, 10:16 AM
Just add a Redirect context if you were using native LiteSpeed configuration.
Or a "Redirect", or a regular rewrite rule in .htaccess

gbr
01-07-2008, 10:36 AM
Thank-you! I was looking at the rewrite rules in .htaccess as well as the rewrite tab on the virtual host. Using the context redirect works fantastic!

Gerald