Skip to content
HASIBUL ISLAM 's BLOG

HASIBUL ISLAM 's BLOG

Think Broad…

  • Home
  • Quotes
  • Bengali Blog
  • Contact me

Tag: htaccess

How to redirect www to non-www URL using htaccess

Posted on January 15, 2021 by Hasib 0
How to redirect www to non-www URL using htaccess

To redirect all www traffic to non-www URL - you need to add the following lines in .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.example.com [NC] RewriteRule ^(.*)$ http://example.com/$1 [L,R=301] Replace example.com with your own domain name.

Continue reading

Categories

  • Airtel
  • Articles
  • Bangladesh
  • Belongings
  • Collected
  • Did you know?
  • Frendz
  • Gadget & Accessories
  • Hosting Solution
  • HRM
  • Joomla
  • Music
  • NSU
  • NSUCC
  • Offers & Deals
  • Personal
  • SEO
  • Streaming Videos
  • Technology
  • Teletalk
  • Tips & Tricks
  • Travellog
  • Uncategorized
  • Useful Links
  • Wordpress

All Rights Reserved - hasibul.info 7io