User Tools

Site Tools


start_here

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

start_here [2014/01/29 18:05] (current)
Line 1: Line 1:
 +====== The beginning ======
  
 +If you are going to use internal rotation, please, start here [[New Rotation Step By Step]]
 +
 +If you gonna use trade only there are 2 ways to count hits
 +
 +===== Simple =====
 +
 +
 +If you have many SHTML pages add this code after <​body>​ tag
 +
 +  <​!--#​include virtual="/​scj/​cgi/​include.php?​${QUERY_STRING}"​-->​
 +
 +----
 +
 +For php pages add
 +
 +  <?php include_once ('​./​scj/​cgi/​include.php'​);​ ?> 
 +
 +
 +
 +===== Advanced =====
 +
 +
 +First of all you have to  copy  index.php, common.php, out.php from  scj/cgi directory ​ to the directory, where  the surfers will come to. Usually it’s a domain’s root. If  you already have any other files  named index.* there, ​ they  have to be renamed ​ or transferred ​ to another directory. ​
 +
 +next step is to create the necessary ​ number of pages  and point them to the script in Settings→CJ Pages.
 +
 +{{rot_pages.jpg|}}
 +
 +Script will rotate those pages  for serfers one by one,  i.e.  for  the first time  serfer ​ goes to http://​yourdomain.com/​page1.html ​
 +
 +For  the second ​ time – http://​yourdomain.com/​page2.html ​
 +For the third - /​usr/​home/​yourdomain.com/​page3.html
 +
 +And  then everything starts ​ from the very beginning. ​
 +
 +You can add CJPages as URLs or with absolute path. Last one is preferable.
 +
 +========
 +
 +If you have many pages (ie archives and so on) add this code every page where you want to count traffic
start_here.txt · Last modified: 2014/01/29 18:05 (external edit)