Graphic Design Forum and Web Design Forum  

Go Back   Graphic Design Forum and Web Design Forum »Other Design Topics »Graphic Design Tutorials

Notices

Graphic Design Tutorials Graphic Design and Web Design Tutorials and reference section


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-04-2008, 02:46 AM
skunkbad's Avatar
Member
 
Join Date: Apr 2008
Location: Temecula, California, USA
Posts: 94
Default rewrite non-www to www + shared ssl

Many tutorials on rewriting non-www to www, but remember if you have any shared ssl that you need to account for that in your rewrite. This is the rewrite conditions and rule I am using:
Code:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.brianswebdesign\.com [NC]
RewriteCond %{HTTP_HOST} !^secure30.inmotionhosting.com [NC]
RewriteRule ^(.*) http://www.brianswebdesign.com/$1 [L,R=301]
__________________
Brian's Web Design - Temecula
Digg this Post!Add Post to del.icio.usBookmark Post in Technorati Share This Article & VoteReddit! Wong this Post!Stumble this Post!RSS Share on FacebookForum Netvibes Page
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
i9H: Free Reseller / Shared cPanel Hosting. Free Domain Included! - i9host.NeT i9host Advertising Forum 1 03-10-2007 12:47 PM


All times are GMT. The time now is 02:17 PM.



Estetica Design Forum's Privacy Policy
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC5