URL rewrite from www.domain.com/sudirectory to http://domain.com/subdirectory
- by chrizzbee
I need a solution for the following problem:
I use a CMS and want the backend only be available at http://domain.com/backend and not at http://www.domain.com/backend.
How do I have to change my .htaccess file to achieve this? I already have a rewrite rule from HTTP (non-www) to www.
Here's what I currently have in my .htaccess file:
##
#…