Forum Replies Created

Viewing 15 replies - 181 through 195 (of 195 total)
  • Thread Starter Angela

    (@angelazou)

    None of them are on. What I did with the HTACCESS file was to switch back to the ugly permalink then switch again to the pretty permanlink. Is there an htaccess file from the network setup screen? I don’t recall that when I was using Network Setup (not until it told me to swap the new code in HTACCESS and wp-config

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Do you have Skype or some IM chat? Perhaps you can take a look into my hosting account if possible.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Funny, now I’m getting a few 403 forbidden messages. The first one come from a plugin (403 when accessing wp-admin/admin.php), I didn’t suspect it had anything to do with WP. But now, when I try to change the static page (that I have set as the home page), it actually reports a 403 for /wp-admin/options-reading.php.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Yes, all the databases are there, I have verified them and also replaced any pointers to the original domain I used.

    Thread Starter Angela

    (@angelazou)

    Oh, I have no idea you guys are off this week, sorry about that. This week is kind of the golden holiday week, lots of my friend also went to vacation. No wonder it’s so quiet here. I did switch to TwentyEleven, same thing happen

    • When using full multisite config, complain of database connection error
    • When using just define( ‘MULTISITE’, true );, it allows connection and all is fine, sort of
    • What’s not fine is, like I said previously, the editor disappeared and the old TwentyTen theme disappeared

    Good news for me is that I can still manage connection to my original subdomains (currently installing WP MU as my primary site), so I guess progressive enhancement for my site doesn’t have to happen within this week. By the way, thanks for taking the time to reply.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Now I’m convinced. This is not a good thing. Themes that do not “support” multisite (perhaps with some functions and plugins) WILL NOT show up on the list of available theme and WILL NOT be able for edit. Now, WP multisite seems more of a bit hassle than helpful. Maybe it’s just the first version, really hope to see some improvement on this one.

    Note: could it be, because I’m using a non-multisite supported theme that setting up multisite is such problematic?

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Now, stranger things begin to show up. I can no longer edit my theme when this line is enabled. Once I comment it out, however, theme editor jumps right at me. I mean, this is weird, does a theme need to support multisite? (I really don’t think/hope so)

    define( 'MULTISITE', true );

    Thread Starter Angela

    (@angelazou)

    Sorry about the post (really hope there is an edit option for the posts), now I have reset the htaccess file (I still don’t think that’s the default), and just use this line:

    define( 'MULTISITE', true );

    The good news is that, even with this line enabled, WP no longer complain of a connection establishment problem.
    The bad news is that, even with this line enabled, I still do not see Network Setup under Tools.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Anyone?

    Thread Starter Angela

    (@angelazou)

    What do you mean by the DEFAULT .htaccess? I just modified it and I don’t have a backup.

    Thread Starter Angela

    (@angelazou)

    Oh, just FYI, I use a multi-language plugin, but I only have posts in English. Somehow, during the import process, not only did the importer strip out all the categories, tags, and comments, the importer thinks it’s smart enough to make the page bilingual without any bilingual content!

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    I deleted all the Word directory and replaced the original domain with the new domain in the database. However, still no luck enabling multisite. If I uncomment the multisite configuration, site will complain of a ‘database connection error’, it only works when these configurations are commented out. Now, this is disturbing.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Oh great, it’s just HTACCESS is quite an important file. I don’t really want to mess with it if I’m not 200% sure of what I’m doing. Most of them, I think, I can just remove the ‘Word/’ part. However, there is one more caveat.
    The old subfolder is in a different directory AND domain from the new folder. So, like I mentioned previously, it points to the old directory (and domain). I’m not sure, if by just removing the directory, wouldn’t that still point to the original (OLD) domain?

    # redirect_to= string fix - fixes issues with plugins that use the redirect_to= string
    RewriteCond %{QUERY_STRING} redirect_to=(.*) [NC]
    RewriteRule . - [S=30]
    
    # Login Plugins Password Reset And Redirect Conflicts Fix 1
    RewriteCond %{QUERY_STRING} action=resetpass&key=(.*) [NC]
    RewriteRule . - [S=30]
    
    # Login Plugins Password Reset And Redirect Conflicts Fix 2
    RewriteCond %{QUERY_STRING} action=rp&key=(.*) [NC]
    RewriteRule . - [S=30]
    
    # BuddyPress Logout Redirect fix - skip BPS Filters on Logout link Redirect
    # WordPress 3.0.4 or higher must be installed for this fix to work
    RewriteCond %{QUERY_STRING} action=logout&redirect_to=http%3A%2F%2F(.*) [NC]
    RewriteRule . - [S=30]
    
    # Ozh' Admin Drop Down Menu Display Fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/ozh-admin-drop-down-menu/ [NC]
    RewriteRule . - [S=30]
    
    # ComicPress Manager ComicPress Theme Image Fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/comicpress-manager/ [NC]
    RewriteRule . - [S=30]
    
    # TimThumb and all other Thumbnailer Images not displaying - Red X instead of Images
    # If your theme uses an image thumbnailer script file this fix will work to display images correctly
    # as long as thumb is part of the file name like timthumb.php, thumb.php, thumbs.php or phpthumb.php
    RewriteCond %{REQUEST_FILENAME} ^(.*)thumb(.*)$ [NC]
    RewriteRule ^(.*)$ - [S=30]
    
    # YAPB Image Display fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/yet-another-photoblog/ [NC]
    RewriteRule . - [S=30]
    
    # WordPress.com Stats Flash SWF Graph Does Not Load Fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/stats/ [NC]
    RewriteRule . - [S=30]
    
    # Status Updater plugin fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/fb-status-updater/ [NC]
    RewriteRule . - [S=30]
    
    # wp-extplorer login fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/wp-extplorer/ [NC]
    RewriteRule . - [S=30]
    
    # Adminer MySQL management tool fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/adminer/ [NC]
    RewriteRule . - [S=30]
    
    # Peters Custom Anti-Spam Image fix
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/peters-custom-anti-spam-image/ [NC]
    RewriteRule . - [S=30]
    
    # Stream Video Player - Adding FLV Videos is Blocked By BPS
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/stream-video-player/ [NC]
    RewriteRule . - [S=30]
    
    # FeedWordPress - ?update_feedwordpress= String Blocked
    RewriteCond %{QUERY_STRING} update_feedwordpress=(.*) [NC]
    RewriteRule . - [S=30]
    
    # XCloner 404 or 403 error when updating settings
    RewriteCond %{REQUEST_URI} ^/Word/wp-content/plugins/xcloner-backup-and-restore/ [NC]
    RewriteRule . - [S=30]
    
    # podPress rewrite ?feed=podcast as /feed/podcast
    # If you are using a custom slug then add the slug name to the rewriterule
    # RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
    RewriteCond %{QUERY_STRING} feed=podcast [NC]
    RewriteRule (.*) /Word/feed/podcast/$1? [R=301,L]
    
    # podPress rewrite ?feed=enhancedpodcast as /feed/enhancedpodcast
    # If you are using a custom slug then add the slug name to the rewriterule
    # RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
    RewriteCond %{QUERY_STRING} feed=enhancedpodcast [NC]
    RewriteRule (.*) /Word/feed/enhancedpodcast/$1? [R=301,L]
    
    # podPress rewrite ?feed=torrent as /feed/torrent
    # If you are using a custom slug then add the slug name to the rewriterule
    # RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
    RewriteCond %{QUERY_STRING} feed=torrent [NC]
    RewriteRule (.*) /Word/feed/torrent/$1? [R=301,L]
    
    # podPress rewrite ?feed=premium as /feed/premium
    # If you are using a custom slug then add the slug name to the rewriterule
    # RewriteRule (.*) /feed/custom-slug-name/$1? [R=301,L]
    RewriteCond %{QUERY_STRING} feed=premimum [NC]
    RewriteRule (.*) /Word/feed/premium/$1? [R=301,L]
    
    # FILTER REQUEST METHODS
    RewriteCond %{REQUEST_METHOD} ^(HEAD|TRACE|DELETE|TRACK) [NC]
    RewriteRule ^(.*)$ - [F,L]
    
    # QUERY STRING EXPLOITS
    RewriteCond %{QUERY_STRING} \.\.\/ [NC,OR]
    RewriteCond %{QUERY_STRING} boot\.ini [NC,OR]
    RewriteCond %{QUERY_STRING} tag\= [NC,OR]
    RewriteCond %{QUERY_STRING} ftp\:  [NC,OR]
    RewriteCond %{QUERY_STRING} http\:  [NC,OR]
    RewriteCond %{QUERY_STRING} https\:  [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR]
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [NC,OR]
    RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]
    RewriteCond %{QUERY_STRING} ^(.*)cPath=https://(.*)$ [NC,OR]
    RewriteCond %{QUERY_STRING} ^(.*)/self/(.*)$ [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(\[|\]|\(|\)|<|>).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(globals|encode|localhost|loopback).* [NC,OR]
    RewriteCond %{QUERY_STRING} ^.*(execute|exec|sp_executesql|request|select|insert|union|declare|drop|delete|create|alter|update|order|char|set|cast|convert|meta|script|truncate).* [NC]
    RewriteRule ^(.*)$ - [F,L]
    Thread Starter Angela

    (@angelazou)

    I found the problem now, gosh it’s really a newbie issue (I place the multisite config code at the bottom of the wp-config.php). However, when I moved it up to where it’s suppose to be, a new problem shows up.

    Originally, I was testing this WP installation in a subfolder of my web hosting account, and I accessed everything from there. However, because my webhost only support wildcard domain pointing to the full domain (www.example.com). I had no way of doing multisite with it.
    The only option I had is to move the installation to the root folder, replacing my original main site, meaning disrupting my normal traffic. After the move, I had set up everything to point to the new, full domain I have (www.example.com) instead of using the subfolder.

    Now that I finally got the multisite installation correct, I found the code to be pointing back to the OLD installation in the SUBFOLDER! Now, I can only access the site with the multisite config commented out, what should I do? I double checked the wordpress URL address and it is pointing to the full domain, but in the HTACCESS file, I’m still seeing a lot of the old subfolder address.
    How can I remove them? I’m not familiar with these rules.

    Regards,
    Angela

    Thread Starter Angela

    (@angelazou)

    Like I said, there are no errors and anything unusual, just the network setup and site panel (that is suppose to show up) are not showing up. I placed the WordPress installation at the root of my LIVE site, so I really need to get this up and running.

    Htaccess file content:

    -Indexes
    Options -Indexes
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    But there is a bunch of other rules after this I know I shouldn’t touch, and here is the multisite portion of the wp-config.php

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/';
    define( 'DOMAIN_CURRENT_SITE', 'xxx.com' );
    define( 'PATH_CURRENT_SITE', '/' );
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
Viewing 15 replies - 181 through 195 (of 195 total)