Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • I too mistakenly set up my site as http://www.domain.com instead of domain.com, and finally found this thread, added noblogredirect and have solved my problem for the time being…however, I am concerned about how google is indexing the site now — should I go in and change the address in google webmaster tools to the non-www version?

    I really wish I had seen this before building my multisite network. Now that I have the main site as http://www.domain.com, I see that it is treated like a subdomain just like all the other subdomains in my network.

    I could rebuild. Is there any SEO issue if I just use the wp-config rule? Do I also have to add the additional file in mu-plugins?

    Thanks in advance!

    So, what should my directory structure look like? I have a vpn, with cpanel….i have the following setup:

    public_html/(wordpress contents running main site)

    should the second multisite install be at

    public_html/secondsitename/(wordpress contents running second site)

    the reason i ask is the main site uses domain mapping, all subblogs run great, domain mapping installed. when i went to use addon domain, it created secondsite.mainsite.com

    if the guts of the secondsite wordpress install are not at the root, then can i enable a separate multisite network for it? sorry for the confusion, i hope i am making myself sorta clear 🙂

    one ip
    2 separate multisite networks, not sharing databases.
    one at the root, where does the second one go and how to add it using cpanel.

    THANKS and HAPPY 2012!!!

    HI,
    Is it also true that if I have 2 ip addresses, and want to build two completely different networks, abcd.com (with its sub blogs, and its own registered domain) and efgh.com (with its subblogs and its own registered domain) (and by the way the two networks are not related in subject matter), that I should run them both off of only one of my ip addresses? I am assuming that I would have two databases (one for each network) and two wordpress installs (one for each network).

    Thread Starter adminRimma

    (@adminrimma)

    Hi Andrea! Thanks for your reply. Just to confirm (I am a cut and paste person and learning sloooowly), the correct syntax would be:

    function exclude_category($query) {
    if ( $query->is_home ) {
    $query->set('cat', '-/news/');
    }
    return $query;
    }
    add_filter('pre_get_posts', 'exclude_category');

    I learned most everything I know by reading your responses to everybody’s questions! Big thanks!

    Forum: Fixing WordPress
    In reply to: RSS Widget

    I’m having a similar issue. I don’t get the dropped html, but I do get the “missing offer id cookie” error on clickthrough.

    Would be very happy to hear about a fix or a nudge in the right direction.

    Thread Starter adminRimma

    (@adminrimma)

    Fatal error: Out of memory (allocated 29360128) (tried to allocate 7680 bytes) in /home/appmarke/public_html/wp-includes/class-simplepie.php on line 13017

    That was one of the memory errors. I had additional memory errors on my install, and they fixed it over at my service provider – a vps (about $90/month). I had them enable the GD Library so that my main blog’s theme (the wpmudev Network theme) could use timthumb to pull images to the main site (although those images are still not being pulled).

    I feel like Alice, falling down the rabbit hole…am wondering if I should just do a complete fresh install, but am not sure it will help. Right now I have the site live, with the subdomain setup, but NO plugins running at all.

    Thread Starter adminRimma

    (@adminrimma)

    Hi
    It was custom-field-template and I was using it to add meta-data to my post – subtitle, price, etc. to my review-based site (doing app reviews). I wanted an easy to use interface so that others who want to create app review blogs on my site can do so, using the child template I created with Twenty Eleven. I did not have any problems with it on my local install, but when I went live, I had some strange issues…including a lot of memory errors.

    Thread Starter adminRimma

    (@adminrimma)

    I did not upgrade, this is a fresh install. I only had one plugin activated on the site so far – custom fields template – and, you guessed it, I deactivated it and voila! No more hanging when I hit publish.

    Thanks for your help.

    Any thoughts on a custom fields plugin that *works* ? I can of course not use a plugin and create my custom fields on my own…probably best, right?

    Thanks again for your timely reply!!!

    Thread Starter adminRimma

    (@adminrimma)

    <article id=”post-249″ class=”post-249 nav_menu_item type-nav_menu_item status-publish hentry”>

    The above is the the post that is showing up since it is of type nav_menu_item (there are additional ones as well, since I have multiple nav menu items. If I remove the ‘nav_menu_item’ from the array, my nav menu does not display on category or tag archive pages.

    Should I just exlude this post-type from the loop? If so, how do I do that? Thanks in advance!!!

    Thread Starter adminRimma

    (@adminrimma)

    After much head-scratching, I have used the following code to display my custom post-type ‘review’ on my index/home page AND on my category archive pages. The problem is the ‘menu_nav_item’ addition causes additional “posts’ to show on my index/home page that were created when I created my menu! I am very confused. Please help! I have incuded my code in my child functions file:

    add_filter('pre_get_posts', 'query_post_type');
    function query_post_type($query) {
      if(is_category() || is_tag() || is_home() && empty( $query->query_vars['suppress_filters'] ) )  {
        $post_type = get_query_var('post_type');
    	if($post_type)
    	    $post_type = $post_type;
    	else
    	    $post_type = array('post','review','nav_menu_item');
        $query->set('post_type',$post_type);
    	return $query;
        }
    }

    Thread Starter adminRimma

    (@adminrimma)

    Thanks esmi for your reply! I do have a child theme set up. I have added the following line & it works. Is this OK? Just to make sure.

    add_filter( 'pre_get_posts', 'my_get_posts' );
    
    function my_get_posts( $query ) {
    
    	if ( is_home() && false == $query->query_vars['suppress_filters'] )
    		$query->set( 'post_type', array( 'post', 'review' ) );
    
    	return $query;
    }
    Forum: Fixing WordPress
    In reply to: Post limitations?

    I would like to do the same thing, and have tried editing my functions.php file and saving it as a child theme file…however, it is completely ignored. Help?

    Does anyone have an answer for this? I am wondering the same thing…Thanks!

Viewing 13 replies - 1 through 13 (of 13 total)