WordPress.org

Support

Support » Multisite » Links to pages goes to the main site's static page

Links to pages goes to the main site's static page

Viewing 15 replies - 1 through 15 (of 28 total)
  • Moderator Andrea Rennick
    Moderator

    @andrea_r

    Go resave the permalinks on the main blog.

    horrorshow
    Member

    @horrorshow

    Andrea, on the main blog, I tried saving permalinks from settings -> Permalinks -> [Save Changes]
    Changed it to default, [Save Changes], and then also tried changing it to: “Day and name” [Save Changes].

    That didn’t work either. Any other suggestions? I am wondering if my .htaccess is misconfigured.

    Thanks,

    horrorshow
    Member

    @horrorshow

    I’ve also tried the following Permalink Settings: “Custom Structure /blog/%pstname%/”

    But I am seeing the same behavior.
    Any suggestions..? thanks

    This is what the .htaccess looks like:

    RewriteEngine On
    RewriteBase /
    
    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-signup\.php*
    RewriteCond %{HTTP_REFERER} !.*achillesblog.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://die-spammers.com/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [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]

    horrorshow
    Member

    @horrorshow

    I’ve also tried editing and saving the permalinks on each of the pages. The new permalinks show up in the “Pages” plugin. (e.g. http://achillesblog.com/about/ to http://achillesblog.com/about2/) But when you click on the link, it just redirects to the main page. typing the URL directly as: http://achillesblog.com/about/ just gets redirected to http://achillesblog.com

    I am a little stumped here, as I don’t think I’ve gotten this stuck during an upgrade. I may have to revert back to 2.7.

    Moderator Andrea Rennick
    Moderator

    @andrea_r

    When you upgraded, did you go to 2.9.2 first? And then 3.0.3? Because going straight from way back there to current is not recommended.

    Also, do some basic troubleshooting like turning off your plugins and checking the links.

    It’s not wordpress – it’s either whatever got funky during upgrading or your plugins.

    Moderator Ipstenu (Mika Epstein)
    Keymaster

    @ipstenu

    You’re using SubFolders … Try this .htaccess instead:

    # BEGIN ANTISPAMBLOG REGISTRATION
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} POST
    RewriteCond %{REQUEST_URI} .wp-signup\.php*
    RewriteCond %{HTTP_REFERER} !.*achillesblog.com.* [OR]
    RewriteCond %{HTTP_USER_AGENT} ^$
    RewriteRule (.*) http://die-spammers.com/ [R=301,L]
    # END ANTISPAMBLOG REGISTRATION
    
    # 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
    horrorshow
    Member

    @horrorshow

    I’ve tried the new .htaccess, and I am still seeing the same problem.

    Andrea, yes, unfortunately, it was a straight upgrade from 2.7 to 3.0.3.
    I am wondering if I should revert back to 2.7 and upgrade to 2.9.2 first.
    Reverting back to the old files isn’t too much of a hassle, but it’s not going to be fun reverting back to the old database copy. sigh..

    Is there anything else that I can try, before going back to 2.7? thanks

    Moderator Ipstenu (Mika Epstein)
    Keymaster

    @ipstenu

    As Andrea said:

    Also, do some basic troubleshooting like turning off your plugins and checking the links.

    Turn ’em all off, see if it works. If not, try the revert.

    horrorshow
    Member

    @horrorshow

    Turning off plugins didn’t work. Now, I am going to have to revert back to 2.7.

    Since the users have been using the site since the upgrade, (the user blogs are working fine..), there’s going to be loss of user content since the upgrade. Yes, it’s my fault for not being careful with the upgrade. 🙁

    What does the Super Admin -> Update -> “Update Network” do exactly?
    I want to see if I can just upgrade the files and leave the database alone.

    On second thought, my spider senses tell me that I should just go back exactly to the way it was and then carefully upgrade one step at a time..

    Moderator Andrea Rennick
    Moderator

    @andrea_r

    What does the Super Admin -> Update -> “Update Network” do exactly?
    I want to see if I can just upgrade the files and leave the database alone.

    It upgrades the site’s db tables. It does *nothing* to the files.

    and then carefully upgrade one step at a time..

    That’s the recommend way to upgrade.

    horrorshow
    Member

    @horrorshow

    It upgrades the site’s db tables. It does *nothing* to the files.

    Thanks Andrea. The reason that I was asking about the “Update Network” is because I wanted to know if it’s possible to revert the DB changes back to the way it was, without actually going back to my backups. Or leave the DB in 3.0.3 state and revert the files back to 2.7.

    Thinking about it some more, it’s most likely that the upgrade procedure isn’t robust enough (or designed) to be able to do that easily. And to understand the inner workings of the “Update Network” DB changes and undo those changes will probably take a considerable amount of time. So it’s probably just best to do the 2.7 – 2.9.2 – 3.0.3 upgrade instead.

    Moderator Ipstenu (Mika Epstein)
    Keymaster

    @ipstenu

    Oddly, someone recently said they went from 2.1 to 3.0 on SingleSite without a hitch. The problem is 2.7 was MU, which was a fork of ‘regular’ WordPress. It wasn’t till 2.9.2 that they specially got their ducks lined up to handle the MU -> WordPress jump.

    Moderator Andrea Rennick
    Moderator

    @andrea_r

    And to understand the inner workings of the “Update Network” DB changes and undo those changes will probably take a considerable amount of time. So it’s probably just best to do the 2.7 – 2.9.2 – 3.0.3 upgrade instead.

    Actually, in some version, clicking that button did very little (we foudn this out later). The only db changes that I know of was for a comment meta table to be added.

    You *might* get away with just putting the files back and continuing. But it may or may not create new issues. Depends on how daring you feel.

    horrorshow
    Member

    @horrorshow

    You *might* get away with just putting the files back and continuing. But it may or may not create new issues. Depends on how daring you feel.

    Ah, that’s a very tempting suggestion, but I am going to listen to my spider senses and re-do the upgrade, even if I have to manually add back 2 days of postings and comments by hand..

    Found archived wordpress-mu releases at: http://trac.mu.wordpress.org/browser/tags

    horrorshow
    Member

    @horrorshow

    It looks like upgrade from 2.7 to 2.9.2 is causing the exact same problems on the site. I am going to try to upgrade from 2.7 to 2.8.3

    I understand that http://trac.mu.wordpress.org/changeset/1937/tags/2.7.1?old_path=%2F&format=zip is the WordPress MU 2.7.1 Archive Link.

    What are the other direct links for 2.8.3 and 2.9.2 version archives?

    I’ve tried browsing the trac, and it looks like the release for 2.8.3 is 1930, which is lower than 2.7.1’s release number.. and that doesn’t seem to make sense. Are there links for .tgz files as well? thanks. I am not very familiar with trac.

    thanks for your help.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Links to pages goes to the main site's static page’ is closed to new replies.