Zen Cart Logo
Forums / General Questions / Weird URL redirect

Weird URL redirect

Views: 577

Results 1 to 3 of 3
28 Jun 2011, 9:56 PM
#1
boatersplanet avatar

boatersplanet

New Zenner

Join Date:
Aug 2010
Location:
Washington, DC
Posts:
66
Plugin Contributions:
0

Weird URL redirect

Hopefully this is an easy fix but I'm scratching my head a little bit on this one...

I added some social media buttons on my homepage in the the header. I've tried adding the html code in the define pages editor and in the tpl_main_page file in file manager. The issue I'm having is that although the image code makes the image url point to... (i.e- https://www.facebook.com/boatersplanet) it automatically appends our URL to the front so it tries to go to (https://www.boatersplanet.com/www.facebook.com/boatersplanet)

Any ideas?

28 Jun 2011, 10:14 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Weird URL redirect

If you're gonna put an external URL into a link, put the http:// in front of it. Otherwise it treats it as a link within your own site.

28 Jun 2011, 10:51 PM
#3
boatersplanet avatar

boatersplanet

New Zenner

Join Date:
Aug 2010
Location:
Washington, DC
Posts:
66
Plugin Contributions:
0

Re: Weird URL redirect

Thanks Dr.Byte!

:oops: