WordPress.org

Forums

Redirect to canonical page (1 post)

  1. Christopher Roberts
    Member
    Posted 3 years ago #

    Hi everyone, I am part of the admin team over at the community blog Technology Bloggers.

    We have multiple writers and like to offer writers the opportunity to claim their articles using Google Authorship.

    However this sometimes means that links are created that I do not want to be created. Basically author profiles have two variants, http://www.technologybloggers.org/author/profile/ and http://www.technologybloggers.org/author/profile/?rel=author

    Here is an example
    http://www.technologybloggers.org/author/ronf/
    http://www.technologybloggers.org/author/ronf/?rel=author

    They are both the same page.

    How can I get http://www.technologybloggers.org/author/ronf/?rel=author to redirect to http://www.technologybloggers.org/author/ronf/
    ?

    Is it possible through .htaccess - baring in mind we have a lot of writers, so a lot of profiles.

    Short of manually redirecting every one, is there a way to say if the URL ends in /?rel=author redirect to /
    ?

    If it helps to know we are using the plugin Redirection.

    [ Please do not bump, it's not permitted here. ]

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by Christopher Roberts
  • This topic is not resolved
  • WordPress version: 3.4.1