Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have installed a multi-site installation of WordPress onto my domain. I then added the necessary code to the wp-config.php file and .htaccess as instructed by WordPress.

I also installed a plugin called Quick Page/Post Redirect Plugin which allowed me to place a 301 redirect onto the main domain as I only want to use the sub domain and not the main domain. Then I also added the following line of code to the wp-config.php file to redirect the main domain define( 'NOBLOGREDIRECT', 'URL Redirect Address' );

The site works fine with a redirect on the main domain and my subdomain runs fine when you type in or

However when I enter or the following error message is returned:

Not Found

The requested URL / was not found on this server.

Apache/2.4.9 (Unix) Server at Port 80

Any help with this would be much appreciated.

share|improve this question
It's normal because www is a subdomain of, you can add a new redirect to your subdomain if want to. – Zistoloen Jun 3 '14 at 13:34
The address for your subdomain is, there is no www in front of a subdomain, you'll need to add a redirect as Zistolen suggests, to redirect to – eyoung100 Jun 3 '14 at 13:52
Thanks for this. How would I add the re-direct? – Chris Jun 3 '14 at 14:15
How did you create the subdomain, are you using cPanel? – Stephen Ostermiller Jun 3 '14 at 20:02
I created the subdomain using wordpress multi site installation. I didn't make any changes myself on the server, therefore there is only 1 httaccess file for both the subdomain and the domain. – Chris Jun 4 '14 at 8:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.