BuildMyWeb Posted August 20, 2012 Share Posted August 20, 2012 i have the following redirect inplace in my .htaccess file Redirect /dir/warranty-registration.php http://mydomain.com/warranty_reg.php it seems to be working correctly. is there any case in which someone putting in the old URL of "http://mydomain.com/dir/warranty-registration.php" would not be redirected? something to do with their locally stored DNS or something? Link to comment https://forums.phpfreaks.com/topic/267335-htaccess-redirect/ Share on other sites More sharing options...
premiso Posted August 20, 2012 Share Posted August 20, 2012 The DNS has very little to do with with this. If you were doing subdomain redirect, ok it may, but it does not appear that way. To answer your question, no. As long as they are not aggressively caching it should be fine. What you may want to do is make the redirect a 301 (premenant) Redirect 301 /dir/warranty-registration.php http://mydomain.com/warranty_reg.php Link to comment https://forums.phpfreaks.com/topic/267335-htaccess-redirect/#findComment-1370972 Share on other sites More sharing options...
BuildMyWeb Posted August 21, 2012 Author Share Posted August 21, 2012 thank you premiso Link to comment https://forums.phpfreaks.com/topic/267335-htaccess-redirect/#findComment-1370993 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.