Changeset 1754517
- Timestamp:
- 10/28/2017 08:14:05 PM (8 years ago)
- Location:
- askapache-google-404/trunk
- Files:
-
- 3 edited
-
404.php (modified) (2 diffs)
-
askapache-google-404.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
askapache-google-404/trunk/404.php
r1475134 r1754517 4 4 * @subpackage Default_Theme 5 5 * 6 * created by AskApache.com for http ://www.askapache.com/seo/404-google-wordpress-plugin.html6 * created by AskApache.com for https://www.askapache.com/seo/404-google-wordpress-plugin/ 7 7 */ 8 8 … … 21 21 22 22 23 exit; 24 25 exit(); 23 die(); 26 24 27 25 -
askapache-google-404/trunk/askapache-google-404.php
r1475142 r1754517 6 6 * Author: askapache 7 7 * Contributors: askapache 8 * Version: 5.1. 19 * Updated: 08/16/20168 * Version: 5.1.2 9 * Updated: 10/28/2017 10 10 * Requires at least: 3.3 11 * Tested up to: 4. 5.311 * Tested up to: 4.8.2 12 12 * 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.html13 * 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/ 17 17 * 18 18 * … … 56 56 * @var bool 57 57 */ 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' ) ) ); 59 59 60 60 -
askapache-google-404/trunk/readme.txt
r1475141 r1754517 1 1 === AskApache Google 404 === 2 2 Contributors: askapache 3 Donate link: http ://www.askapache.com/donate/3 Donate link: https://www.askapache.com/about/donate/ 4 4 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 5 5 Requires at least: 3.3 6 Tested up to: 4. 5.37 Stable tag: 5.1. 16 Tested up to: 4.8.2 7 Stable tag: 5.1.2 8 8 9 9 … … 14 14 This new version also adds Adsense paying 404 pages 15 15 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/) 17 17 18 Read the [.htaccess Tutorial](http ://www.askapache.com/htaccess/htaccess.html".htaccess File Tutorial") for more information on the advanced error logs.18 Read the [.htaccess Tutorial](https://www.askapache.com/htaccess/ ".htaccess File Tutorial") for more information on the advanced error logs. 19 19 20 20 21 21 == Installation == 22 22 23 This section describes how to install the plugin and get it working. http ://www.askapache.com/seo/404-google-wordpress-plugin.html23 This section describes how to install the plugin and get it working. https://www.askapache.com/seo/404-google-wordpress-plugin/ 24 24 25 25 1. Upload the zip file to the /wp-content/plugins/ directory and unzip. … … 42 42 My 404.php page isn't being served for 404 Not Found errors!? 43 43 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.44 Add 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. 45 45 46 46 ErrorDocument 404 /index.php?error=404 … … 49 49 Fixing Status Headers 50 50 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").51 For 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"). 52 52 53 53
Note: See TracChangeset
for help on using the changeset viewer.