Forums

is there a better way to redirect a page than... (2 posts)

  1. tylerw
    Member
    Posted 11 months ago #

    I have a website (WP 2010 format) and I also have an Amazon astore... I have a subpage on my website called "Recommended Products", and I want it so when you click on that subpage, it goes right to my Amazon page. As of right now, I'm using the following code:

    <head>
    <meta http-equiv="Refresh" content="0;url=http://astore.amazon.com/httpwwwcrazya-20" />
    </head>

    while it does work, there's a pause that shows an empty page after you click on the subpage before it goes to the Amazon page. Is there a cleaner way to make this work? I had this automatically work on a previous website without even adding any code...must have been a plugin I didn't know about.

  2. stvwlf
    Member
    Posted 11 months ago #

    Are you using the WordPress custom menus on this site? If you are don't even make the Recommended Products page a page. Just have it be a custom link created in the menu admin page that links to your Amazon page.

    If not install this plugin
    http://wordpress.org/extend/plugins/page-links-to/

Reply

You must log in to post.

About this Topic