promoter wrote:The question I was trying to convey was what is the difference in functionality between saving the file as a
The file needs to be saved as a PHP file otherwise the redirect won't work (the PHP tells the web server it needs to process PHP code on the page)
Below is the script as copied from Mark's newsletter. It would be helpfull to clarify things for me if you pretend that this is your site and your affiliate link. What would it look like before you FTP'd it?
<a href="http://xxxxxxxx.hop.clickbank.net/?tid=ACNEIN3" target="_blank">click here</a> " );
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: [http://www.youraffiliatelinkgoeshere.com]" );
promoter wrote:Hi Mark,
In my public folder I have 2 folders:
1.recommends (which contains acnein3days .index.php file with my hop link)
2.acnenomore (which contains my .index.php file with my hop link)
Now, when I go to my site and hover over the link I see down in the bottom left corner:
mysite.com/recommends and when I click the link it takes me to the merchant's site. Everthing is working the
way it should.
When I go to the next link and hover over it, once again I see down in the bottom left corner my cloaked link:
mysite.com/recommends/acnenomore but when I click the link instead of being taken to the merchant's site I
Index of /recommends/acnenomore
* Parent Directory
Apache/2.2.12 (Unix) mod_ssl/2.2.12 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4
FrontPage/126.96.36.19935 Server at [http://www.mysite.com]
What does this mean?
oneheadsup wrote:My question is that since this all worked out so smoothly, what did I do wrong? Question 2, and perhaps more seriously, is how exactly is this diversion helping my SEO . . .what exactly is happening? I would really appreciate being able to understand this. Meanwhile, all my redirects from all my sites will have their own php files and will all be in this recommends folder, unless that is not something I should do?
This topic was started on Sep 06, 2009 and has been closed due to inactivity. If you want to discuss this topic further, please create a new forum topic.