WordPress.org

Forums

Make button in navbar re-direct to another site. (3 posts)

  1. sportwiz628
    Member
    Posted 3 years ago #

    Hello at my site metsparadise.com I want to make a page in my navbar re-drect to another site once it is clicked. When visiting the site this is what is on the navbar:

    Home - About - Standings - Stats - Links - Contact Us

    I ant it to be when you click the Standing or Stats page it brings you to another site. How do I do it instead of just posting the link inside of it, I need it to automatically re-direct.

  2. idowens
    Member
    Posted 3 years ago #

    Do you have access to your .htaccess file in you FTP's root directory? If so, you could always just add a 301 redirect. It would look like this:

    Redirect 301 /oldpage/ http://www.example.com/newpage.html

    where /oldpage/ is the permalink of the page you want to redirect. If you aren't using permalinks you can also hard-code the link

    Redirect 301 http://www.yoursite.com/index.php?id=34 http://www.example.com/newpage.html

    *Note that there is one space between the old URL and the redirected one and that this should be on one line by itself in your htaccess file.

  3. ClaytonJames
    Member
    Posted 3 years ago #

    This plugin works very well. You can easily make any page link to anywhere.

    http://wordpress.org/extend/plugins/page-links-to/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.