educational

TGP Traffic Optimization

TGPs are like women: you can't live with them, and you can't do without them. Assuming you've pressed all the right buttons, you should have a decent amount of traffic from trades, link-backs and gallery submissions. Let's say you have 30K traffic daily. Considering that TGP traffic converts at an average of 1:10,000, that's 3 sales. What's to be done with the other 27,997 visitors? They're costing you a pretty penny in bandwidth, and even if you are sending a lot of them to trades, there's still a massive amount of unused potential here.

I'll show you a way to get rid of the shitty traffic seamlessly, saving a lot of bandwidth charges, making your stats look very pretty, and best of all, it's totally free. All you have to do is play around with a bit of code.

Georedirection
Now what you have to do first is study where your traffic is coming from: Break it up into countries and work out which countries are converting, and which are not. Next, use CJOverkill (I'm not sure if other traffic trade scripts have this facility, if so, use it) and set the country filters to redirect surfers from unproductive countries to pay per click sponsors, trades, or anywhere you want. A note of warning: it's best not to do this on individual galleries which you are submitting to other TGPs, since TGP owners to whom you submit might object. Any page which you haven't submitted, do it.

SSI Parsing On HTML Pages
Here's an important question: You have .HTML pages and not PHP or SHTML. You want to trade traffic, georedirect, count bookmarks, etc. which require SSI parsing. How do you do it?

Here's how: On every HTML page where you want SSI includes, put in an iframe with the width and height set to "1" right at the top, where you would normally put the SSI include in a PHP or SHTML page and set the iframe to call the SSI include.

While following this, I ran up into an unexpected problem with georedirection. The page inside the iframe at the top gets redirected, but the main page remains the same. After surfing Google for a couple of hours, I came up a solution, which if not pure genius, can at least be regarded as brilliant. All you have to do is, save a page in your root which contains the following "frame breaking" code and set your trade script's country filter to send the visitor to this page. Feel free to test it.

Put this iframe at the top of every page where you want it to work:

[CODE][/CODE]

Since I use CJ, it's in.php. Use whatever SSI include you normally use instead of in.php, and of course, change the path to in.php, from every page where you use the iframe.

Use this code inside the page which you place in your root, to which you want to send the visitors from specific countries:

[CODE]

[/CODE]

Replace https://www.yahoo.com/ with wherever you want the visitor to end up at. That's it. Done. You now have a fully functional traffic georedirection system installed with SSI parsing on static HTML pages.

SEO Optimization for TGPs
Now, you may ask why I went through all the rigamarole described above, instead of just using PHP or SHTML pages. I did, at first, and the spiders wouldn't touch the pages. I changed over to HTML, and the search engine bots are now squatters on the TGP and refuse to leave. Which brings us to one more problem: How do you rotate images, text descriptions, make updates, etc. without going mad? Get ready for some more genius...

Generating Static HTML Pages Using PHP & mySQL
What we need is an HTML page which behaves like a PHP page (rotation of thumb, descriptions, updated database content, etc.). Ok, all you need to do is add a bit of code at the top and bottom of each PHP page and set it to generate an HTML page every xx minutes using a cron job. This script will generate a page only if the time you set inside the code below has elapsed. If this page is run during that interval, it will exit without executing the main contents of the page. Here's the code:

Place this code at the top of each PHP page. Replace the path and page name with whatever you want it to be seen as:

[CODE] n"; exit; } ob_start(); // start the output buffer ?> [/CODE]

This is where the actual contents of the PHP page go, with this code after the page contents:

[CODE] [/CODE]

Okay, so, if you do this for all your PHP pages, and set up a cron job to run these pages at a specified interval, it'll automatically generate HTML pages for every PHP page you have. On a side note, if you don't have the facility to setup a cron job, then you can put in image links calling the PHP pages on high traffic pages, like so:

[CODE][/CODE]

This will call the PHP page, which will check if the HTML page needs to be generated, and if so, will generate it, else, it will exit. Note of warning - do not call the parent PHP generating page from the generated HTML page, else it'll go into an infinite loop and your server will blow its guts. Best solution is to call all the PHP pages from one HTML page, like your warning or index page, which gets a lot of traffic, and does not have to be generated itself, since it's contents very rarely need to be changed.

To sum it all up, you now have a fully functional georedirection system implemented, SSI parsing on HTML pages, automatic update of these HTML pages at prespecified intervals, saving of bandwidth charges on account of filtered traffic, saving of server resources and faster loading of pages since the page no longer needs access to the database for every visitor and - best of all, it's all totally free. You love it, your server loves it and the search engine spiders love it. Life is good, eh?

Copyright © 2024 Adnet Media. All Rights Reserved. XBIZ is a trademark of Adnet Media.
Reproduction in whole or in part in any form or medium without express written permission is prohibited.

More Articles

opinion

Navigating Age-Related Regulations in Europe

Age verification measures are rapidly gaining momentum across Europe, with regulators stepping up efforts to protect children online. Recently, the U.K.’s communications regulator, Ofcom, updated its timeline for implementing the Online Safety Act, while France’s ARCOM has released technical guidance detailing age verification standards.

Gavin Worrall ·
opinion

Why Cyber Insurance Is Crucial for Adult Businesses

From streaming services and interactive platforms to ecommerce and virtual reality experiences, the adult industry has long stood at the forefront of online innovation. However, the same technology-forward approach that has enabled adult businesses to deliver unique and personalized content to consumers worldwide also exposes them to myriad risks.

Corey D. Silverstein ·
opinion

Best Practices for Payment Gateway Security

Securing digital payment transactions is critical for all businesses, but especially those in high-risk industries. Payment gateways are a core component of the digital payment ecosystem, and therefore must follow best practices to keep customer data safe.

Jonathan Corona ·
opinion

Ready for New Visa Acquirer Changes?

Next spring, Visa will roll out the U.S. version of its new Visa Acquirer Monitoring Program (VAMP), which goes into effect April 1, 2025. This follows Visa Europe, which rolled out VAMP back in June. VAMP charts a new path for acquirers to manage fraud and chargeback ratios.

Cathy Beardsley ·
opinion

How to Halt Hackers as Fraud Attacks Rise

For hackers, it’s often a game of trial and error. Bad actors will perform enumeration and account testing, repeating the same test on a system to look for vulnerabilities — and if you are not equipped with the proper tools, your merchant account could be the next target.

Cathy Beardsley ·
profile

VerifyMy Seeks to Provide Frictionless Online Safety, Compliance Solutions

Before founding VerifyMy, Ryan Shaw was simply looking for an age verification solution for his previous business. The ones he found, however, were too expensive, too difficult to integrate with, or failed to take into account the needs of either the businesses implementing them or the end users who would be required to interact with them.

Alejandro Freixes ·
opinion

How Adult Website Operators Can Cash in on the 'Interchange' Class Action

The Payment Card Interchange Fee Settlement resulted from a landmark antitrust lawsuit involving Visa, Mastercard and several major banks. The case centered around the interchange fees charged to merchants for processing credit and debit card transactions. These fees are set by card networks and are paid by merchants to the banks that issue the cards.

Jonathan Corona ·
opinion

It's Time to Rock the Vote and Make Your Voice Heard

When I worked to defeat California’s Proposition 60 in 2016, our opposition campaign was outspent nearly 10 to 1. Nevertheless, our community came together and garnered enough support and awareness to defeat that harmful, misguided piece of proposed legislation — by more than a million votes.

Siouxsie Q ·
opinion

Staying Compliant to Avoid the Takedown Shakedown

Dealing with complaints is an everyday part of doing business — and a crucial one, since not dealing with them properly can haunt your business in multiple ways. Card brand regulations require every merchant doing business online to have in place a complaint process for reporting content that may be illegal or that violates the card brand rules.

Cathy Beardsley ·
profile

WIA Profile: Patricia Ucros

Born in Bogota, Colombia, Ucros graduated from college with a degree in education. She spent three years teaching third grade, which she enjoyed a lot, before heeding her father’s advice and moving to South Florida.

Women In Adult ·
Show More