Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating 3rd party links?


random1

Recommended Posts

Posted

Hi,

 

I create a new link in the system say: www.example.com

 

and then save it.

 

I then load the page and instead of having the link to www.example.com

 

it links to www.mywebsiteaddress.com/www.example.com instead.

 

How can I create a link to a link that is not on my domain?

Posted

Use HTML ONLY!

 

If you're using a PHP program on your site to generate links, that would explain why it tacks your URL on.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Thanks but I am using the following HTML code and it does the same.

 

<p class="MsoNormal">

<a href="www.investorwords.com" target="_blank">www.investorwords.com</a>

</p>

<p class="MsoNormal">x </p>

 

That code creates the link: www.mysite.com/www.investorwords.com

Posted

Try this:

 

<p class="MsoNormal">
<a href="http://www.investorwords.com" target="_blank">www.investorwords.com</a>
</p>
<p class="MsoNormal">x </p>

Looks like it's using your <base href...>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

okay great :D Now it works.

 

How can I change the code to realize www. addresses aswell?

 

The users of my site are not tech savvy enough.

Posted

You don't need to change anything.

 

Just be sure when you add HTML for external links, you always include the http://

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...