WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Category can't redirect to tag? (2 posts)

  1. handig
    Member
    Posted 2 years ago #

    Hi,
    I have a blog installed under wordpress folder and wanted to move it to the root. I also cleaned up a bit and went into using also tags instead of category alone.

    But I got a wrong direction.

    I'm using the WordPress module.

    I have a regex redirection for:
    /wordpress/(.*)
    to
    /$1

    And also
    /wordpress/category/test/
    to
    http:/www.mywebsitename.com/tag/test/

    But I get this as url:
    http://www.mywebsitename.com/www.mywebsitename.com/tag/test/

    http://wordpress.org/extend/plugins/redirection/

  2. handig
    Member
    Posted 2 years ago #

    Hi,
    My mistake. Or better two mistakees.

    1. I shouldn't use regex redirection.
    Only:
    Source URL: /wordpress/
    Target URL: /

    2. Target URL is relative. So because I put in http://www.mywebsitename.com/tag/test/ at the target URL I got this:
    http://www.mywebsitename.com/www.mywebsitename.com/tag/test/
    I should only put /tag/test/ in target url.

    Thanks for the excellent plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic