Header ad problem

Posted in: Newsmag
Post count: 25

Hello,
I have inserted a header banner ad in gif format using the theme panel
For some reason the category url of my webpage is added before the target URL of the banner. If I am on the homepage only the homepage URL is added.
Example: The homepage url of my website is kanalfinans.com target URL for the banner is http://www.xyz.com
So the target URL or the banner becomes kanalfinans.com/www.xyz.com
If I am viewing a post in category abc then the target URL or fhte banner becomes kanalfinans.com/abc/www.xyz.com
I have
Disabled all plugins but visual composer (I use W3 Total Cache and I disabled it as well)
Purged Cloudflare cache
Cleared browser cache

I am using Newsmag Version 3.1, WordPress 4.6.1 and Visual Composer 4.12
You can check my website at http://kanalfinans.com
Please advise

Kind regards,
Tunc

Post count: 6535

Hi

This happens becasue you don’t have http protocol in url. Try this code instead, it shoud work fine:

<a href="http://borsadirekt.com/uye-girisi?utm_source=kanalfinans&utm_medium=kanalfinans&utm_campaign=kanalfinans" target="_blank"><img class="td-retina" style="width: 728px;" src="http://kanalfinans.com/wp-content/uploads/2016/09/kanal_finans_borsadirekt.gif?901d7f" alt="" height="728" width="90"></a>

Thanks!

Post count: 25

Thank you Andrei

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.