ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

.htaccess rewrite rules

August 23, 2012 10:04am

Subscribe [1]
  • #1 / Aug 23, 2012 10:04am

    stubear

    114 posts

    I don’t know why I never thought of doing this, perhaps because my .htaccess-fu sucks, but I would like to be able to use .htaccess to redirect users from a subdomain/site to site.domain.com. For instance, my directory structure might be clients.domain.com/client_name/html/index.php and I would like .htaccess to rewrite this to client_name.domain.com.index.php. The closest I’ve gotten this to work causes a redirect loop. Any suggestions as to how I might accomplish this?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases