3 replies
Everything that I read says that a php redirect is very easy. So what am I doing wrong.

I am using Windows 7 with open office to save my files on but when I upload the file using filezilla it shows that everything went well and says that it is all working, but again and again the file will not show up.

I have cleared my cache over and over, and tried so many things my mind is fuzzy...

It this that hard? Or is it the programs I am using? Or am I not saving the php file in the right form?

Can anyone help.....
#php #php redirect
  • Profile picture of the author Janet Sawyer
    Try a little free program called notepad ++ (google it, it's a free download)

    Redo the file and save it as a .php extension.

    Upload using your ftp program and it should sort the problem out for you.

    Take a look at your domain name registrar........ they may have a redirect script you can use.

    Take a look at your hosting, cpanel, they may have a redirect script you can use too.

    If you google "Jump.php" you'll find a good free script that works, but there are no stats available as to how many links, clicks etc you get.

    For a fee, there are lots of good programs out there that will track your clicks, cloak your links etc. One I would recommend is affiliate link bomber , you can track your links, cloak them and lots more, simply, easily and quickly.

    Hope that helps.
    {{ DiscussionBoard.errors[1869986].message }}
  • Profile picture of the author GGoose
    Originally Posted by girlmarketer View Post

    Everything that I read says that a php redirect is very easy. So what am I doing wrong.

    I am using Windows 7 with open office to save my files on but when I upload the file using filezilla it shows that everything went well and says that it is all working, but again and again the file will not show up.

    I have cleared my cache over and over, and tried so many things my mind is fuzzy...

    It this that hard? Or is it the programs I am using? Or am I not saving the php file in the right form?

    Can anyone help.....

    Don't use open office like Janet suggested. you can use notepad++ or textpad. also make sure that you dont have any html tags before the actual redirect, otherwise you will get a headers already sent error.

    This will not work because of the <html> tag
    PHP Code:
    <html>
    <?php



       header
    'Location: yoururlhere' ) ;

    ?>
    This one will work!
    PHP Code:
    <?php



       header
    'Location: yoururlhere' ) ;

    ?>
    {{ DiscussionBoard.errors[1870281].message }}
  • Profile picture of the author AndyBlackSEO
    Yes, you cannot output anything to the browser prior to using the header() function to re-direct.
    Signature
    [FREE SEO TOOL] Build 29 Effective, High Authority Backlinks that Will Increase Your Google Rankings in 2020... CLICK HERE ...
    ... Instant backlinks that can get you results within 24-72hrs.
    {{ DiscussionBoard.errors[1872003].message }}

Trending Topics