We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

redirection: with www -> without www | Forum

Zenon Ziebiewicz
Zenon Ziebiewicz Aug 2 '13
hi,

in oxwall there is implemented redirection

without www -> with www


i have aded to .htaccess:

RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]

RewriteRule ^(.*)$ http://%1/$1 [R=301,L]


but i got redirection loop,

where is that default redirection to turn it off?


thx :) 

The Forum post is edited by Zenon Ziebiewicz Aug 2 '13
Daisy Team
Daisy Aug 7 '13
Zenon, try to change the 'OW_URL_HOME' value from http://sitename.com/
to
http://WWW.sitename.com/

in /ow_includes/config.php
The Forum post is edited by Daisy Aug 7 '13
Zenon Ziebiewicz
Zenon Ziebiewicz Aug 8 '13
works, thx ;)
Daisy Team
Daisy Aug 8 '13
You are welcome.