Results 1 to 2 of 2
Threaded View
-
29th Jan 2011, 10:01 PM #2MemberWebsite's:
innovative-coding.com wolfs-rain.org wolfsrain.org infothread.orgRewriteCond %{HTTP_HOST} !^www\.[a-z-]+\.[a-z]{2,6} [NC]
RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$ [NC]
RewriteRule ^/(.*)$ http://%1/$1 [R=301,L]
?
im not 100% on what you want to do
or remove www
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
and always start your htacess with
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
redirect from non www to www
By ge0 in forum General DiscussionReplies: 3Last Post: 26th Sep 2012, 08:26 AM -
Redirect Help!
By comebacktome in forum Technical Help Desk SupportReplies: 1Last Post: 17th Mar 2011, 12:34 PM -
Adding Domain Error in cPanel (Error from park wrapper:)
By Ryza in forum General DiscussionReplies: 0Last Post: 20th Feb 2011, 01:57 AM -
Redirect your non www url's to www
By hhhgame in forum Tutorials and GuidesReplies: 11Last Post: 2nd Dec 2010, 03:22 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...