Communitay de Humptay
Lots of jibba jabba

Subdomain Redirection Exclusion

rated by 0 users
This post has 1 Reply | 0 Followers

Top 100 Contributor
Posts 1
offerlab Posted: Wed, Mar 21 2007 5:25 AM

I'm converting from WordPress to CS 2.1. I'm not a huge regular expression guru.

I need the subdomain module to redirect all subdomains EXCEPT www to /blogs/<user>

 Can I do this with the subdomain module and what would the configuration for this setup look like?

 

Top 10 Contributor
Posts 592
Humpty replied on Thu, Mar 22 2007 10:31 PM

Can you try the following <subdomain> entry, just change the mydomain.com part to your domain:

<subdomain domain="^(?!www)(.*)\.mydomain\.com" path="/blogs/$1" isPattern="true" />

Page 1 of 1 (2 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems