Sitemap With Only 200 Members. Other Plugins

I’m Using Infinite SEO I’m more than confused with this sitemap stuff.

I want to use AWPCP XML Site Map Found Here.

http://awpcp.com/awpcp-xml-sitemap-plugin/

it needs Google XML Sitemaps plugin to work. Found Here. http://wordpress.org/plugins/google-sitemap-generator/

I want my sitemap to show ALL members. Theres a solution for groups found here.

https://wpmudev.com/forums/topic/infinity-sitemap-is-only-displaying-38-percent-of-buddypress-groups?replies=12#post-489266

How can get AWPCP + Infinite SEO to work together. Also I was too scared to even install the multi-site sitemaps plugin on this site. Will I be able to use this aswell..?

  • PC
    • WPMU DEV Initiate

    Hiya,

    Thanks for your post.

    I want to use AWPCP XML Site Map Found Here.

    http://awpcp.com/awpcp-xml-sitemap-plugin/

    Infinite SEO has got its own sitemap feature. I am not sure why you want no to use it for Sitemap purpose ? Does that not work ?

    how about for users do i just put

    define( ‘WDS_BP_USERS_LIMIT’, 1000000 );

    ?

    I am not sure if that would work. Let me check with @Vladislav on this one.

    Also I was too scared to even install the multi-site sitemaps plugin on this site. Will I be able to use this aswell..?

    Infinite SEO has got a site map feature so if you don’t want to complicate things, you don’t need the multisite maps plugin.

    Cheers

    PC

    Sales &Support

  • Vladislav
    • Dead Eye Dev

    Hello,

    Like @PC said, the Infinite SEO plugin comes with a sitemaps module on its own. Of course, you can use other plugins for this purpose, in which case you’ll want to disable the Infinite SEO sitemaps module (which means that Infinite SEO won’t be creating your sitemap, and thus it won’t be including any of your member’s profiles). It is best not to have two or more plugins doing the same thing active at the same time, as otherwise it’s very likely they’ll just clash with each other (you know, too many chefs…:wink:

    As for the WDS_BP_USERS_LIMIT define, it will indeed directly influence the top number of your user profiles included in your sitemap, so the fix mentioned in the thread should apply to your situation too, if you opt to use the Infinite SEO sitemaps module.

  • sneakheads
    • Site Builder, Child of Zeus

    Well for AWPCP the categories are not automatically put on the sitemap. Can I manually do it?

    Also I Have 2 questions.

    1) I change the buddypress title to %%bp_user_full_name%% (%%bp_user_username%%) on %%sitename%% but this only shows on the “Profile” tab of each member. The activity tab + all the others still say Members | %%sitename%% and the sitemap is indexing the regular link which is the “activity” tab and wont have my custom title. How can I make this plugin either make the title work for all tabs or make it index the profile link instead for users.

    2) I changed the user limit BUT it wont update. How can I totally delete the sitemap and make the plugin start over? (Deleting the plugin and reinstalling it didn’t work)

  • PC
    • WPMU DEV Initiate

    Maybe the define users code is wrong?

    Let me check on that with @Vladislav As the username is updating, that means the site map is refreshing fine. Not sure on why it would restrict the number of members there.

    Cheers

    PC

    Sales &Support

  • Vladislav
    • Dead Eye Dev

    Hi,

    Can we please make sure that you added the define switch to your wp-config.php *before* it says “That’s all, stop editing! Happy blogging.”? Also, if this is the case, can you please check if you have any of the roles marked for exclusion in plugin settings (Settings > Infinite SEO > Sitemaps > BuddyPress > Exclude profiles with these roles from my sitemap)?

  • sneakheads
    • Site Builder, Child of Zeus

    This is it, took out private stuff.

    <?php

    /**
    * The base configurations of the WordPress.
    *
    * This file has the following configurations: MySQL settings, Table Prefix,
    * Secret Keys, WordPress Language, and ABSPATH. You can find more information
    * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
    * wp-config.php} Codex page. You can get the MySQL settings from your web host.
    *
    * This file is used by the wp-config.php creation script during the
    * installation. You don't have to use the web site, you can just copy this file
    * to "wp-config.php" and fill in the values.
    *
    * @package WordPress
    */

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define('DB_NAME', '');

    /** MySQL database username */
    define('DB_USER', '');

    /** MySQL database password */
    define('DB_PASSWORD', '');

    /** MySQL hostname */
    define('DB_HOST', '');

    /** Database Charset to use in creating database tables. */
    define('DB_CHARSET', '');

    /** The Database Collate type. Don't change this if in doubt. */
    define('DB_COLLATE', '');

    /** The Sitemap Limits. */
    define( 'WDS_BP_USERS_LIMIT', 1000000 );
    define( 'WDS_BP_GROUPS_LIMIT', 1000000 );

    /** Buddypress */
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    /**#@+
    * Authentication Unique Keys and Salts.
    *
    * Change these to different unique phrases!
    * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}
    * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
    *
    * @since 2.6.0
    */
    define('AUTH_KEY', '');
    define('SECURE_AUTH_KEY', '');
    define('LOGGED_IN_KEY', '');
    define('NONCE_KEY', '');
    define('AUTH_SALT', '');
    define('SECURE_AUTH_SALT', '');
    define('LOGGED_IN_SALT', '');
    define('NONCE_SALT', '');

    /**#@-*/

    /**
    * WordPress Database Table prefix.
    *
    * You can have multiple installations in one database if you give each a unique
    * prefix. Only numbers, letters, and underscores please!
    */
    $table_prefix = 'wp_';

    /**
    * WordPress Localized Language, defaults to English.
    *
    * Change this to localize WordPress. A corresponding MO file for the chosen
    * language must be installed to wp-content/languages. For example, install
    * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
    * language support.
    */
    define('WPLANG', '');

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define('WP_DEBUG', false);

    // Disable display of errors and warnings
    define('WP_DEBUG_DISPLAY', false);
    @ini_set('display_errors',0);

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    /* That's all, stop editing! Happy blogging. */

    define('WP_MEMORY_LIMIT', '128M');

    /** Absolute path to the WordPress directory. */
    if ( !defined('ABSPATH') )
    define('ABSPATH', dirname(__FILE__) . '/');

    /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . 'wp-settings.php');

  • PC
    • WPMU DEV Initiate

    Hiya,

    As Ve asked before

    Can we please make sure that you added the define switch to your wp-config.php *before* it says “That’s all, stop editing! Happy blogging.”?

    Can you take lines 49-54

    /** The Sitemap Limits. */
    define( 'WDS_BP_USERS_LIMIT', 1000000 );
    define( 'WDS_BP_GROUPS_LIMIT', 1000000 );

    /** Buddypress */
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    And add them above this line

    /* That's all, stop editing! Happy blogging. */

    So it says

    /* Multisite */
    define('WP_ALLOW_MULTISITE', true);

    define('MULTISITE', true);
    define('SUBDOMAIN_INSTALL', false);
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/');
    define('SITE_ID_CURRENT_SITE', 1);
    define('BLOG_ID_CURRENT_SITE', 1);

    /** The Sitemap Limits. */
    define( 'WDS_BP_USERS_LIMIT', 1000000 );
    define( 'WDS_BP_GROUPS_LIMIT', 1000000 );

    /** Buddypress */
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    /* That's all, stop editing! Happy blogging. */

    And see if that helps !

    (Take backups before you edit the wp-config.php )

    Cheers

    PC

    Sales &Support

  • PC
    • WPMU DEV Initiate

    Hey @sneakheads

    Sorry for the delay over the weekend.

    I need to have a closer look at the issue now.

    Can you please send me your login details via our secure contact form

    1: Mark the email to my attention

    Attn: PC

    2: Include a link of this thread in the email

    3: Include FTP and WordPress super admin details.

    4: While filling the form, select “I have a different question” from the list.

    Looking forward for a response on this.

    Cheers

    PC