View .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN MemberPress Rules | |
<IfModule mod_rewrite.c> | |
RewriteCond %{HTTP_COOKIE} mplk=([a-zA-Z0-9]+) | |
RewriteCond /var/www/somesite.com/wp-content/uploads/mepr/rules/%1 -f | |
RewriteRule ^(.*)$ - [L] | |
RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-includes|wp-content/plugins|wp-content/themes) | |
RewriteCond %{REQUEST_URI} \.(zip|gz|tar|rar|doc|docx|xls|xlsx|xlsm|pdf|mp4|m4v|mp3|ts|key|m3u8|ZIP|GZ|TAR|RAR|DOC|DOCX|XLS|XLSX|XLSM|PDF|MP4|M4V|MP3|TS|KEY|M3U8)$ | |
RewriteRule . /wp-content/plugins/memberpress/lock.php [L] |
View Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
truncate -s 0 debug.log |
View .htaccess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN Speed Optimizer by 10Web | |
# The directives (lines) between "BEGIN Speed Optimizer by 10Web" and "END Speed Optimizer by 10Web" are | |
# dynamically generated, and should only be modified via WordPress filters. | |
# Any changes to the directives between these markers will be overwritten. | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# Does browser explicitly support webp? | |
RewriteCond %{HTTP_USER_AGENT} Chrome [OR] |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defined( 'DOING_AJAX' ) && add_filter( 'litespeed_can_cdn', '__return_false' ); |
View Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp litespeed-purge all |
View Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp litespeed-option reset |
View Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://make.wordpress.org/core/handbook/tutorials/installing-a-local-server/#which-local-server-should-i-install | |
https://make.wordpress.org/core/handbook/tutorials/installing-a-local-server/xampp/ | |
https://www.apachefriends.org/ | |
https://www.apachefriends.org/add-ons.html | |
https://themeisle.com/blog/install-xampp-and-wordpress-locally/ |
View Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://make.wordpress.org/core/handbook/tutorials/installing-a-local-server/mamp/ | |
https://www.mamp.info/en/downloads/ | |
https://documentation.mamp.info/en/MAMP-Windows/Installation/index.html | |
https://documentation.mamp.info/en/MAMP-Windows/How-Tos/WordPress/index.html | |
https://documentation.mamp.info/en/MAMP-Mac/Installation/index.html | |
https://documentation.mamp.info/en/MAMP-Mac/FAQ/How-do-I-install-WordPress/ |
View Cron events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
siteground_optimizer_database_optimization_cron | |
siteground_optimizer_check_assets_dir |
View functions.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'sg_file_caching_preheat_url_limit', 'sgo_preheat_limit' ); | |
function sgo_preheat_limit( $xml_urls ) { | |
// Define custom limit for XML URL preheat. | |
$xml_urls = 100; | |
return $xml_urls; | |
} |
NewerOlder