Support » Networking WordPress » Permalink error on new blogs

  • When a new site is created by a new user the permalink to their categories doesnt work.
    Instead a error message appear:
    This is somewhat embarrassing, isn’t it?
    It seems we can’t find what you’re looking for. Perhaps searching, or one of the links below, can help.

    I have found a way to fix this manually, by only updating the permalinks.
    By typing the url/usersblogurl/wp-admin/options-permalink.php

    My .htaccess:

    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.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
    </Files>
    </IfModule>

    Created a test blog:
    http://sveablogg.se/testy
    -click on category
    How can I fix this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    I have found a way to fix this manually, by only updating the permalinks.

    So you have them resave permalinks and it starts to work?

    Yes, once I resave the permalinks from the specifik users dashboard, it works. But only for that user.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Only for that user or only for that site?

    Only for that user.
    When a new user account is created, they have to do the same thing.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    You likely have a plugin that’s causing this problem. Are you using any registration plugins?

    The only plugins I use that add fields/changes the registration form is:
    Buddypress 1.6.1
    SI CAPTCHA Anti-Spam 2.7.5
    TOS

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    I doubt it’s BuddyPress, so try turning off the other two and see if it resolves?

    Tried it but it didn’t work.
    How about the .htaccess file.
    Is the code ok?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Actually … on review, no it’s not right.

    Use this one: http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

    I changed the code and it still didn’t work.

    My new .htaccess code:

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300
    
    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule  ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    When a new site is created by a new user the permalink to their categories doesnt work.
    Instead a error message appear:
    This is somewhat embarrassing, isn’t it?

    What URL are they sent to?

    They are sent to the right permalink, http://sveablogg.se/testy/category/okategoriserade/

    But the post can’t be found in the categories.

    Anyone having a solution?
    Its a big issue for all the new members in my blog community.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Permalink error on new blogs’ is closed to new replies.