Forum Replies Created

Viewing 15 replies - 1 through 15 (of 22 total)
  • Thread Starter ChapDaddy65

    (@chapdaddy65)

    The rewrite rules, once configured are on the bottom of the Security Dashboard.

    http://yourdomain.com/wp-admin/admin.php?page=better-wp-security

    Scroll all the way down and you should see two sections, one is the rewrite rules, the other is for wp-config.php.

    My problem is converting the rewrite rules given to Nginx.

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    apparently all I needed to do was remove the ‘endif’; and it worked…I feel much better.

    @alchymyth: I just copied the code from the codex on Multiple Loops, So I didn’t know if the ‘$do_not_duplicate = $post->ID;’ was necessary or not. I am planning on not having any duplicate posts, so I’ll just remove that line.

    And yes I have a ‘featured’ and ‘latest’ category that I’ll use to separate the posts.

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    I have setup the menu exactly like that. and the live view just lists all the pages in no dropdown fashion… I believe their is no CSS style for dropdowns yet…

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    fixed it for now… it’s weird though. I never touched wp-config.php and yet it somehow forgot to end the php code… amazing how just two symbols break the whole site…

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    Recent Error_Log entry:

    [09-Sep-2012 14:28:39] PHP Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/themes/ChapDaddy.me/functions.php:5) in …/public_html/wp-includes/pluggable.php on line 881

    Here’s the snippet of code the error refers too (the top, first line is actually line 5)

    <?php if (function_exists('register_sidebar'))
        register_sidebar(array(
        'name'=>'Right Sidebar',
        'before_widget' => '<div class="rightwidgets">',
        'after_widget' => '</div>',
        'before_title' => '<h2 class="widgettitle">',
        'after_title' => '</h2>',
        )); ?>

    new to php coding and very new to WP php coding…so what is the problem with line 5(1)?

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    I’m so sorry, i didn’t mean to overload with posts, I was getting just a little bit anxious and a little bit angry at WP. I’m still learning and getting to know what all I’m dealing with and will definitely tone it down on this forum.

    That means it’s getting your server’s default subdomain page. Doublecheck where it’s pointing to in your subdomain config. public_html?

    I checked and it was pointed at Public_html, the problem was in WP on the info tab of new.domain.com. the attribute had been unchecked, so i checked public and it went live. Problem solved.

    Thank you for all your help and from now on I will definitely do alot more solo troubleshooting before posting. 🙂

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    I did a little test, and its good and bad, I made all my 6 sub-domains and all of them except one was immediately created. i keep getting sent to “sub.domain.com/cgi-sys/defaultwebpage.cgi” when i visit the frontend. I have deleted and re-created this specific sub-domain site twice and get the same results.

    Any fixes?

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    I am really close to fixing my MS install; I first tried adding the wildcard subdomain in the DNS records, didn’t work. So i deleted the new subdomain site and the DNS record and added the wildcard via the subdomains page in cPanel, then i went back and created the new subdomain site again and it worked!….almost.

    I can view the dashboard but I cant visit the site itself (the frontend). now is this the time where I’m supposed to wait for a hour to let everything propagate over?

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    okay, so CloudFlare is disabled and i changed my nameservers, so now i think i might be okay for now. ill check back when something goes wrong…cause i know something will

    *~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

    I have successfully installed MS, I just added one subdomain site and now it gives me a 404 error when i visit the new subdomain site. so does that mean i just have to wait for WP to propagate over?

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    …table prefix for during installation!

    I had originally changed my table prefix to wp1_. could that have been a problem?

    Also I just installed a clean WP and for some reason the CSS isn’t loading. I am viewing in chrome and the inspect element console gave me 6 502 bad gateway errors.

    “Failed to load resource: the server responded with a status of 502 (Bad Gateway)”

    why would this happen on a clean install? I completely removed the old database and user and created a new one, so everything is new…

    Any thoughts at all?

    *~~~~~~~EDIT~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*

    I completely forgot about one crucial process that is in the way; CloudFlare. My nameservers and DNS records are all pointed and managed through CloudFlare. I’m going to disable it and see what happens.

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    im not talking to anyone directly, but it’s been 4 hours, I’m going to go ahead with the plan made out above.

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    What happens if you manually make subdomains and point them to the public_html location? That is NOT use wildcards?

    if i add new.domain.com through the subdomain page it creates a folder based upon that new subdomain name (e.g. new.domain.com gets pointed to /public_html/new)

    now I’m not sure why this happens, but when I added the wildcard subdomain through the subdomain page, every css styling (from cPanel to WP) went away and only the framework was showing. and in order to remove the wildcard i had to relogin to every cPanel page, and then after 2 minutes with the subdomain gone, it all went back to normal.

    Since I still havent uploaded any important content on my site yet, here’s what im going to do:

    1] Wipe and re-install WP
    2] Add every subdomain via cPanel [folder direction; point all subdomains to public_html or their own seperate folders?]
    3] install MS with the sub-domain method again (e.g. new.domain.com)
    4] add all the new sites

    I am taking a complete shot in the dark, so I am assuming that something is going to go wrong with this plan, so what should I do instead?

    Also I won’t wipe WP until someone replies in case their’s a easier way to fix this…

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    Are these other domains separate accounts?

    yes, each domain i have has it’s own seperate cPanel and folder, they only share one thing, their IP address, every domain I have on my VPS server shares the same IP address.

    Thread Starter ChapDaddy65

    (@chapdaddy65)

    I’m going to try and do the sub-directory method instead and see if i can successfully create my network that way, if i do come out successful, then i know something is messed up with either my mod_rewrite or how i am adding a wildcard sub-domain.

    I have been told twice now that adding the sub-domain in the DNS records is the proper way ALONG with adding it via “Add a Subdomain” in cPanel. so apparently their is no proper tutorial on how to correctly install MS.

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