WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
regular expression substitution question (1 post)

  1. langelliott
    Member
    Posted 3 years ago #

    I am going to move my WordPress site from a subdirectory ("home" folder) to the root of the site. Thus, I will be eliminating the "home" folder from all URLs:

    mywebsite.org/home/all_posts_and_pages

    will become

    mywebsite.org/all_posts_and_pages

    Can I instruct Redirection to respond to any URL request that includes the "home" folder by simply eliminating the "home" folder from the address, thereby resulting in a simpler URL that automatically leads to the correct page or post?

    I believe this is referred to as "normal expression substitution." If this is possible, then please tell me how to accomplish it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic