Title: freemp's Replies | WordPress.org

---

# freemp

  [  ](https://wordpress.org/support/users/freemp/)

 *   [Profile](https://wordpress.org/support/users/freemp/)
 *   [Topics Started](https://wordpress.org/support/users/freemp/topics/)
 *   [Replies Created](https://wordpress.org/support/users/freemp/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/freemp/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/freemp/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/freemp/engagements/)
 *   [Favorites](https://wordpress.org/support/users/freemp/favorites/)

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/freemp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/freemp/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/freemp/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JavaScript Notifier] Php error – Undefined array key “block”](https://wordpress.org/support/topic/php-error-undefined-array-key-block/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-block/#post-17914395)
 * Fixed. Thanks again.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[JavaScript Notifier] Php error – Undefined array key “block”](https://wordpress.org/support/topic/php-error-undefined-array-key-block/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-error-undefined-array-key-block/#post-17905140)
 * Thanks for notifying.
 * Weird because `block`, if not defined, should already have been initialized as
   an empty string in line 33.
 *     ```wp-block-code
       $settings['block'] = get_option( 'javascript_notifier_block' );if ( false === $settings['block'] )	$settings['block'] = '';
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] Google indexing search results](https://wordpress.org/support/topic/google-indexing-search-results/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years ago](https://wordpress.org/support/topic/google-indexing-search-results/#post-17715026)
 * I would guess that Google recognizes that /author/* URLs respond 404 and hence
   does not index. Another thing is the sitemap. Since version 1.3.2 the users section
   is removed from the WordPress built-in sitemap but in case you’re using an external
   tool you would probably need to do that manually.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] All links lead to Not found page (404)](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/#post-17445890)
 * I just did.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] All links lead to Not found page (404)](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/#post-17444689)
 * Try adding this to your `functions.php`:
 *     ```wp-block-code
       add_filter( 'author_link', function() { return '#'; }, PHP_INT_MAX );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] All links lead to Not found page (404)](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/all-links-lead-to-not-found-page-404/#post-17440493)
 * Does adding
 *     ```wp-block-code
       add_filter('author_rewrite_rules', '__return_empty_array');
       ```
   
 * to your `functions.php` remove the permalinks after saving?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] 1.3.3 breaks names on comments (makes them all “Anonymous”)](https://wordpress.org/support/topic/1-3-3-breaks-names-on-comments-makes-them-all-anonymous/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/1-3-3-breaks-names-on-comments-makes-them-all-anonymous/#post-17434127)
 * Thanks for reporting. I removed the `get_comment_author_link`filter.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] Suppresses author name on posts, too?](https://wordpress.org/support/topic/suppresses-author-name-on-posts-too/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/suppresses-author-name-on-posts-too/#post-17408363)
 * I’ve been thinking more about your original question. Actually, there is no reason
   why the plugin should suppress the author’s name, as its only purpose is to remove
   links to the author archive. I think I will soon publish another update which
   would render the line of code from previous post obsolete…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] Suppresses author name on posts, too?](https://wordpress.org/support/topic/suppresses-author-name-on-posts-too/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/suppresses-author-name-on-posts-too/#post-17396859)
 * You might want to try adding the following line of code in your theme’s `functions.
   php`.
 *     ```wp-block-code
       add_filter( 'the_author_posts_link', function() { return get_the_author(); }, PHP_INT_MAX );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] remove users from sitemap](https://wordpress.org/support/topic/remove-users-from-sitemap/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/remove-users-from-sitemap/#post-17395596)
 * I was setting up a new local test site and was able to reproduce what you described
   above.
 * I also agree that the users section should not be rendered with the plugin activated.
   So I will soon publish a new version of the plugin with your suggestion included.
 * Thanks again for reporting!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] remove users from sitemap](https://wordpress.org/support/topic/remove-users-from-sitemap/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/remove-users-from-sitemap/#post-17389671)
 * I was just creating a test site with a test user on wordpress.com just to see
   its sitemap. From what I see, there are no users listed. Could it be that the
   users provider is disabled by default?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] remove users from sitemap](https://wordpress.org/support/topic/remove-users-from-sitemap/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/remove-users-from-sitemap/#post-17377489)
 * Hmm… true, actually. I mentioned it because it appears here:
 * [https://developer.wordpress.org/reference/hooks/wp_sitemaps_add_provider/#user-contributed-notes](https://developer.wordpress.org/reference/hooks/wp_sitemaps_add_provider/#user-contributed-notes)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] remove users from sitemap](https://wordpress.org/support/topic/remove-users-from-sitemap/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/remove-users-from-sitemap/#post-17377003)
 * Good point, thanks!
 * What about adding this as well …. ?
 *     ```wp-block-code
       add_filter( 'wp_sitemaps_register_providers',
       	function( $providers ) {
       		unset( $providers['users'] );
       		return $providers;
       	} );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] author´s site still appears instead of 404 page](https://wordpress.org/support/topic/authors-site-still-appears-instead-of-404-page/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/authors-site-still-appears-instead-of-404-page/#post-17374416)
 * The plugin identifies an author archive by either looking for the query string‘
   author’ (e.g. as in [http://webxxx/?author=1](http://webxxx/?author=1)) or evaluating
   the is_author() function provided by WordPress. If webxxx/author/adminxxx were
   an author archive, is_author() would return ‘true’, but it obviously is not recognized
   as such by WordPress.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Disable Author Archives] jQuery Error with Avada layouts for content](https://wordpress.org/support/topic/jquery-error-with-avada-layouts-for-content/)
 *  Plugin Author [freemp](https://wordpress.org/support/users/freemp/)
 * (@freemp)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/jquery-error-with-avada-layouts-for-content/#post-15753462)
 * Hi [@doffine](https://wordpress.org/support/users/doffine/),
 * one possible reason for the error might be that the hash character (`#`) the 
   plugin returns instead of the author link, is used in a jQuery without either
   being wrapped in quotes or escaped by `\\`.
 * A good starting point would be to check where your theme uses author links.

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

1 [2](https://wordpress.org/support/users/freemp/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/freemp/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/freemp/replies/page/2/?output_format=md)