.htaccess Redirect to specific Sub-Domain based on User Agent

.htaccess Redirect to specific Sub-Domain based on User Agent

You can use mod_rewrite's RewriteCond directive to redirect user's to different websites depending on what device they are using. .htaccess...

Apache - 3 years ago

Allow Cross Domain Fonts with CORS

Allow Cross Domain Fonts with CORS

Some browsers like IE doesn't allow cross-domain fonts by default - unless you set a Access-Control-Allow-Origin header to the font....

Apache - 4 years ago

How to hide the PHP extension from the URLs?

How to hide the PHP extension from the URLs?

In this tutorial I want to explain about hiding .php extension with URL rewriting with htaccess. What is .htaccess An...

PHP / MySQL - 5 years ago

CodeIgniter - No input file selected on Godaddy,.htaccess

CodeIgniter - No input file selected on Godaddy,.htaccess

I recently launched a new website on GoDaddy hosting. The website required mod_rewrite for SEO-friendly URLs. The website was Developed...

CodeIgniter - 6 years ago

How to force no-www URLs to www version URLs with htaccess?

How to force no-www URLs to www version URLs with htaccess?

For SEO reasons, you might always use (or remove) the www prefix in your urls. The following snippet will add...

Apache - 6 years ago

How to Remove www in url with htaccess?

How to Remove www in url with htaccess?

For SEO reasons, you might always remove (or use) the www prefix in your URLs. The following snippet will remove...

Apache - 6 years ago