Enable and Configure mod_rewrite for Apache on CentOS 7
The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by
The mod_rewrite module is enabled by default on CentOS 7. If you find it is not enabled on your server, you can enable it by
You can use mod_rewrite’s RewriteCond directive to redirect users to different websites depending on what device they are using. .htaccess Rules Following rewrite rules will
In this post, I will walk you through, how to Setup Virtual Hosts in Ubuntu. Virtual Hosts are used to setting up more than one
Some browsers like IE doesn’t allow cross-domain fonts by default – unless you set a Access-Control-Allow-Origin header to the font. cross-domain fonts mean fonts that
By default Xampp server is run on 80 port, if you want to change this port to something, just follow the below steps it is
Recently I tried to install YII2 but I got “The mcrypt PHP extension is not installed.” error. In this post, I will show you how
if you want to change your domain name without affecting SEO Ranking in search engines then you should think about the 301-page redirect, with a
In the past, performance was not considered one of the top priorities when developing web applications, but nowadays web app performance is most important for
Firstly, locate your php.ini file, which in my case is in the default directory of xampp\php, and edit with a notepad. Locate and uncomment (remove
Most web Hosting providers give access to override the .htaccess, To Increase the file size upload limit via .htaccess just copy the below settings into
For SEO reasons, you might always use (or remove) the www prefix in your URLs. The following snippet will add the www to your website URL and redirect any
For SEO reasons, you might always remove (or use) the www prefix in your URLs. The following snippet will remove the www from your website URL and redirect any
In this post, I want to explain how to redirect the subdomain to a subfolder with .htaccess. I implemented this for demos.arjunphp.com,lab.arjunphp.com and downloads.arjunphp.com I
The rewrite module is not enabled by default in Apache’s configuration settings. although you can enable it manually by doing very few simple steps: 1.