WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
How to redirect all pages (2 posts)

  1. lahorimela
    Member
    Posted 2 years ago #

    Hi,
    i have a question that how i can redirect all post of my single category.

    For example my Category name is (Tele Films) and there are 1000+ posts in this category. but after some times i change the category name (Films) so how i can fix that issue that google bot cant dedicate it as 404 page and redirect to original post.

    Example:

    http://www.mydomain.com/tele-films/post.html

    http://www.mydomain.com/films/post.html

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

  2. Easiest is to do it in your .htaccess.

    RewriteRule ^category/tele-films/(.*)$ http://www.mydomain.com/category/films/$1 [L,R=301]

    Since category is prefaced by /category/ you see :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic