WordPress.org

Support

Support » Plugins and Hacks » [Plugin: Redirection] Multisite www issue

[Plugin: Redirection] Multisite www issue

  • Sam
    Member

    @kavaxtreme

    I’m experiencing an issue in a multisite installation. The domain name is not prefixed by www in Settings. Source URLs entered in the address bar without the www redirect to the Target URL exactly as expected. However, if the www is added to the same Source URL it redirects to the homepage instead.

    I tried to recreate the same issue on a non-multisite installation and found that www and non-www Source URLs both redirect perfectly.

    Is this a limitation of the plugin/WordPress, or is there a solution I can implement?

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

Viewing 1 replies (of 1 total)
  • Sam
    Member

    @kavaxtreme

    I was able to resolve this issue by adding the following lines to my .htaccess file just after “RewriteEngine On, RewriteBase /”:

    RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Redirection] Multisite www issue’ is closed to new replies.