Ready to get started?Download WordPress


Redirect (7 posts)

  1. CKS
    Posted 6 years ago #

    I know it has been asked a ton, but here goes.....
    I have http://cksblog.com and I want to redirect users to a new homepage, which is http://cksblog.com/?page_id=157

    What is the best redirect script to use, and were should I put it?
    Thanks ahead of time...

  2. langsuyar
    Posted 6 years ago #

    This works:

         CONTENT="0; URL=http://cksblog.com/?page_id=157">

    The Content variable holds number of seconds to wait before the redirect. It's straight HTML and needs to go into the <head> section of your code.

  3. Rohaq
    Posted 6 years ago #

    There's a redirect plugin available in the directory that I'm currently using with no problems, utilising a 301 redirect.


  4. mrmist
    Forum Janitor
    Posted 6 years ago #

    WHy not just change your front page to display the contents of page 157?

  5. CKS
    Posted 6 years ago #

    so I copy and pasted the meta tag into the header and the homepage redirects to the new page, and then goes to a 500 internal server message. It only stays on the new page for a split second.wierd. I'll try it on another page I guess.

  6. microkid
    Posted 6 years ago #

    Like mrmist said: go to settings > read

    There you can select your page as a "static front page".

  7. CKS
    Posted 6 years ago #

    Thanks a bunch. I did not know that I could do that.

Topic Closed

This topic has been closed to new replies.

About this Topic