Mar 9, 2006 #1 diezy Technical User Joined Sep 2, 2002 Messages 50 Location CA i was wondering how to remove the "www" from a url if it was entered by a user, however still keeping the arguments/url path in tact
i was wondering how to remove the "www" from a url if it was entered by a user, however still keeping the arguments/url path in tact
Mar 9, 2006 #2 adam0101 Programmer Joined Jun 25, 2002 Messages 1,952 Location US Like this? Code: location.href = location.href.replace("[URL unfurl="true"]http://www.","http://");[/URL] Adam http://adameslinger.blogspot.com/ Upvote 0 Downvote
Like this? Code: location.href = location.href.replace("[URL unfurl="true"]http://www.","http://");[/URL] Adam http://adameslinger.blogspot.com/