Archives: Tutorials

Enabled file_get_contents() in PHP 7.1

Add the following code to your website root directory php.ini allow_url_fopen = ON allow_url_include = ON

Read more

Laravel .env access restriction using .htaccess

Open your .htaccess file Add the following script: <Files .env> Order allow,deny Deny from all </Files>  

Read more

Page Alternative Links for WordPress

Simple plugin to add alternative links to your existing pages. Sometimes if we want to change the page url, we don’t want to lose the url ranking in Google. This plugin will allowyou to change the page url and the alternative links (old link; depending on the scenario) on it. Features Unlimited alternative link to your existing page Canonical tag […]

Read more

Insert subscriber to MailChimp using PHP

MailChimp is a marketing automation platform and an email marketing service. If you’re familiar with this and you want to insert subscriber on your MailChimp list, you can use this function.

Read more

Replace content in WordPress output

This is how you can replace text in the content before showing it to the user.

Read more

Automatically add ALT attribute for all images using jQuery

A basic requirement of Search Engine Optimization or SEO is to add alternative (ALT) and title tags to the images but sometimes, we forget to add it. Using this script, it will automatically add ALT and title to the images.

Read more