[resolved] Multisite URL Question (2 posts)

  1. DigitalMcGrath
    Posted 4 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.


  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


No tags yet.