301 redirects to www send me to a sign-up page

Problem Description

Since WordPress is configured to respond at www.yourdomain.com and you've set it up as multisite, WordPress is looking for a different installation on the www subdomain (not knowing that they're configured to be one and the same). When it doesn't find a separate WordPress install there, it automatically redirects to the sign-up page of the 'primary' site.

Resolution

This fix for this is to tell WordPress that you don't want it to redirect to the sign-up page when it can't find a separate WordPress install. Login via FTP or use the Plesk File Manager to edit the wp-config.php file in the folder to which WordPress is installed (for most this is simply in httpdocs). Anywhere you see define() statements, throw this in right after them:

define('NOBLOGREDIRECT','http://www.yourdomain.com');

Be sure to replace yourdomain.com with your actual domain name. You may need to clear your browser's cookies to tell it to forget about the incorrect 301 redirect. Visit www.yourdomain.com to confirm that the redirect now functions as you expect it to.

Resolution Source

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Wordpress Site Migration

BaseHost specialises in Wordpress building and hosting. Our platform is setup with specialised...

Email Migration

Email migration is a topic that comes up a lot with new clients. BaseHost utilises Office 365 for...

Billing and Payment Information

BaseHost supports Visa, MasterCard and AMEX credit card payments for our services. We do not...

I don't have Managed Services but I would like you to make a change to my site.

The simple answer to this is, no problem! We obviously have the expertise to make these changes...

How long does it take you to respond to my ticket?

BaseHost prides itself on delivering fantastic customer service experiences in every interaction...