SEO Software
Closed Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: PHP page to redirect

  1. #1

    Default PHP page to redirect

    I want to make a page which redirect me to another page. How can I make this page? I want to make url shortening site.


  2. SEO Software

  3. #2
    Fresh Meat Zoli is on a distinguished road Zoli's Avatar
    Join Date
    Jan 2009
    Location
    Veszpr?m, Hungary
    Posts
    29
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    I think that the proper redirecting would be 302 redirect for a shortening website, but I think you should not spend time and money on developing the site. If I were you I would buy an off the shelf script or try to find a free one.

  4. #3
    Fulltime Member Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan has a reputation beyond repute Alan's Avatar
    Join Date
    Jan 2009
    Location
    Ayr. Scotland
    Posts
    766
    Thanks
    26
    Thanked 62 Times in 57 Posts
    Blog Entries
    1

    Default

    php.net has most of the answers, for your question refer here.


    Seen a good post - give some reputation
    Keeping the forum clean - SPAMMERS BEWARE!!

  5. #4
    Junior Member alibaba-clone is on a distinguished road alibaba-clone's Avatar
    Join Date
    Dec 2009
    Location
    Johannesburg, South Africa
    Posts
    92
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Default

    to redirect, if you are using php programming to redirect to another page. you can just just php header function..

  6. #5

    Default

    why not just use html code?............................................. .............................

  7. #6

    Default

    useing <?header(”Location: xxx”)?>

  8. #7

    Default

    to redirect, if you are utilizing php scheduling to redirect to another page. you can just just php header purpose..

  9. #8

    Default

    Use this example without PHP
    <script language='javascript'>self.blur();</script>
    <meta http-equiv='Refresh' content='0;URL="link"'>

    or

    <script language="JavaScript1.1">
    <!--
    window.location.replace("link");
    //-->
    </script>

  10. #9

    Default

    You can use header("Location:abc.php") to redirect the pages to the other page

  11. #10
    Fresh Meat kidzrback is on a distinguished road kidzrback's Avatar
    Join Date
    Oct 2010
    Location
    Hamilton Ontario Canada
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Not to disagree with people posting javascript functions, but javascript can still be disabled by users. If you are already using a php page, it is better to use the header function as others have said above.

Closed Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Page Rank Why?
    By Spike in forum Google
    Replies: 80
    Last Post: 04-18-2012, 02:39 AM
  2. How to design landing page?
    By nikon in forum HTML & CSS Help
    Replies: 6
    Last Post: 06-22-2009, 04:05 AM
  3. Page Rank Drop
    By Spike in forum SEO Forum
    Replies: 8
    Last Post: 02-27-2009, 01:08 PM
  4. Problem with my PHP test page
    By Mech in forum PHP Help
    Replies: 1
    Last Post: 02-12-2009, 07:47 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts