Enable Compression

Whether it is a static html or php website or a feature rich WordPress enabling compression is always a smart move. It speed up your website by sending the files in gzip to your browser.

There are several benefits to enable Gzip compression, because it’s the most popular way to load your site faster by reducing more than 70% of your web page.

It reduces Server response time and also reduces volume of data sent by the server to the requesting web browser because it uses compressed during page transfer.

Gzip compression test for website design in kerry

Gzip compression results for Pinguis Website Design

Gzip will load your site in just a few seconds. Depending on image and css sizes of your website. Sometimes reducing files from 1000 KB page size into 100KB.

How is this magic method used?

Its quite simple if you know your server and files on it, basically if you know where the root directory of your website is and a file called .htaccess or if its not there create a “.htaccess” file. If you upload it and its named .htaccess.txt remove the .txt extension, and you good to go.

Add the following code in WordPress .htaccess file of your website

# BEGIN GZIP COMPRESSION

<IfModule mod_gzip.c>

mod_gzip_on Yes

mod_gzip_dechunk Yes

mod_gzip_item_include file .(html?|txt|css|js|php|pl)$

mod_gzip_item_include handler ^cgi-script$

mod_gzip_item_include mime ^text/.*

mod_gzip_item_include mime ^application/x-javascript.*

mod_gzip_item_exclude mime ^image/.*

mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

</IfModule>

# END GZIP COMPRESSION

 To test your new swifter website visit free the bot or check gzip compression and enter your url and see the results but also recheck that everything is ok on your website because (things do go wrong (sometimes)).

 

You will notice a massive PageSpeed increase thus future proofing your website against further Google updates.

Visit Google PageSpeed Insights before and after to see the results.

View more website management tips

Change Server Permissions

 

How to Change file or folder Permissions on Server with Picture walk through.

Usually, folders and files within your web server have already been assigned permissions at install time either 644 or 755. You usually see PHP files with permissions set to 644 if the web server is configured to use PHP.

You may come across a situation in which you’re asked to edit and change the file permissions on a particular file on your web server. Example would be a cache file which usually needs 777 permissions. For reading writing and executing a script in PHP.

With WordPress sites, this usually happens when adding a plugin or a theme file. This practice is also called “CHMOD” or Change Mode.

When a file permissions need to be changed in order for the file to function properly,

“You may need to CHMOD a file to 755 from 644”

Here are some quick and easy steps for using your FTP program to CHMOD a file, or to edit its permissions on your webserver:

Connect your FTP client to your web server using hostname, username and ftp password available from your hosting service provider.

connecting to ftp using hostname username and password filezilla

Connect to ftp using hostname, username and password

 

Right click with your mouse to get more options

 

file permissions with ftp client

 

Choose File Permissions to open the file attributes box.

 

Your FTP client may use different language but basically they are the same

The Change File Attributes opens. (see below)

file dialog box changing permissions filezilla

  • Type the correct number in the Numeric Value text field either 644 or 755.

    This is the number assigned to the permissions you want to give the file.

  • You are given directions by the plugin or theme developer on which permissions number to assign to the file or folder, and typically, it’s either 644 or 755.

  • You see the permissions are assigned as 644.

  • Click OK.

    The file saves with the new permissions assigned to it.

    Pinguis Website Design in Ireland