Force WWW in url

/ Published in: Apache
Save to your folder(s)

Using mod_rewrite in Apache to rewrite urls and force users to use www in urls. Good for letting search engine spiders in the right door...

Insert the code in your .htaccess-file in your website's root folder.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.