10 useful htaccess snippets with explainations for beginners | htaccess tutorial part2

May 12, 2021 0 Comments

In this article today I am going to share 10 htaccess code snippets that will help you learn some basics of how URL rewriting and htaccess works on Apache server. With the htaccess code examples and explainations on this page you will be able to modify the code examples and create your own code for …

How to add Sitemap to blogger using robots.txt file | 100% working solution

May 11, 2021 0 Comments

This article will show you how to create a sitemap for a blog hosted on Google Blogger . You will be able to use the sitemap for both types of blogs a self hosted blogger blog or a hosted blogger blog. A self hosted blogger’s blog is a blog with your custom domain ie www.example.com …

How to use Apache Files and FilesMatch directives in htaccess

May 9, 2021 0 Comments

In this article I will show you how we can use files and filesMatch directives in an htaccess file. What is files directive and how to use it Files directive is part of Apache core module . You can use this directive in an htaccess or server configuration file to apply other directive to one …

How to start and rank a new blog in 2021 | Blogging SEO tips

May 8, 2021 0 Comments

Everyone who is new to blogging or just started blogging in 2021 have a few questions in their mind Is my blog going to make any difference on the web in 2021 Will my blog rank in search engines How to earn money from blog in 2021 It’s 2021 . The world wide web is …

Add trailing slash to URLs using htaccess | Enforce URL trailing slash

May 7, 2021 0 Comments

This article is for Apache users who want to learn how to add a trailing slash to URLs. A trailing slash is / character that appears at the end of URLs something like the following : https://example.com/foo/bar/ . In this article we will learn how to add a trailing slash to URLs using RewriteRule directive …

Add custom domain to Google Blogger with 4 simple steps

May 7, 2021 0 Comments

Are you having trouble adding your new custom domain to Google blogger? In this article I will show you how to add a newly registered domain to Google Blogger with 4 simple steps. I will show you with step by step instructions how to add and varify your domain on blogger and search console. Connect …

How to match against root directory using RewriteRule in htaccess

May 6, 2021 0 Comments

In this article I will show you how to match or rewrite root directory path using RewriteRule directive in an htaccess file. How to match root directory RewriteRule directive uses a relative path pattern in htaccess Context. You don’t need to use full path as RewriteRule already knows the current directory or the directory the …

How to redirect domain with exception using RewriteRule in htaccess

May 1, 2021 0 Comments

Through this article we will learn how to write a code in htaccess to redirect a domain to another domain with exception. We will use both directives RewriteRule and RedirectMatch in the example codes because both directives can be used in htaccess but you should always prefer RewriteRule as it’s faster then Redirect . Redirect …

Can we use RewriteRule in htaccess to rewrite URI fregment ?

May 1, 2021 0 Comments

In this post I am going to give my answer with some code explainations to the following frequently asked question on internet : “Is it possible to rewrite URI fregment using RewriteRule in htaccess?” This is the question that is asked most often by newbies on StackOverflow . Some mod_rewrite beginners often post these type …

Step by step guide to change WordPress domain safely without losing SEO rank

April 30, 2021 0 Comments

Do you want to change your WordPress blog domain but don’t know how to do it? Don’t worry ! I will help you with the domain change process. In this article I will show you how to change WordPress blog domain without loosing the search engine rank and without effecting the performance of your WordPress …