Title: askapache's Replies | WordPress.org

---

# askapache

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

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

 Search replies:

## Forum Replies Created

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

1 [2](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/askapache/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/askapache/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/askapache/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AskApache Password Protect] Fatal error following up date to 4.7](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/)
 *  Plugin Author [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/#post-9687269)
 * Getting closer to 4.8 – eta 1m
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AskApache Password Protect] Fatal error following up date to 4.7](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/)
 *  Plugin Author [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/#post-9645205)
 * Humblest apologies. Other than deleting your whole site, this is the worst class
   of bug.
 * Working on 4.8 now, its going to be a spectacular improvement 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AskApache Password Protect] Fatal error following up date to 4.7](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/)
 *  Plugin Author [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-following-up-date-to-4-7/#post-9644225)
 * Patch sent. Deepest apologies.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AskApache Password Protect] Good idea, shame it doesn’t work](https://wordpress.org/support/topic/good-idea-shame-it-doesnt-work/)
 *  Plugin Author [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/good-idea-shame-it-doesnt-work/#post-9638912)
 * Will have a larger update 4.8 by next week. I jumped the gun on releasing this
   version. Will fix it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [_wp_link_placeholder in the Link Tool Options](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/#post-7309305)
 * Here’s a simple fix for at least preventing these links from showing up publically..
   haven’t found a fix for the editors yet.
 *     ```
       /*
        * Never allow link placeholders to show up
        */
       function askapache_filter_link_placeholder( $content ) {
       	if ( isset( $content[10] ) && strpos( $content, '_wp_link_placeholder' ) !== false ) {
       		// remove links to /_wp_link_placeholder by replacing them with WP_SITEURL
       		return preg_replace( '#_wp_link_placeholder#', WP_SITEURL, $content );
       	}
       	return $content;
       }
       add_filter( 'the_content', 'askapache_filter_link_placeholder' );
       add_filter( 'the_content_feed', 'askapache_filter_link_placeholder' );
       add_filter( 'get_the_content', 'askapache_filter_link_placeholder' );
       add_filter( 'the_excerpt', 'askapache_filter_link_placeholder' );
       add_filter( 'content_save_pre', 'askapache_filter_link_placeholder' );
       add_filter( 'excerpt_save_pre', 'askapache_filter_link_placeholder' );
       ```
   
 * And then in `robots.txt`
 *     ```
       Disallow: /_wp_link_placeholder
       ```
   
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Petition to remove the Inline Linking tool from WP 4.5](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/page/3/#post-7285037)
 * Here is one thing I did to prevent these _wp_link_placeholder links from showing
   up publically..
 *     ```
       /*
        * Never allow link placeholders to show up
        */
       function askapache_filter_link_placeholder( $content ) {
       	if ( isset( $content[10] ) && strpos( $content, '_wp_link_placeholder' ) !== false ) {
       		// remove links to /_wp_link_placeholder by replacing them with WP_SITEURL
       		return preg_replace( '#_wp_link_placeholder#', WP_SITEURL, $content );
       	}
       	return $content;
       }
       add_filter( 'the_content', 'askapache_filter_link_placeholder' );
       add_filter( 'the_content_feed', 'askapache_filter_link_placeholder' );
       add_filter( 'get_the_content', 'askapache_filter_link_placeholder' );
       add_filter( 'the_excerpt', 'askapache_filter_link_placeholder' );
       add_filter( 'content_save_pre', 'askapache_filter_link_placeholder' );
       add_filter( 'excerpt_save_pre', 'askapache_filter_link_placeholder' );
       ```
   
 * And then in `robots.txt`
 *     ```
       Disallow: /_wp_link_placeholder
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [_wp_link_placeholder in the Link Tool Options](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/#post-7309217)
 * :0 Turned out to be 5% user-error, 90% lack of UX/scope, and 5% lack of real-
   world QC IMO.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Petition to remove the Inline Linking tool from WP 4.5](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/page/2/#post-7284994)
 * :0 Turned out to be 5% user-error, 90% lack of UX/scope, and 5% lack of real-
   world QC IMO.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [_wp_link_placeholder in the Link Tool Options](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/#post-7309215)
 * [https://core.trac.wordpress.org/ticket/36637](https://core.trac.wordpress.org/ticket/36637)
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Petition to remove the Inline Linking tool from WP 4.5](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/page/2/#post-7284993)
 * [https://core.trac.wordpress.org/ticket/36637](https://core.trac.wordpress.org/ticket/36637)
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Petition to remove the Inline Linking tool from WP 4.5](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/petition-to-remove-the-inline-linking-tool-from-wp-45/page/2/#post-7284992)
 * fix??? My clients are pissed and now I’m having to debug 4.5 code on a fri night…
   I’ll post the fix when I get it
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [_wp_link_placeholder in the Link Tool Options](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years ago](https://wordpress.org/support/topic/_wp_link_placeholder-in-the-link-tool-options/#post-7309213)
 * This is happening on several of my sites as well… working on a fix now.. This
   is actually the 2nd tinymce-related bug I’ve found so far that should have blocked
   the release of 4.5.
 * Bug seems to be from `wp-includes/js/tinymce/plugins/wplink/plugin.js` or `wp-
   includes/js/wplink.js`
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirect Entire Site to HTTPS](https://wordpress.org/support/topic/redirect-entire-site-to-https/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/redirect-entire-site-to-https/#post-7043994)
 * Ok actually I just used my headers tool to check https:// wakeup and there is
   definitely a problem other than htaccess.
 * You need to find the error log for apache, and then paste in the relevant lines
   here. A 400 Bad Request error is indicative of a more serious problem than just
   a https => http redirect, or any redirect. You should also paste in your entire
   htaccess file (cleaning it to remove any identifiable strings).
 * Until this issue is resolved your site will be fubar
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Redirect Entire Site to HTTPS](https://wordpress.org/support/topic/redirect-entire-site-to-https/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/redirect-entire-site-to-https/#post-7043993)
 * Code from Dipak is in the right direction, but I’d reverse the blocks. So:
 *     ```
       <IfModule mod_rewrite.c>
       # BEGIN Force http to https
       RewriteEngine On
       RewriteCond %{HTTPS} !=on
       RewriteRule ^(.*) https://%{HTTP_HOST}/$1 [R=301,L]
       # END Force http to https
       </IfModule>
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 * But I really think your problems root cause/culprit is in your database. I posit
   that your db still has a ton of links to http references, such as to your media
   files like images. What you need to do is search your entire db for references
   to `http://` and replace with `https://`. It’s not enough to just setup redirects
   to https, you need to link to https everywhere.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[AskApache Google 404] Pathetic plugin. waste of time](https://wordpress.org/support/topic/pathetic-plugin-waste-of-time/)
 *  Plugin Author [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/pathetic-plugin-waste-of-time/#post-7906045)
 * 5.0.2 fixes the issues with the previous versions. What exactly did you dislike?

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

1 [2](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/askapache/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/askapache/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
[10](https://wordpress.org/support/users/askapache/replies/page/10/?output_format=md)
[→](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)