• Resolved khaos68

    (@khaos68)


    I have switched 2 wordpress sites to a multisite configuration, with both sites all the permalinks, and all file/content urls are broken. All return 404 errors.
    I have tried changing the permalink configuration to the default ( ?p=id), but it only repairs the post, tabs, categories and authors urls.
    The content still return errors for images, files, etc.

    Any idea how to fix this with Mediatemplate or which other hosting you recommend that works with wp multisite?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • There’s a line in your .htaccess file which rewrites URLs for uploaded files. Is it there? What does it contain?

    For my (subdir) installation, it looks like this:
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]

    Thread Starter khaos68

    (@khaos68)

    This is the content of my .htaccess file:

    # BEGIN WordPress
    
    Options +FollowSymLinks
    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]
    # END WordPress
    AddHandler php5-script .php

    The other fact is that when I change the permalinks configurations in my wordpress installation this file is NOT changed. Is this the correct behavior?

    Thread Starter khaos68

    (@khaos68)

    Someone at Media Template did something that makes my permalinks work again.
    I don’t like their policy of “all is working here, it must be from your side” but always they give me this type of answer all starts working like magic.
    If only they try to correct the problem at the first contact instead of sending me first urls of wordpress documentation that I already read and tried ??

    The other fact is that when I change the permalinks configurations in my wordpress installation this file is NOT changed. Is this the correct behavior?

    Just confirming that yes, that’s the correct behaviour.

    Thread Starter khaos68

    (@khaos68)

    thanks Andrea!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘permalink problems with mediatemplate host’ is closed to new replies.