How to use apache ErrorDocument directive in htaccess ?

January 16, 2020 0 Comments

ErrorDocument directive ErrorDocument directive is part of Apache core module . In this article you will learn how to use ErrorDocument in htaccess to manipulate your broken or forbidden URLs. To use this directive in an htaccess file you do not need to do anything . This directive is enabled on Apache server by default. …

How to get rid of “Unable to complete previous opration due to lowmemory ” chrome error ?

December 2, 2019 0 Comments

Unable to complete previous opration due to low memory is an unknown type of chrome browser error that often happens during file upload and stops the execution of file upload. Despite having enough memory in your device you still get this type of annoying error popup showing at the bottom of your browser which prevents …

How to create a Google search engine friendly page? Top ranked page ingoogle search results

June 22, 2019 0 Comments

Google search engine gives an extra priority to top ranked pages by showing them at the top of search results with a dedicated layout. A top ranked page with a specific keyword often shows at the top of search results. When you search a keyword or phrase in Google,sometimes you see a webpage with extra …

How to redirect a URL with Query String apache htaccess

June 21, 2019 0 Comments

Redirect URL query string using htaccess In this post we will learn how to redirect a URL with query string using RewriteRule directive in htaccess. Query string represents URL part that is after ? character in URL. A URL with query string looks like the following example URL:http://example.com/file.php?q=foo&lang=en As you can see the above example …

How to display adsense ads on AMP for wordpress plugin

June 14, 2019 0 Comments

AMP for wordpress is an AMP plugin that converts wordpress pages into AMP format . The plugin automatically enables AMP version of your blog posts. AMP pages load faster then normal html pages in a web browser and can help rank your site higher in search engines. If you have a wordpress site you can …

How to rewrite domainA to domainB using htaccess Apache Proxy Moduleand RewriteRule

June 10, 2019 0 Comments

Mod proxy is a powerful Apache modules and provides URL rewriting and domain mapping capabilities. With proxy module enabled on apache server you can rewrite your domain URLs to an external domain that is being hosted on a diffrent web server. Proxy module allows you to use P flag (Proxy) in RewriteRule directive to rewrite …

How to add YouTube videos to WordPress and blogger posts ?

June 5, 2019 0 Comments

How to add YouTube videos to WordPress or blooger pages Most often when we write a blog post we want to add our favourite youtube videos to it. If you don’t know basic HTML then you might find it a bit hard to figure out how Videos are embeded on web pages. In this post …

How to change youtube channel default layout to brand type account

June 1, 2019 0 Comments

When you create a YouTube channel the default channel layout you get is vertical type and your account looks something like the following on YouTube App You can easily change your layout to make it look like a brand account with inline menues like the following screenshot : Although on YouTube app you will not …

How to redirect non-logged in users using RewriteRule in htaccess

June 1, 2019 0 Comments

Redirect non-logged in users using htaccess With apache mod-rewrite it is quite possible to manipulate http cookies. The cookie you set using php or RewriteRule can easily be accessed using RewriteCond directive. If you need to redirect your non-logged in users of your website to a diffrent page using RewriteRule you need to check the …

How to use mod rewrite %{THE_REQUEST} variable in htaccess?

June 1, 2019 0 Comments

Many users who use htaccess often get confused by mod-rewrite %{THE_REQUEST} variable. The questions what is it and how do we use it appear on their mind. In this post I will explain what %{THE_REQUEST} actually is and how we can use it in rewriteRule. What is %{THE_REQUEST} in mod rewrite? %{THE_REQUEST} is a mod …