Solved

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

Posted on 2010-11-19
4
726 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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

726 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