soycharliente Posted June 12, 2009 Share Posted June 12, 2009 Is it possible to use PHP to edit the way a domain name is shown? I just want to force the www to either always be there or never be there. Similar to Twitter and Delicious. Even if you type in the www in the domain, when the page loads it disappears. Is this even done with PHP or is it some kind of .htaccess rule or what? Thanks. Link to comment https://forums.phpfreaks.com/topic/161966-php-to-edit-domain-name-loading/ Share on other sites More sharing options...
Ken2k7 Posted June 12, 2009 Share Posted June 12, 2009 .htaccess mod_rewrite. Link to comment https://forums.phpfreaks.com/topic/161966-php-to-edit-domain-name-loading/#findComment-854703 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.