After automatic update of WordPress my site showing blank white page

If you find your WordPress site showing blank white page. Then try to login with example.com/wp-admin. If you can login then again try to see your website example.com. if you can see your site then it will be your site cache problem. just remove your site cache manually by ftp or file manager then then check …

After automatic update of WordPress my site showing blank white page Read More »

How to display links in a WordPress excerpt?

Allowing link in a excerpt very common issue for WordPress users. You can display excerpt link by adding this script to your theme “functions.php” file. remove_filter( ‘the_excerpt’, ‘wp_trim_excerpt’ ); function new_trim_excerpt($text) { global $post; if ( ” == $text ) { $text = get_the_content(”); $text = apply_filters(‘the_content’, $text); $text = str_replace(‘\]\]\>’, ‘]]>’, $text); $text = preg_replace(‘@<script[^>]*?>.*?</script>@si’, ”, $text); …

How to display links in a WordPress excerpt? Read More »

AdSense bad content filtering

You can filter bad content using google Profanity API. Using this API you can find out your page have bad word or not. This function will return a 1, otherwise a 0 is returned. if 0 then show AdSense ads if 1 disable your ads. This way you can save your website. from AdSense penalty.

Redirect Non WWW to WWW Using .htaccess

Redirect non www to www using your domain name RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] Or use this for any domain: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] If you have ssl enabled then add this two line for http to https redirect RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Speed up WordPress CMS Menu Loading

Overview We can customize the WordPress navigation menus with writing few lines of codes. wp_nav_menu is the WordPress menu function to display custom menus created in domain.com/wp-admin>Appearance>Menus panel . It is a must use function but it’s not perfect for all website or projects. Default menu function OK for small websites but if your site is large and have more …

Speed up WordPress CMS Menu Loading Read More »

Redirect HTTP traffic to HTTPS using an .htaccess

Create a .htaccess file then write this code you will redirect all HTTP traffic to HTTPS. ##Global Http to Https Redirect RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] If you want a single page to redirect http to https then use this code. ## single page redirect RewriteEngine On RewriteRule ^redirect-http-to-https-page\.html$ https://www.example.com/redirect-http-to-https-page.html [R=301,L]

Joomla Access Control (ACL) Does Not Save CiviCRM Access Rules

Question in Mind: How to fix Joomla and CiviCRM  Access Control (ACL) Permission for Individual Groups Why do my CiviCRM Access Permission are not save or reset automatically? How can I give access permission for CiviCRM to Manager, Administrator or Any other Group to Use?   Hi If you are having problem with Joomla Access Control …

Joomla Access Control (ACL) Does Not Save CiviCRM Access Rules Read More »