WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite URL Question (2 posts)

  1. DigitalMcGrath
    Member
    Posted 2 years ago #

    I am getting ready to launch a multisite installation of about 282 sites. Each site represents one of our locations.

    The problem I am having is the URL. Currently it is something like http://mydomain.com/123 and I want it to be something like http://mydomain.com/locationname but redirect to http://mydomain.com/123

    Can someone point me in a direction to accomplish this? I have tried using RewriteRule in the .htaccess file and that didn't seem to work.

    Thanks!

  2. This should do it. Make sure it's ABOVE the WordPress rules in your .htaccess.

    RewriteRule ^locationname(.*) http://mydomain.com/123/$1 [L,R=301]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.