WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can I re-direct a page to another URL? (10 posts)

  1. mikoto1610
    Member
    Posted 6 years ago #

    Hi guys,

    I am currently running the iThemes BizCard theme for my site (www.pressreleasepr.com).

    I now have a separate blog (www.pressreleaseprblog.com) that is on a separate domain to my main site (still WordPress, just not as a sub-domain or sub-directory of my main site).

    What I would like to do is add a link called Blog to the third table on my main site, where is says Home, About Us, Services, etc. However, I am unsure how to do this.

    Can I redirect at all? Is there any code I could place in a page post entitled Blog that will send any visitors direct to my blog URL if they click the word Blog on my main site?

    Thanks guys!

    Danny.

  2. MichaelH
    Member
    Posted 6 years ago #

    Grab the Redirectify plugin, create the Page called Blog, save that page. Then edit that page and add a Custom Field with a Key of 'redirect' and a Value of the URL of your other blog.

  3. mikoto1610
    Member
    Posted 6 years ago #

    Wow, excellent - thank you Michael! :)

  4. mikoto1610
    Member
    Posted 6 years ago #

    Hmm, I can't seem to find it - does that link you supplied contain all the HTML code I need to transfer to the page?

    Thanks again!

  5. Berlette
    Member
    Posted 6 years ago #

    Try out my Redirect plugin. It works with virtually the same concept, you simply add a custom field to any page / post and you can redirect it to any other URL. Useful for adding aliases to categories.

  6. Joni
    Member
    Posted 6 years ago #

    I think he has a very elegant solution here:
    http://www.ivovic.net/2008/05/20/turn-a-wordpress-page-into-a-link

  7. MichaelH
    Member
    Posted 6 years ago #

  8. MichaelH
    Member
    Posted 6 years ago #

    Hmm, I can't seem to find it - does that link you supplied contain all the HTML code I need to transfer to the page?

    mikoto1610 - to answer your question visit the link Redirectify plugin then copy all the PHP code there, then save that as a file called redirectify.php in your wp-content/plugins folder.

  9. mikoto1610
    Member
    Posted 6 years ago #

    Thanks guys, appreciate it - I'll try these and see how it goes, and let you know! :)

  10. mikoto1610
    Member
    Posted 6 years ago #

    Hey, it worked (obviously, lol!!).

    Thanks again guys - you're the reason the WordPress community rocks!!! :o)

Topic Closed

This topic has been closed to new replies.

About this Topic