How to turn http:// to http://www.

  • Shawn
  • Beginner
  • Beginner
  • Shawn
  • Posts: 62

Post 3+ Months Ago

How can I turn my website requests from http:// to http://www. automatically? Would it be a mod re-write? if so how?

Thanks,
Shawn
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

it's actually a dns configuration on the server. you can simply
change the A record (i believe) to point both versions of the url
to the same URL. That way when it resolves, it would show
www no matter what.
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

and check cM's post. heheh :lol: ;)
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA
  • ccb056
  • Graduate
  • Graduate
  • User avatar
  • Posts: 189

Post 3+ Months Ago

Code: [ Select ]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainname01\.com$ [NC]
RewriteRule ^(.*)$ http://www.domainname2.com/$1 [R=301,L]
  1. RewriteEngine On
  2. RewriteCond %{HTTP_HOST} ^domainname01\.com$ [NC]
  3. RewriteRule ^(.*)$ http://www.domainname2.com/$1 [R=301,L]
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Posts: 6376
  • Loc: twitter.com/unflux

Post 3+ Months Ago

digitalMedia wrote:
cM?

mistype - oops!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

UNFLUX wrote:
digitalMedia wrote:
cM?

mistype - oops!


I know it irks you like it does me, but perfection just can't be complete without a few mistakes you make on occasion. Only way good way I know of to learn and grow is correcting the mistakes!

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: No registered users and 65 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.