Go Back   vBulletin Setup > General Forums > General Discussion


Please Register to get full access to the forums.
Post New Thread  Reply



#1   04-24-2007, 04:40 AM
ARealRedneck is a jewel in the roughARealRedneck is a jewel in the rough Join Date: Dec 2006 Posts: 797 Location: KY
How do I add www to this?


Ok, so I started another new blog yesterday and I want to add www to it, so how do I do it?

http://unitedradiooperators.com/truc...industry-news/
--------------------
Jason / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Do not PM me asking for help with your forum, this is what the forum is for.
Truck Drivers and the Industry

Quote   |  



#2   04-24-2007, 06:35 AM
Send a message via AIM to Brandon Send a message via MSN to Brandon Send a message via Yahoo to Brandon Brandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of lightBrandon is a glorious beacon of light Join Date: Jul 2006 Posts: 9,827 Location: Topeka, KS
Re: How do I add www to this?


uh,, type it with www. added ;)
--------------------
Brandon Sheley / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.

Please do not PM me for support, that's what the forums are for.
Have you heard about Crowdgather?
Find it on Forums


Stay up to date by installing our Tool Bar
Quote   |  



#3   04-24-2007, 07:10 AM
ARealRedneck is a jewel in the roughARealRedneck is a jewel in the rough Join Date: Dec 2006 Posts: 797 Location: KY
Re: How do I add www to this?


Quote:
Originally Posted by Brandon View Post
uh,, type it with www. added ;)
Yea.......but it won't stay if you refresh the page......duh

How do I add the www, so it stays all the time....help me out here, I know you can do it I just don't remember how.

EDIT: I just went and checked and yea if you just type it in there it works, but if you leave and come back it does not show up. I want it to show up all the time..
--------------------
Jason / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Do not PM me asking for help with your forum, this is what the forum is for.
Truck Drivers and the Industry


Last edited by ARealRedneck; 04-24-2007 at 07:13 AM.
Quote   |  



#4   04-24-2007, 08:29 AM
AzzidReign has a spectacular aura about Join Date: Mar 2007 Posts: 78
Re: How do I add www to this?


You'll need to use your htaccess file to set it up like that. Also, if you have sitemaps, use Google sitemaps and in it has the options about how you would prefer to show your site: with www, or without www.

But you'll have to look into how to edit your htaccess file to get www to show up. I know I had that problem with my site, but then I used vBSEO and it seems to have taken care of it.
Quote   |  



#5   04-24-2007, 09:26 AM
ARealRedneck is a jewel in the roughARealRedneck is a jewel in the rough Join Date: Dec 2006 Posts: 797 Location: KY
Re: How do I add www to this?


Here is how I did it for my homepage and forum

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.yourwebsite\.com [NC]
RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [L,R=301]
</IfModule>
The blog I started yesterday runs off the same .com as my home page and forum

But when I installed wordpress I changed the permalinks and had to change the .htaccess file (which it did not have one so I created one and stuck in there:

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /truck-driver-industry-news/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /truck-driver-industry-news/index.php [L]
</IfModule>
I know I can have only one .htaccess file, now how do I fix this so I can use both of them together?
--------------------
Jason / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Do not PM me asking for help with your forum, this is what the forum is for.
Truck Drivers and the Industry

Quote   |  



#6   04-24-2007, 02:30 PM
AzzidReign has a spectacular aura about Join Date: Mar 2007 Posts: 78
Re: How do I add www to this?


Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.yourwebsite\.com [NC]
RewriteRule ^(.*)$ http://www.yourwebsite.com/$1 [L,R=301]

RewriteBase /truck-driver-industry-news/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /truck-driver-industry-news/index.php [L]
</IfModule>

I think that might work...I'm not the most experienced, I mainly just do trial and error to get things to work right.
Quote   |  



#7   04-24-2007, 03:24 PM
ARealRedneck is a jewel in the roughARealRedneck is a jewel in the rough Join Date: Dec 2006 Posts: 797 Location: KY
Re: How do I add www to this?


Thanks, that did not work though it returned a 404 error....and a 500 error so I just switched them back.
--------------------
Jason / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Do not PM me asking for help with your forum, this is what the forum is for.
Truck Drivers and the Industry

Quote   |  



#8   04-24-2007, 03:43 PM
AzzidReign has a spectacular aura about Join Date: Mar 2007 Posts: 78
Re: How do I add www to this?


Sorry Maybe you have to take out RewriteBase /truck-driver-industry-news/ ....?
Quote   |  



#9   04-24-2007, 06:13 PM
ARealRedneck is a jewel in the roughARealRedneck is a jewel in the rough Join Date: Dec 2006 Posts: 797 Location: KY
Re: How do I add www to this?


Yea, That is no problem, I will be playing around with it some more, I am sure it is probably something simple.
--------------------
Jason / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Do not PM me asking for help with your forum, this is what the forum is for.
Truck Drivers and the Industry

Quote   |  



#10   04-28-2007, 08:25 AM
RedMatrix is a jewel in the rough Join Date: Sep 2006 Posts: 201 Location: Texas
Re: How do I add www to this?


But why do you want it man, why? It's so last century.
--------------------
Need Help With Your Computer? Hate to reboot?
Introducing my Computer Help Desk & Discussion Forum
Quote   |  
Post New Thread  Reply
vBulletin Setup > General Forums > General Discussion


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


All times are GMT -6. The time now is 09:55 PM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory