Redirecting non-www to www with .htaccess
If you want to redirect all non www requests to your web site to the www version, all you need to do is add the following code to your .htaccess file: Needless to say that you must be running on apache with mod_rewrite enabled. RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ htt...
Related Articles
Things you want to consider when developing a tourism website
Discover key strategies for tourism website development to enhance visitor engagement and boost online presence.
Why AI Driven Web Design in Trending and How to avoid common pitfalls
Leverage AI in web design effectively. Learn trending AI tools, best practices & mistakes to avoid for smarter website creation.
AI-Driven Web Design: Trending or Avoid?
Picture this: you're tasked with creating a website that not only looks stunning but also provides a user experience that sets your business apart from the competition. You've heard about AI-driven web design and its potential to transform the way yo...
Redesigning Tourism Websites Sri Lanka: Boost Bookings with Modern Design (Gampaha/Coastal)
Why Your Gampaha Hotel Website Isn't Converting Visitors into Guests Your hotel on the beautiful Gampaha coast is a wonderful destination, but is your website turning potential guests away? You might see people visiting your site, but very few are clicking the "Book Now" button. This is a common i...