The MU forums have moved to

Broken links have got me down (6 posts)

    Posted 15 years ago #


    I have recently installed WPMU 2.6.5 on our server.
    After taking care of some DNS issues we are creating and publishing blogs. However, all images placed in a blog result in broken links. I have read and re-read the readme file, reviewed my httpd.conf and php.ini files, stared unblinkingly at my .htaccess file, all with no success.

    1) Wildcard domains are defined and DNS is happy
    2) I have installed WPMU in a subdirectory of the main site.
    3) Mod_rewrite is enabled in Apache
    4) Options FollowSymLinks and AllowOverride FileInfo Options are enabled for the root directory in Apache:

    <Directory />
    Options FollowSymLinks
    AllowOverride FileInfo Options

    <VirtualHost *:80>
    DocumentRoot /var/www/vhosts/halldale
    ServerAlias *
    ErrorLog logs/halldale.error.log

    5) I am utilizing the 'generated' .htaccess file:

    RewriteEngine On
    RewriteBase /wordpress/

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off

    7) URL to site:

    Any thoughts on how to proceed?

  2. xenon2050
    Posted 15 years ago #

    Wow, that is a seriously complicated address. I know that this isn't a answer to your question, but may I ask why you use that address structure? From the makeup of your site couldn't you just use lleimback.halldale.ord? Why the extra subdomain and wordpress folder? Of if it has to be in a folder why not lleimback.halldale.ord/blogs?

    Just curious...

    Oh another question.. When you say images can you tell me where those images are stored? Are these images uploaded through WPMU or are they somewhere else?

  3. andrea_r
    Posted 15 years ago #

    Have a look at the blogs.dir folder, check the ownership.

    (I ran into this today). If it's owned by nobody and you have susexec running, it'll upload fine but the web can't see it.

  4. SteveAtty
    Posted 15 years ago #

    It throws an apache error if I try to read your blog posts:

    The requested URL /wordpress/2009/01/05/hello-world/ was not found on this server.

    Why do you have such a complicated URL and why is Wordpress sitting in a subdirectory? It really should be sitting in the root.

  5. xenon2050
    Posted 15 years ago #

    Steve: Thats what I was trying to ask. I mean that is a very complicated structure and from what I see of the site it is much more complicated than it needs to be.

  6. andrea_r
    Posted 15 years ago #

    If it can't find your permalinks then mod_rewrite isn't working or the AllowOverride FileInfo Options isn't pointing to the right spot.

    As for the address, if it's a school it may be he has no choice but to install it there.

About this Topic

  • Started 15 years ago by
  • Latest reply from andrea_r