![]() |
How to redirect site.com to www.site.com?
As the title says... How to redirect site.com to www.site.com?
How would I go about doing this? my site is www.fragtoss.com so how would I make it so that when people type fragtoss.com it sends them to www.fragtoss.com ? Thanks. |
That's something that will happen automatically when ppl will type fragtoss.com their browser will automatically take them to your homepage with as http://fragtoss.com
|
Well since I'm asking how to do it, it's obviously not happening :)
|
what server your website is hosted on ?? Windows / Linus ? i can try to help u once i know that or u can do that on ur own by redirecting 301 nonwww to www url. u can search for .... 301redirect also on ur own if u want.
|
mine is linux
|
You can use htaccess to do this;
http://snippetdb.com/htaccess/add-www very very very very useful little file, capable of tons of great stuff. If you've never used it before, visit http://www.askapache.com/ for usage and examples. |
So where should I place...
Code:
RewriteEngine On Code:
# Comment the following line (add '#' at the beginning) |
You only need to use the 'RewriteEngine On' once, and you can stick that extra bit anywhere underneath it. Something like this;
Code:
RewriteEngine On |
bro..why are you ppl telling this man such a complicated answer to an easy question.
Login to your host cpanel (not your vbulletin cpanel but your actual cpanel) , navigate to where you see redirects, then just add it there. |
Not every host has cpanel. I don't.
How on Earath is adding 2 lines of code into a pre-existing file considered complicated? If anyone has trouble with this, then installing mods or editing templates is gonna be quite a challenge. Besides, htaccess is a feather in any webmaster's cap. |
All times are GMT. The time now is 06:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|