is_wordpress
is_wordpress copied to clipboard
add other methods to check wordpress
Methods:
-
looking for wordpress in
License.txt
andreadme.html
in case of existance. -
looking for
*/wp-content/*
in the source code for static files which means it's WordPress -
looking for Wordpress keyword in the source of the page which added by plugins and also commented.
-
<!-- This site is optimized with the Yoast
-
<!-- Analytics by WP-Statistics
-
<!-- All in One SEO Pack
-
-
other source code methods
-
div class=*elementor
(should use regex for this method0) -
<section class=*elementor>
-
-
the existence of
*/wp-admin/
-
looking for
wp-login.php
andwp-trackback.php
-in /feed source code there should be <generator>https://wordpress.org/?v=X.Y.Z</generator>
or site xmlns="com-wordpress:feed-additions:1">INT</site></channel>
- in http header request :
-
X-Powered-By
-
W3 Total Cache
-
WP Rocket
-
WP SUper cache
-
wpCache
-
-
Link
- rel="https://api.w.org/"
-