Dev {Tricks}


  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / 2019 / Archives for July 2019

Archives for July 2019

July 27, 2019 by dev Leave a Comment

Show specific category posts to a page | Genesis

Add custom field name and value as follows Name: query_args Value: cat=107 here 107 is category ID

Read More

Filed Under: Genesis

July 24, 2019 by dev Leave a Comment

How to Leverage Browser Caching for Images, CSS and JS in .htaccess

Leverage browser caching specify how long web browsers should keep images, CSS and JS stored locally. Add the following lines to the .htaccess file.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##

 

Read More

Filed Under: Speed and Security Tagged With: Leverage Browser Caching

July 24, 2019 by dev Leave a Comment

Fix “Specify a Vary: Accept-Encoding Header” Warning in Apache Server

Add the following lines to your WordPress .htaccess

1
2
3
4
5
<IfModule mod_headers.c>
  <FilesMatch ".(js|css|xml|gz|html)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>

 

Read More

Filed Under: Speed and Security Tagged With: Accept-Encoding Header, apache error, apache warning, encoding header, specify a vary, Specify a Vary: Accept-Encoding Header

July 18, 2019 by dev Leave a Comment

WordPress Speedup

How to speedup your slow WordPress website? Take a speed test of the website. There are several tools to test website speed. Pingdom Website Speed Test at in https://tools.pingdom.com PageSpeed Insights https://developers.google.com/speed/pagespeed/insights/ Performance Insights report and solution (pingdom). Specify a vary accept-encoding header. [.htaccess] Leverage browser caching. [.htaccess]  

Read More

Filed Under: Speed and Security, Wordpress Tagged With: fast load, fast website, how to increase wordpress speed, slow website, speedup wp

Recent Posts

  • How to create One-Click login to RoundCube and phpMyAdmin ?
  • How to add Swap file on CentOS 8?
  • Start / Stop / Restart Berkeley Internet Name Daemon (BIND) DNS Server
  • ConfigServer Security & Firewall, CSF basic commands, advanced configurations and settings
  • How to install VNC in CentOS 8 ?
  • Centos 8 with DirectAdmin installation checklist
  • How to move domain between DirectAdmin user accounts ?
  • How to enable and disable to a website with IP address | DirectAdmin
  • Securing DirectAdmin VPS
  • How to install ioncube in PHP 7 ?
  • How to install Softaculous with lifetime free license?
  • DirectAdmin default domain path directory
  • Letting Users select between multiple different php versions
  • How to install and enable SpamAssassin to VPS ?
  • How to increase Maximum File Upload Limit in DirectAdmin?
  • DirectAdmin Server Management
  • How to connect VPS using PuTTY
  • How to publish journal issue with articles with/without abstract?
  • DirectAdmin installation requirements
  • How to install and setup DirectAdmin on CentOS 8 VPS.

Recent Comments

  • bukujudi.wordpress.com on How to Remove ‘Powered by Oxwall Community Software” from footer?
  • xe nâng tay cao on Upwork Video Verification – Questions and Answers
  • Bandar Taruhan on How to Remove ‘Powered by Oxwall Community Software” from footer?
  • Nonton Online on How to Remove ‘Powered by Oxwall Community Software” from footer?
  • Brands4friendsgutschein on How to Remove ‘Powered by Oxwall Community Software” from footer?

Archives

  • December 2019 (1)
  • November 2019 (20)
  • October 2019 (3)
  • September 2019 (2)
  • August 2019 (10)
  • July 2019 (4)
  • June 2019 (10)
  • May 2019 (7)
  • April 2019 (5)
  • March 2019 (4)
  • February 2019 (1)
  • December 2018 (5)
  • November 2018 (1)
  • October 2018 (1)
  • August 2018 (1)
  • July 2018 (23)
  • June 2018 (7)
  • April 2018 (1)
  • March 2018 (13)

Categories

  • Email Solutions (5)
    • Google Spreadsheet (2)
    • PHP Email Form (1)
    • Recaptcha (1)
    • Thunderbird (1)
  • FrontApp (1)
  • How to (13)
  • jQuery Plugins (2)
    • BX Slider (1)
  • Marketplace (3)
  • Miscellaneous (4)
  • MS Office (1)
    • PowerPoint (1)
  • Neuron TD (15)
    • Console Error (1)
    • functions (5)
      • register_post_type (1)
      • register_sidebar (1)
      • theme_files (1)
      • theme_supports (1)
    • Image Directory (1)
    • Menu (2)
    • Query (4)
  • OJS (10)
    • Help (1)
    • Installation (1)
      • Issues (1)
    • Theme (1)
    • Theme Development (2)
    • TPL CSS JS (1)
    • Upgrade (4)
  • Oxwall (2)
  • Payment Methods (1)
    • Paypal (1)
  • PolyMail (1)
  • Server and Hosting (28)
    • Boxbilling (1)
    • Digitalocean (8)
    • DirectAdmin (18)
    • Security (5)
    • VPS Management (14)
    • WHMCS (4)
  • Uncategorized (6)
  • Wordpress (40)
    • Functions (2)
    • Genesis (6)
    • Glossary (1)
    • How to (3)
    • Plugins (6)
      • Contact Form 7 (3)
      • Essential Grid (2)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (1)
    • WP Basic Guideline (6)
  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2019 · Executive Pro Theme on Genesis Framework · WordPress · Log in