Solved

Wordpress 3.0 Multisite: dashboard works but sites don't? Domain wildcard problem? Apache one?

Posted on 2010-11-19
4
716 Views
Last Modified: 2012-05-10
Hi,

I've installed Wordpress 3.0.1 on my Ubuntu server and enabled the multi-site functionality (in order to later migrate several WP blogs to one WP multi-site). So far, so good.

I'm accessing and managing the main site via http://wplinux.test.local/wp-admin. There everything works fine, I can add plugins, posts, pages, etc.

But when I want to actually view a post or a page (like http://wplinux.test.local/about/) I get errors since they can't be found!?

Also when accessing http://wplinux.test.local I get the standard Apache welcome page instead of the main WP site: "It works! This is the default web page for this server. The web server software is running but no content has been added, yet."

The same for subsites. I can access and manage them (example: http://test1.wplinux.test.local/wp-admin/) but get errors when I want to actually view a page like this one: http://test1.wplinux.test.local/2010/11/18/hello-world/

I get an 'this link seems to be broken' error ...

Here's what I did DNS wise:

I've created a new zone on my DNS server > test.local
I've added a new host: *.test.local mapped to 192.168.1.57 (my Ubuntu server) - as this page seems to suggest: http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite (step 3)
I've added 'ServerAlias *.test.local' to the 'default' (actually '000-default' for some reason) file in /etc/apache2/

So ... where did I go wrong??

Thank you very much :)

Jerome

[added:

Also: Why do the additional sites get *.wplinux.test.local addresses? Shouldn't they get *.test.local addresses?]
0
Comment
Question by:Xeronimo
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:jar3817
ID: 34172619
This is a problem with your modrewrite (in your .htaccess file). It's working for your dashboard because the /wp-admin location is a really in the filesystem and the /about url get rewritten to something like /?p=###. Try accessing the pages and posts by their id number instead to see if that works. You can change that in the dashboard under Settings - Permalinks.

Look in your apache error and access logs to see what's going on. You need to set "AllowOverride AuthConfig" in your httpd.conf file for the main site or the vhost that takes care of wordpress. I've seen problems with just allowing Authconfig, where you get a message about mod_rewrite not being allowed...if that's the case you need to change the AllowOverride to "all" rather than just "authconfig".

As for your last question, subdomain sites are created under the domain of the main wp site. If your main wp site is at "wplinux.test.local" then all subsites will be subsite.wplinux.test.local.
0
 

Author Comment

by:Xeronimo
ID: 34173389
Hi,

Thanks so far but I've now reinstalled the whole thing using sub-directories instead of sub-domains. I thought that was easier ......

Yet it isn't really. When I try to access a sub-directory I've created on the main site (example: http://linuxwp.test.local/galileo/) I get an error telling me that this page/site does not exist ... Accessing the backend of that directory doesn't work either therefore :(

I once got this running on a Windows server with IIS but I'd like to have it on Ubuntu now.

Any other suggestions??

Thanks!
0
 
LVL 26

Accepted Solution

by:
jar3817 earned 500 total points
ID: 34173535
It's the same issue, all of that relies on mod_rewrite for apache and it isn't setup right. Post your httpd.conf file so we can see how you have it setup.
0
 

Author Closing Comment

by:Xeronimo
ID: 34211221
IIt's been indeed the mod_rewrite settings in the httpd.conf!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now