How to check existent files and folders with RewriteRule in htaccess

April 29, 2021 0 Comments

With RewriteRules we can use conditions to check if a file or folder exists. To check the existence of a file we us the -f oprator . The “-f” represents that the file being checked exists in the server filesystem. We use !-f when we do the opposite. The !-f means that the file being …

How to use Apache DirectoryIndex in htaccess ?

April 29, 2021 0 Comments

In this article we will learn about the Apache DirectoryIndex directive provided by Apache directory module . I will show how to use this directive in an htaccess or server.config file. Apache DirectoryIndex directive DirectoryIndex is part of Apache mod_dir. A directory module provided by Apache server. We use DirectoryIndex in an htaccess or server …

How to unfollow twitter users using Twitter php API

April 28, 2021 0 Comments

In this short tutorial I will show you how we can unfollow Twitter users using Twitter PHP API . We are using the latest Twitter php auth in this tutorial. What you need to get started? To unfollow Twitter users from a website , you must have the following things ready : A PHP web …

Apache mod_rewrite QSA flag | How QSA works in htaccess

April 27, 2021 0 Comments

In this article I will show you how mod-rewrite QSA flag works and why it’s important to use with RewriteRules in an htaccess file. What is QSA in htaccess Are you wondering what this three letter flag QSA is and why it’s used ? Let me first tell you the meaning of this flag. QSA …

How to convert php extension into HTML using RewriteRule in htaccess

April 27, 2021 0 Comments

In this article you will learn how to use RewriteRule in an htaccess file to change .php extension to .html . This article is for Aache mod-rewrite beginners who want to improve their URL-rewriting skill. The htaccess RewriteRule example being used in this article is a 100 percent workin code example , so you can …

Can’t access twitter developer apps dashboard ? This page didn’t load correctly. Try reloading it using your browser’s refresh button.

April 25, 2021 0 Comments

While opening your Twitter developer app at https://developer.twitter.com/en/apps are you getting the following error ? Hmm…That’s weird. This page didn’t load correctly. Try reloading it using your browser’s refresh button. And you don’t know how to fix it ? No worries! I am here to help you out with this. One of the most common …

How mod-rewrite L and END flags work in htaccess

April 24, 2021 0 Comments

In this article I will give you a quick overview of mod-rewrite L and END flags. I will show you (with examples) how these two flags work and what’s the difference between L vs END . What is L flag and how it actually works in htaccess L is the most used flag in RewriteRule …

Post tweet using Twitter PHP API | Live demo with zip code archive

April 24, 2021 0 Comments

Do you want to post tweets from your website to your Twitter account? If yes, then read on! This post is for you. In this post I will show you how to post a tweet using Twitter API for PHP. We will use a live demo here to explain the process in detail. If you …

How to fix a temporary ad serving limit has been placed on your adsense account?

April 23, 2021 0 Comments

“Temporary ad serving limit placed on your adsense account”? AdSense can sometimes limit ads on your website or temporary suspend your account if it finds invalid activities. How can I see a record of my invalid activities Invalid AdSense activity consists of “Invalid traffic” , “false clicks” , “multiple clicks from your own account” . …

How to modify your htaccess on WordPress | Add custom rules WordPress htaccess

April 22, 2021 0 Comments

In this article I will give you a quick overview of what the wordpress htaccess is , how it works and how you can manually add your custom code to your htaccess on WordPress site. With WordPress blog CMS you get a default htaccess file that the WordPress uses to manipulate your blog URLs. Your …