![]() |
always "www" at the starting of the address
Hi,
i can visit my forum with and without adding WWW. i mean http://piratesboard.com & http://www.piratesboard.com but i want only : http://www.piratesboard.com (with WWW, always) i want, when someone go to address http://piratesboard.com it will autometically turn into http://www.piratesboard.com how can i do it. im using linux shared server with cPanel domain registered from yahoo |
Add this to your .htaccess file:
Code:
RewriteEngine On |
thank you very much :)
it is working fine |
Hello,
If you have access to your httpd.conf you can also do this in your apache config file: Quote:
-Raymond |
Actually, http://no-www.org/index.php
|
That's "no-www". The OP wants the "www". There used to be a site called "yes-www", but has since disappeared off the face of the planet.
|
lol Dismounted. ya there should be a yes-www
& tnx to all |
Quote:
|
Quote:
Creating A .htaccess File Creating a .htaccess file may cause you a few problems. Writing the file is easy, you just need enter the appropriate code into a text editor (like notepad). You may run into problems with saving the file. Because .htaccess is a strange file name (the file actually has no name but a 8 letter file extension) it may not be accepted on certain systems (e.g. Windows 3.1). With most operating systems, though, all you need to do is to save the file by entering the name as: Code:
".htaccess" |
All times are GMT. The time now is 06:59 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:
|