GoranStimac.com

How can I help

Stay informed and learn

Let's connect

Scrapbook

Post | 1 min

Styling tables with Hugo shortcode

Markdown is a great way of writing your posts for new static website generators, but sometimes you need to add HTML classes directly to the output to make it look better. Here comes to play Hugo shortcodes that will help you...

Post | 0 min

How to remove cross-sells from the cart page on WooCommerce?

A client wanted to completely remove the area on the Cart page where cross-sells show. This is helpful if you have dozens of products with cross-sells and you don’t want to go and edit every single page. Add the following snippet in your...

Post | 7 min

How to add HTTP security headers in WordPress?

HTTP security headers allow you to add an extra layer of security to your WordPress website. They can help block common malicious activity from affecting your website performance. What are HTTP security headers? HTTP security headers are a...

Post | 2 min

How to install and secure phpMyAdmin on Ubuntu 20.04

phpMyAdmin was created so that users can interact with MySQL through a web interface. In this guide, we’ll discuss how to install and secure phpMyAdmin so that you can safely use it to manage your databases on an Ubuntu 20.04 system. Step 1...

Post | 2 min

Git ignore for WordPress projects

My preferred .gitignore file appears below and it ignores everything by default. This allows me to whitelist only those plugins and themes I wish to include in my repo. While I use this .gitignore for WordPress projects, for stand-alone...

Post | 0 min

How to add Google fonts to Ubuntu/Debian Linux system?

Download Google Fonts from: github.com Create a .fonts directory in home using the terminal and the command: mkdir ~/.fonts Unzip the contents of the downloaded file (approx. 350MB) into the newly created .fonts directory with the command:...

Post | 0 min

How to add SWAP space on Ubuntu/Debian Linux server?

SWAP is virtual memory outside of installed physical memory (RAM). Check the system to see if SWAP information already exists: free -h sudo swapon --show Check free space on the partition: df -h Create a SWAP file: sudo fallocate -l 1G...

Post | 1 min

How to change symbolic link permissions on Linux?

Can I set symbolic link permissions under Linux / UNIX? How can I change symbolic link permissions? No, you can not. If you try to execute the chmod command on a symbolic link, it will return with an error. Changing ‘filename’...

Post | 0 min

How to easily make the WordPress system more secure?

Each WordPress installation in the root directory of the application has a file wp-config.php to which you need to add these two lines of code to the very bottom of the file: // SECURE WP define( 'FORCE_SSL_ADMIN', true ); define(...

Post | 1 min

How to install PhpMyAdmin on Ubuntu/Debian Linux server?

What is phpMyAdmin? phpMyAdmin is a free software tool written in PHP, designed to manage MySQL over the Internet. phpMyAdmin supports a wide range of operations on MySQL and MariaDB databases. Frequently used operations (managing...

Post | 1 min

How to set up a LAMP stack on Ubuntu/Debian Linux server?

What is LAMP? LAMP is an archetypal model of a set of web services, named as an abbreviation of the names of its original four open components: the Linux operating system, the Apache HTTP server, the MySQL relational database management...

Post | 0 min

How to solve the CORS problem with font files?

You have set the CDN and you have a problem with the fonts, here is the solution. Apache Add this block to the .htaccess file and the htaccess.conf file at the very beginning <FilesMatch ".(eot|otf|ttf|woff|woff2)"> Header set...

Looking for an IT professional?

Book a call Email me