tallberg Posted June 2, 2009 Share Posted June 2, 2009 I need to redirect alot of old url in a domain to new url in the same domain. Example http://www.domain.co.uk/index.php?option=com_content&task=section&id=1&Itemid=2 to http://www.domain.co.uk/News-ID10 (this is already in the htacess as a rewrite) can anybody recommend a way to get this done quickly. Ive been looking at htacess and i dont understand the conditions. I dont really need conditions just this url goes to this url. Thanks Does anybody see a problem with this approach: if(getenv('REQUEST_URI') == '/index.php?option=com_frontpage&Itemid=1') header('location:http://www.newdomain.com/Our-Sponsor-ID13'); Link to comment https://forums.phpfreaks.com/topic/160642-redirect-help/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.