Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1398 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     TalkFreelance Information     Suggestions and Feedback :

.htaccess edit

Thread title: .htaccess edit
Closed Thread  
Page 1 of 6 1 2 3 4 5 >
    Thread tools Search this thread Display Modes  
01-15-2007, 05:12 AM
#1
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old  .htaccess edit

I'm curious if Big Zee or whoever can change the .htaccess to direct to either http://www.talkfreelance.com or http://talkfreelance.com or at least make cookies work on both because I'm (among others) annoyed when I click on a link and I'm logged out because they use the other URL.

Any chance of this happening?

01-15-2007, 09:48 AM
#2
t0m is offline t0m
Status: Request a custom title
Join date: Jan 2005
Location: West Sussex, England
Expertise:
Software:
 
Posts: 2,829
iTrader: 21 / 100%
 

t0m is on a distinguished road

  Old

I agree, I've had this problem myself! A tad annoying indeed...

01-15-2007, 02:40 PM
#3
jd. is offline jd.
Status: TFL Veteran
Join date: May 2005
Location: FL, USA
Expertise: Design
Software: Photoshop
 
Posts: 3,010
iTrader: 5 / 100%
 

jd. is on a distinguished road

Send a message via MSN to jd.

  Old

it is annoying but i wouldnt ask big zee... maybe julian has access

01-15-2007, 04:09 PM
#4
Jeff Andersen is offline Jeff Andersen
Status: Superstar
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 4,449
iTrader: 10 / 100%
 

Jeff Andersen is on a distinguished road

  Old

If we do this, it's got to be www. that stays, it's how I roll.

01-15-2007, 05:59 PM
#5
jd. is offline jd.
Status: TFL Veteran
Join date: May 2005
Location: FL, USA
Expertise: Design
Software: Photoshop
 
Posts: 3,010
iTrader: 5 / 100%
 

jd. is on a distinguished road

Send a message via MSN to jd.

  Old

tfl gets more hits without the www.

01-15-2007, 06:25 PM
#6
Joe is offline Joe
Status: Custom User Title
Join date: Apr 2005
Location:
Expertise:
Software:
 
Posts: 2,297
iTrader: 0 / 0%
 

Joe is on a distinguished road

  Old

However much I despise "www." if this ever happens, then it should be "www." because of the PR and the fact that more people type in "www." rather than skipping it.

01-15-2007, 07:13 PM
#7
Gareth is offline Gareth
Status: Back in business...
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 1,317
iTrader: 13 / 100%
 

Gareth is on a distinguished road

Send a message via MSN to Gareth

  Old

THE SOLUTION =O

I posted it a while back, never got implemented though...shame when it takes about 10 seconds to do.

http://www.talkfreelance.com/showpos...28&postcount=5


RewriteEngine on
RewriteCond %{HTTP_HOST} ^talkfreelance.com [NC]
RewriteRule ^(.*)$ http://www.talkfreelance.com/$1 [L,R=301]

01-15-2007, 07:47 PM
#8
Chaos King is offline Chaos King
Status: Member
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 119
iTrader: 4 / 100%
 

Chaos King is on a distinguished road

Send a message via AIM to Chaos King Send a message via MSN to Chaos King

  Old

I like mine better, but you get the same effect. I like mine better cause when I am helping my clients, it works with all scenario, no need for editing.

Code:
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

02-05-2007, 08:12 PM
#9
kiplarson is offline kiplarson
Status: I'm new around here
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 15
iTrader: 0 / 0%
 

kiplarson is on a distinguished road

  Old

Originally Posted by Chaos King View Post

Code:
RewriteCond %{HTTP_HOST} !^(www\.|$) [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
So if I make a .htaccess file and put the above code in there, my sites will automatically go from http:// to always http://www. ?

Because this is something I've tried to figure out for a while, but never got around to doing. I want to do that so it will hopefully improve my PR. That and it's annoying to have the other issue with not being logged in when typing in the other on accident.

02-05-2007, 10:39 PM
#10
Gareth is offline Gareth
Status: Back in business...
Join date: May 2005
Location:
Expertise:
Software:
 
Posts: 1,317
iTrader: 13 / 100%
 

Gareth is on a distinguished road

Send a message via MSN to Gareth

  Old

Originally Posted by kiplarson View Post
So if I make a .htaccess file and put the above code in there, my sites will automatically go from http:// to always http://www. ?
Yes it will - I use it on all of my sites

Closed Thread  
Page 1 of 6 1 2 3 4 5 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed