redirect wordpress page

Discussion in 'Programming' started by thecreativeboy, Jul 22, 2009.

Thread Status:
Not open for further replies.
  1. thecreativeboy

    thecreativeboy New Member

    Joined:
    Jun 25, 2007
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    0
    Hi
    is there any way to redirect one wordpress page to another wordpress page which is in the same folder?
     
  2. ravi_9793

    ravi_9793 TechTin.com

    Joined:
    Jun 22, 2005
    Messages:
    4,139
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    LocalHost
    I didn't get you exactly.
     
  3. OP
    OP
    thecreativeboy

    thecreativeboy New Member

    Joined:
    Jun 25, 2007
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    0
    In my blog i have to display my latest post in the first page.then after clicking the add more post button,it have go to the posts which didn't include the latest post.so for the add more post url i have to redirect another wordpress page which show the posts which didnt include the latest post.am i clear?
     
  4. phuchungbhutia

    phuchungbhutia Om Ma Ni Pä Me Hum

    Joined:
    Jun 7, 2007
    Messages:
    384
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    sikkim
    Y cant it be done with some plugin or changing the template
     
  5. ravi_9793

    ravi_9793 TechTin.com

    Joined:
    Jun 22, 2005
    Messages:
    4,139
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    LocalHost
    You can edit the theme file.
     
  6. OP
    OP
    thecreativeboy

    thecreativeboy New Member

    Joined:
    Jun 25, 2007
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    0
    actually in the theme file how i can edit.bcoz the codings are very difficult to understand.
     
  7. khattam_

    khattam_ Fresh Stock Since 2005

    Joined:
    Feb 13, 2005
    Messages:
    1,015
    Likes Received:
    5
    Trophy Points:
    38
    I think editing theme is what you should do. Addin
    Code:
    <?php next_posts_link('&laquo; Older Entries') ?>
    in the index.php where you require should serve your purpose.

    However, if you wish to achieve that anyways, create a new post and click on the HTML tab (instead of visual) and then in the content, type in
    Code:
    <script>
    location.href="http://google.com";
    </script>
    Now, publish it. When you visit the page, you should be redirected to "http://google.com".. change "http://google.com" to whatever page you want to redirect to.
     
    Last edited: Jul 31, 2009
Thread Status:
Not open for further replies.

Share This Page