• Resolved riprowan

    (@riprowan)


    I managed to get my content imported, but all of the links are broken. Just to make sure there wasn’t something wrong with the importer I created a new post with an uploaded image, and the new post / image is also broken.

    You can see the breakage at riprowan.com

    The images are being saved correctly in the correct blogs.dir folder.

    Even the hyperlinks on the site are all broken.

    I assume this has something to do with my .htaccess file, but I don’t understand what’s wrong. I created the file exactly as network setup recommended. Here is the content of my .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    Any help is appreciated. I’m stymied and frustrated :/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter riprowan

    (@riprowan)

    Even the main blog is also similarly broken (ie clicking a post title results in a 404). The main site is a default WP install with absolutely no customization at all. FYI if it helps.

    Yell at your host. the htaccess file isn’t being read.

    Thread Starter riprowan

    (@riprowan)

    Uh oh. I’m the host :/

    I’ll see what I can figure out.

    Thread Starter riprowan

    (@riprowan)

    I have the .htaccess file in the wp-content directory, with all the other WP files. That’s the right place for it, right?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I have the .htaccess file in the wp-content directory, with all the other WP files.

    No, it goes one folder up, next to wp-config.php and readme.html

    Thread Starter riprowan

    (@riprowan)

    Right – that’s actually where it was.

    I figured out the problem with my server config. Thanks for your help, everyone.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘All links (image, hyperlinks) broken’ is closed to new replies.