Plugin Directory

Changeset 1754517


Ignore:
Timestamp:
10/28/2017 08:14:05 PM (8 years ago)
Author:
askapache
Message:

5.1.2 - version update and utilize die instead of exit

Location:
askapache-google-404/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • askapache-google-404/trunk/404.php

    r1475134 r1754517  
    44 * @subpackage Default_Theme
    55 *
    6  * created by AskApache.com for http://www.askapache.com/seo/404-google-wordpress-plugin.html
     6 * created by AskApache.com for https://www.askapache.com/seo/404-google-wordpress-plugin/
    77 */
    88
     
    2121
    2222
    23 exit;
    24 
    25 exit();
     23die();
    2624
    2725
  • askapache-google-404/trunk/askapache-google-404.php

    r1475142 r1754517  
    66 * Author: askapache
    77 * Contributors: askapache
    8  * Version: 5.1.1
    9  * Updated: 08/16/2016
     8 * Version: 5.1.2
     9 * Updated: 10/28/2017
    1010 * Requires at least: 3.3
    11  * Tested up to: 4.5.3
     11 * Tested up to: 4.8.2
    1212 * Tags: google, 404, 404-1, 0-404, 0404, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic, oops
    13  * WordPress URI: http://wordpress.org/extend/plugins/askapache-google-404/
    14  * Author URI: http://www.askapache.com/
    15  * Donate URI: http://www.askapache.com/donate/
    16  * Plugin URI: http://www.askapache.com/seo/404-google-wordpress-plugin.html
     13 * WordPress URI: https://wordpress.org/extend/plugins/askapache-google-404/
     14 * Author URI: https://www.askapache.com/
     15 * Donate URI: https://www.askapache.com/about/donate/
     16 * Plugin URI: https://www.askapache.com/seo/404-google-wordpress-plugin/
    1717 *
    1818 *
     
    5656     * @var bool
    5757     */
    58     define( 'AA_G404_HAS_ISCLOG', (bool) ( defined( 'ISC_DEBUG' ) && ISC_DEBUG && class_exists( 'ISCLOG' ) ) );
     58    define( 'AA_G404_HAS_ISCLOG', (bool) ( defined( 'ISC_DEBUG_AA' ) && ISC_DEBUG && class_exists( 'ISCLOG' ) ) );
    5959
    6060
  • askapache-google-404/trunk/readme.txt

    r1475141 r1754517  
    11=== AskApache Google 404 ===
    22Contributors: askapache
    3 Donate link: http://www.askapache.com/donate/
     3Donate link: https://www.askapache.com/about/donate/
    44Tags: google, 404, 404-1, 0-404, 0404, not-found, missing, lost, error, htaccess, ErrorDocument, notfound, ajax, search, seo, mistyped, redirect, notify, url, news, videos, images, blogs, optimized, askapache, admin, ajax, template, traffic, oops
    55Requires at least: 3.3
    6 Tested up to: 4.5.3
    7 Stable tag: 5.1.1
     6Tested up to: 4.8.2
     7Stable tag: 5.1.2
    88
    99
     
    1414This new version also adds Adsense paying 404 pages
    1515
    16 [See it Live](http://www.askapache.com/htaccess-wordpress-404-plugins-google?robots=mod_rewrite) at [AskApache](http://www.askapache.com/)
     16[See it Live](https://www.askapache.com/htaccess-wordpress-404-plugins-google?robots=mod_rewrite) at [AskApache](https://www.askapache.com/)
    1717
    18 Read the [.htaccess Tutorial](http://www.askapache.com/htaccess/htaccess.html ".htaccess File Tutorial") for more information on the advanced error logs.
     18Read the [.htaccess Tutorial](https://www.askapache.com/htaccess/ ".htaccess File Tutorial") for more information on the advanced error logs.
    1919
    2020
    2121== Installation ==
    2222
    23 This section describes how to install the plugin and get it working. http://www.askapache.com/seo/404-google-wordpress-plugin.html
     23This section describes how to install the plugin and get it working. https://www.askapache.com/seo/404-google-wordpress-plugin/
    2424
    25251. Upload the zip file to the /wp-content/plugins/ directory and unzip.
     
    4242My 404.php page isn't being served for 404 Not Found errors!?
    4343
    44 Add this to your [.htaccess file](http://www.askapache.com/htaccess/htaccess.html "AskApache .htaccess File Tutorial") -- and read my [.htaccess Tutorial](http://www.askapache.com/htaccess/htaccess.html "AskApache .htaccess File Tutorial") for more information.
     44Add this to your [.htaccess file](https://www.askapache.com/htaccess/ "AskApache .htaccess File Tutorial") -- and read my [.htaccess Tutorial](https://www.askapache.com/htaccess/ "AskApache .htaccess File Tutorial") for more information.
    4545
    4646ErrorDocument 404 /index.php?error=404
     
    4949Fixing Status Headers
    5050
    51 For super-advanced users, or those with access and knowledge of [Apache .htaccess/httpd.conf files](http://www.askapache.com/htaccess/htaccess.html "AskApache .htaccess File Tutorial") you should check that your error pages are correctly returning a [404 Not Found HTTP Header](http://www.askapache.com/htaccess/apache-status-code-headers-errordocument.html "404 Not Found HTTP Header") and not a 200 OK Header which appears to be the default for many WP installs, this plugin attempts to fix this using PHP, but the best way is to use my .htaccess trick above.  You can check your headers by requesting a bad url on your site using my [online Advanced HTTP Header Tool](http://www.askapache.com/online-tools/http-headers-tool/ "HTTP Header Viewer").
     51For super-advanced users, or those with access and knowledge of [Apache .htaccess/httpd.conf files](https://www.askapache.com/htaccess/ "AskApache .htaccess File Tutorial") you should check that your error pages are correctly returning a [404 Not Found HTTP Header](https://www.askapache.com/htaccess/apache-status-code-headers-errordocument/ "404 Not Found HTTP Header") and not a 200 OK Header which appears to be the default for many WP installs, this plugin attempts to fix this using PHP, but the best way is to use my .htaccess trick above.  You can check your headers by requesting a bad url on your site using my [online Advanced HTTP Header Tool](https://www.askapache.com/online-tools/http-headers-tool/ "HTTP Header Viewer").
    5252
    5353
Note: See TracChangeset for help on using the changeset viewer.