Need Serious Help With Redirect Code
I was told to put the code in the index.php file, and I assume that would be the one in the public_html folder, because there is also one in the wp-content folder.
I tried it in both with no success. If I put the code in the index.php file in the public_html folder, my site disappears, and I get syntax errors.
If I put it in the index.php file in the wp-content folder, nothing happens. I am not sure what is wrong, but I am out of options.
I have tried putting the code above and below the existing code that is already in those files.
Here are the two codes I have
Thanks Glenn
<?
Header ( "HTTP/1.1 301 Moved Permanently" );
Header ( "Location: http://clickbankid.merchant.hop.clickbank.net" );
?>
<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://clickbankid.merchant.hop.clickbank.net");
exit();
?>
WordpressInstaller.net - Automatically install & configure Wordpress Blog, Theme, Plugins and Posts. Wordpress Installer will DO IT ALL for you in just a FEW SECONDS AND best of all, it's FREE
Mihir.info - A developer's blog