![]() |
Mod Rewrite - adding the www
I'm just wondering what to put in the .htaccess in order for me to rewrite URLs to include the www.
For example, I want to change about example.com to www.example.com, how would I go about doing that? |
Add this to your .htaccess file:
Code:
RewriteEngine On |
That worked. Thanks. Now, I noticed it only rewrites the initial URL, is there a way for it to add it to each subsequent URL?
For example, change example.com/forums to www.example.com/forums or example.com/12324 to www.example.com/12324. |
All times are GMT. The time now is 10:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|