0
Welcome Guest! Login
0 items Join Now

Hyperlink adds Joomla site address to link

    • puck's Avatar
    • puck
    • Newbie
    • Posts: 16
    • Thanks: 0

    Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • Hi
      am working on a custom code, but for some reason joomla adds the joomla site address to the start of the hyper link.

      IE <a href=" www.google.com ">Google</a> woudl come out siteaddress.com/www.google.com

      does anyone know how to stop joomla from doing this?

      Thanks
  • Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • By default Joomla doesn't have that behavior. Did you install any 3rd party plugin? Could you please provide us your website link?
    • puck's Avatar
    • puck
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • Hi
      Yes it is a custom plugin i am working on. when I try and use the href to create a hyperlink joomla changes the link with the internal site address.

      Wondering if anyone has seen this with a custom component?
  • Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • Could you please send me a PM with your Joomla SuperAdmin and could you please send me a PM with your FTP details point to your Joomla root folder, so I can check your custom plugin code?
    • Kathy Rose's Avatar
    • Kathy Rose
    • Elite Rocketeer
    • Posts: 726
    • Thanks: 2
    • Freelance web development and design

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • <a href=" www.google.com ">Google</a>
      When that has happened to me it is because I forgot to put the http:// at the start of the address.
      Can you just change to <a href=" www.google.com ">Google</a>?
    • Kathy
      KT Web Design
      developing Joomla websites in the sweet, sunny South
    • puck's Avatar
    • puck
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • the funny thing is that when viewing the HTML code for the site it looks correct:

      IE: <a target="_blank" href="/www.google.com"> www.google.com </a>
      but when mouse overing the hyper link joomla adds the website address;

      IE:
      websitename.com/www.google.com

      Anyone got another other tips?
    • Kathy Rose's Avatar
    • Kathy Rose
    • Elite Rocketeer
    • Posts: 726
    • Thanks: 2
    • Freelance web development and design

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 5 months ago
    • The HTML code you provide is showing where your problem is. :wink:

      After the href= you need to put in http://

      http:// always comes before www.whatever.com when you are coding links. Hope that helps!
    • Kathy
      KT Web Design
      developing Joomla websites in the sweet, sunny South
    • puck's Avatar
    • puck
    • Newbie
    • Posts: 16
    • Thanks: 0

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 4 months ago
    • OK Great
      thank you. I think that was it.
    • Kathy Rose's Avatar
    • Kathy Rose
    • Elite Rocketeer
    • Posts: 726
    • Thanks: 2
    • Freelance web development and design

    Re: Hyperlink adds Joomla site address to link

    Posted 15 years 4 months ago
    • :highfive:

      I'm glad to help!
    • Kathy
      KT Web Design
      developing Joomla websites in the sweet, sunny South

Time to create page: 0.090 seconds