Forum Replies Created

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter sjbenson

    (@sjbenson)

    azlanerealty.net/test but its just a wp 403 page.

    define('DB_NAME', 'azl1210307455733');

    that’s the line in wp-config. And wp_config has salts set.

    I disabled all the themes and plugins. I’m still working through your book. But I was considering doing a reinstallation since I’ve pretty much nothing to loose at this point. but I will restore twenty eleven and styles so you can see what I’m talking about. Probably will do that later today since I don’t have time at the moment. But I thought I’d show you the db name anyhow.

    Though looking through it again, I think the prefix is wp_ so that probably isn’t the issue.

    Thread Starter sjbenson

    (@sjbenson)

    BTW, I read your multisite ebook and noticed the thing about the database and numbers in the name being bad. When I installed WP it auto generated a DB that has numbers in the name. I’m wondering if that’s my problem?

    Edit: And if that may be the case, all I need to is change the name of the database and put the new name in wp_config.php, correct?

    I noticed that twenty eleven is having problems with the style sheet–that’s what made me wonder if maybe the database was the issue. Permalinks seem to be working fine. The only trouble I’m having is the folder site with no domain to map won’t work and the media won’t appear on the second site, even though I can locate it on the ftp. Could those both be due to the DB?

    Thread Starter sjbenson

    (@sjbenson)

    I put it above the section I linked and the whole site went down.

    I put it after and no change.

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    
    Options +FollowSymLinks
    
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^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]
    </IfModule>

    This is the current .htaccess file. This is slightly different than what it was when I first tried it because I was trying to use a suggestion for fixing another problem I’m having with media files showing up in one of the two blogs that are working. But nothing changed either way.

    Thread Starter sjbenson

    (@sjbenson)

    Done. I assume you meant before rewritengine on and the loading of all the modules?

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>

    LOL, or not. Will retry UNDER that section.

    Edit: Okay, keyed that line in under the aforementioned section.

    Thread Starter sjbenson

    (@sjbenson)

    Problem solved! Everything is up and running again! Thank you so much for your help and patience!

    Thread Starter sjbenson

    (@sjbenson)

    P.S. Thank you so much for your help!

    Thread Starter sjbenson

    (@sjbenson)

    Lol, no, I do get that much (about WP being separate.)

    The aName for both sites is pointing to the same ip address (this much I checked repeatedly.) The DNS nameservers was what I was referring to. I sent the last post from my iphone.

    I’m going to go through the host’s documentation to see if I can figure that out. Contacting the host is a bit difficult since I’ll have to do it through my aunt… doable, but a pain in the @$$.

    Thread Starter sjbenson

    (@sjbenson)

    In the DNs zone editor it lists two DNS entries for each of the domains. Should I change the one to match the other then? They basically are the same except for the end which is numerical, 49 and 50 for one and 51-52 for the other.

    Thread Starter sjbenson

    (@sjbenson)

    So… I don’t know if this is actually the problem or not, but I noticed that when I enter the second domain, the one I want to redirect, it actually seems to be sending me to a specific folder that doesn’t have anything on it. So should I be putting a .php file in that folder to send it back to the root? Maybe that’s what I’ve been missing all along?

    Thread Starter sjbenson

    (@sjbenson)

    Okay, reinserted it. Now we’re up and running again. Still can’t get the second domain to point at the second blogsite, but at least it’s something, lol!

    Thread Starter sjbenson

    (@sjbenson)

    Did that already. 🙂 Hopefully correctly, lol! I have the plugin activated and it has domain mapping as an option in my network admin.

    I added the domain. I removed all the redirects I could find on .htaccess just to start it from scratch. I tried to make sure there were no more references in the mainsite zone to confuse the second site zone in the DNS Manager. I used the ftp method for the domain, but it doesn’t appear to be working. I have no idea how to make the cName method work… still looking at it but I think I’m just confusing myself.

    Edit: on the mainsite zone I removed an aname entry that I think created the subdomain, because now it’s not working again. Will reinsert, hopefully it doesn’t take too long to propagate.

    Thread Starter sjbenson

    (@sjbenson)

    Ah, halleluiah! I have access to the second site finally!

    LOL!

    Okay, now, I don’t know if you can help show me how to map the aliased domain to the site?

    All I did was change the wp-config.php line

    define( 'SUBDOMAIN_INSTALL', false );

    from true to false. Now, even with my redirect rules in place, it doesn’t seem to be sending the domain where I want it to go. I uncommented my redirect rules but that didn’t really change anything.

    At least I can start setting the second site up in the mean time, anyway.

    Edit: I had re-inserted the subdomain at the hosting control panel before I changed the wp-config.php–long story. The second site is pointing at the subdomain now. Why would that be if I’ve deactivated subdomain in multi-site? LOL!

    Edit again: I finally located the dns manager for the second domain. Should I edit any CNAME entries to make this map correctly?

    Thread Starter sjbenson

    (@sjbenson)

    I think I will try to reinstall and do subfolders instead. That seems less… confusing. I will learn all the rewrite rules but if mapping the domain to a subfolder works just as well… will update.

    Thread Starter sjbenson

    (@sjbenson)

    okay… will try that. Thank you for your time and patience. I will update my results as soon as I’ve given that a shot.

    Thread Starter sjbenson

    (@sjbenson)

    well… yeah… was that my mistake? I did it through the host’s web interface.

    I can easily delete it.

    Update: just for the heck of it, I removed the entry from the host’s web host manager. Didn’t change a thing.

    LOL, I told you I was in over my head… every other project I’ve worked on was just small code tweaks and each of the sites had their own ftp roots. I’m a tad ignorant… and, yeah, I know I need to learn more before trying stuff like this, but I had no idea I’d be doing anything but tweaking the theme code for her. But apparently I’m not the first one to have this problem while dealing with this project… the last person gave up several years ago.

Viewing 15 replies - 1 through 15 (of 24 total)