Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2010-01-05 23:15:15

maxvoltar
Member
From: Machelen, Belgium
Registered: 2007-08-16
Posts: 76
Website

Re: Rewrite rule for subdomain.domain.com/anything => domain.com/anything

Els: I get this message in both cases:

Too many redirects occurred trying to open “http://2009.maxvoltar.com/articles/url-abc”. This might occur if you open a page that is redirected to open another page which then is redirected to open the original page.

Graeme: Thanks a lot, putting your snippet of code above RewriteCond %{REQUEST_FILENAME} -f [OR] made it work! Go to http://maxvoltar.com/articles/the-broken-watch for a test!

Thanks all :)

Last edited by maxvoltar (2010-01-05 23:15:57)


Textpattern projects: Maxvoltar, Made by Elephant, Twunch

Offline

#17 2010-01-05 23:17:34

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Rewrite rule for subdomain.domain.com/anything => domain.com/anything

Well, that’s one answer to my question: Graeme’s rule works in your special case and mine doesn’t ;)

Offline

Board footer

Powered by FluxBB