WordPress.org

Ready to get started?Download WordPress

Forums

301 redirect to root domain to subfolder multisite (3 posts)

  1. sarankumar
    Member
    Posted 2 months ago #

    I have created a subfolder multisite. i want to redirect all request to subfolder multisite.
    say my root domain is :www.xyz.com
    subfolder site : http://www.xyz.com/abc/

    For a request like http://www.xyz.com/hello-world should be redirect to http://www.xyz.com/abc/hello-world.

    How can i achieve it using htaccess.

  2. Marc
    Member
    Posted 1 month ago #

    So you want your main site to be http://www.xyz.com/abc?

  3. Read https://stackoverflow.com/questions/3372344/htaccess-301-redirect-entire-site-but-with-exceptions

    You can do it with .htaccess, btu make sure to put in exceptions for wp-* folders!

Reply

You must log in to post.

About this Topic