WordPress.org

Ready to get started?Download WordPress

Forums

Help with 301 redirect (3 posts)

  1. Friedlein
    Member
    Posted 5 years ago #

    I am in the process of updating our site with the latest version of wordpress, having been using an old version for the past 3 years.

    One thing that became apparent is that the latest versions don't work with the ultimate tag warrior plugin.

    Not a huge problem as I have successfully imported all the old tags.

    What I would like to do is make sure that all the old tag urls are 301 redirected to the new structure (unless I can force the wordpress tag urls to be the same?).

    The old urls are:
    http://www.url-here.co.uk/index.php?tag=wordpress

    the new structure is:
    http://www.url-here.co.uk/?tag=wordpress

    Is there anyone who can suggest a line to add to the .htaccess file to ensure that any of the old tag urls are redirected (301) to the new structure?

    Alternatively, can I force wordpress to include the 'index.php' in the urls for the new system?

    Thank you in advance,
    Joe

  2. Friedlein
    Member
    Posted 5 years ago #

    Update to the post above...

    New site is live but the 301 redirects I put in don't seem to be working for the tag pages, whilst they are fine for other pages.

    We now have duplicate content as a result. e.g. see http://www.google.com/search?q=comscore%20browser - we occupy top two results with the following urls:
    http://www.browsermedia.co.uk/index.php?tag=comscore
    http://www.browsermedia.co.uk/news/tags/comscore/

    I have used the following in the .htaccess file:
    Redirect 301 /index.php?tag=comscore /news/tags/comscore/
    (same approach used for all tags)

    Cany anyone point out why it isn't working?

    I want all the tag pages to follow the http://www.browsermedia.co.uk/news/tags/comscore/ structure.

    Thanks in advance.

  3. BrowserMedia
    Member
    Posted 5 years ago #

    Any thoughts / help on this one as it is baffling me?

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic