adfly add certain sections of my website

Ask how you can improve your site to increase your leads/sells when advertising though Adf.ly
Post Reply
User avatar
joseca7
Newbie
Posts: 4
Joined: Tue Oct 21, 2014 2:48 pm

adfly add certain sections of my website

Post by joseca7 » Tue Oct 21, 2014 4:44 pm

Greetings ...
translated with google
adfly want to add on my website, but only those pages in a section of my website that has this type of address:

http://myweb.net/index.php/item/la-orej ... 0-de-enero

http://myweb.net/index.php/item/leonard ... -de-carnet

http://myweb.net/index.php/item/miriam- ... re-secreto

http://myweb.net/index.php/item/azul-azul-la-bomba


ie desire adfly add all pages whose address starting with:

http://myweb.net/index.php/item/

do this?

by the way my site is designed with JOOMLA 3 and use the joomla component ZOO

thanks in advance for your reply

User avatar
Xellon
Adf.ly Legend
Posts: 4170
Joined: Tue Feb 21, 2012 12:10 am
Location: Somewhere in a distant land

Re: adfly add certain sections of my website

Post by Xellon » Tue Oct 21, 2014 9:21 pm

google translate has failed lol

If you are trying to add an entry script to your joomla site, you can find this information on google. search for adfly script joomla or something to learn how to put the full/entry script on your website.

User avatar
joseca7
Newbie
Posts: 4
Joined: Tue Oct 21, 2014 2:48 pm

Re: adfly add certain sections of my website

Post by joseca7 » Wed Oct 22, 2014 1:13 am

what happens is that when I put the full / entry script on my website all the links redirect to adfly and I wish only the links that start with

http://myweb.net/index.php/item/

will redirect to adfly

I searched information through google and find nothing

User avatar
Xellon
Adf.ly Legend
Posts: 4170
Joined: Tue Feb 21, 2012 12:10 am
Location: Somewhere in a distant land

Re: adfly add certain sections of my website

Post by Xellon » Wed Oct 22, 2014 11:48 pm

In this code HERE -

Code: Select all

var exclude_domains = ['example.com', 'yoursite.com']; 
You can add exceptions. You can also just put your own site if you want to exclude all internal links.

User avatar
joseca7
Newbie
Posts: 4
Joined: Tue Oct 21, 2014 2:48 pm

Re: adfly add certain sections of my website

Post by joseca7 » Thu Oct 23, 2014 2:28 pm

<script type="text/javascript">
var adfly_id = 7992316;
var adfly_advert = 'int';
var popunder = true;
var domains = ['myweb.net/index.php/item'];
</script>
<script src="https://cdn.adf.ly/js/link-converter.js"></script>

If I put the script redirects me ALL of my page link. I want to redirect only the addresses that start with:

myweb.net/index.php/item/

:?

User avatar
Xellon
Adf.ly Legend
Posts: 4170
Joined: Tue Feb 21, 2012 12:10 am
Location: Somewhere in a distant land

Re: adfly add certain sections of my website

Post by Xellon » Fri Oct 24, 2014 12:19 am

Code: Select all

<script type="text/javascript"> 
     var adfly_id = 1444400; 
     var adfly_advert = 'int'; 
     var popunder = true; 
     var domains = ['myweb.net']; 
 </script> 
 <script src="https://cdn.adf.ly/js/link-converter.js"></script> 
If you only want myweb.net sites to re-direct, try the script above then.

User avatar
joseca7
Newbie
Posts: 4
Joined: Tue Oct 21, 2014 2:48 pm

Re: adfly add certain sections of my website

Post by joseca7 » Fri Oct 24, 2014 3:55 am

tal parece que no se puede hacer lo que yo quiero... lastima en realidad queria usar adfly... :(

User avatar
adroussel
Newbie
Posts: 1
Joined: Mon Jan 12, 2015 11:35 am

Re: adfly add certain sections of my website

Post by adroussel » Mon Jan 12, 2015 11:38 am

Hello

It may be late but here is a free Joomla plugin that converts external links to adfly URLs.
It has exclusion filters too.

Hope it can help:
http://www.nordmograph.com/extensions/i ... &Itemid=58

Post Reply