Forums

[resolved] best way to redirect a post toward a page (4 posts)

  1. 1024
    Member
    Posted 3 weeks ago #

    hello people, :)

    I need to redirect some posts toward pages (because I have a specific category which show some posts in the header with the smoothgallery (mootools stuff)) but my WP website is as a CMS and I dont have (need) categories (exept one with news but whatever) so I need to redirect these articles towards my pages... and I don't know the best way to do that..

    with php :

    [code]
    <?php

    header(location:http://URL.com);

    ?>[/code] does it worth to install a plugin such as php excec just for that?

    the meta code:

    [code]<meta http-equiv="REFRESH" content="{TAR}; URL={AR}">[/code]

    or something else?

    Like you can imagine, I would need a really fast code cause the article doesn't have to be shown, it would sound so bad lol

    Thanks for your advices WP community :)

    have a great day.

    1024, Paris, France.

  2. Ipstenu
    Member
    Posted 3 weeks ago #

  3. 1024
    Member
    Posted 3 weeks ago #

    lol so fast!! you're so nice, I install it and I let you know if it's what I need

    thank you so muchhhhh

  4. 1024
    Member
    Posted 3 weeks ago #

    it works perfectly, 1,000 thanks for Ipstenu and the person who created this awesome plugin

Reply

You must log in to post.

About this Topic