prettie_pixie Posted March 9, 2006 Share Posted March 9, 2006 Hi,I'm putting a website on the net for a friend and they've made the links all screwy so there isn't an index.htm, and no way I can change the homepage to it as there are loads of files linked to it. I made this redirect file (named it index.htm) and it just won't work! Any help would be awesome :D<?phpheader("Location: [a href=\"http://www.hamishjamesassociates.co.uk/hja\" target=\"_blank\"]http://www.hamishjamesassociates.co.uk/hja[/a] home.htm");?> Link to comment https://forums.phpfreaks.com/topic/4523-redirect-wont-work/ Share on other sites More sharing options...
Hooker Posted March 9, 2006 Share Posted March 9, 2006 try changing the index to index.php and put this in it:[code]<?phpheader("Location: http://www.hamishjamesassociates.co.uk/hja/home.htm");?>[/code] Link to comment https://forums.phpfreaks.com/topic/4523-redirect-wont-work/#findComment-15775 Share on other sites More sharing options...
prettie_pixie Posted March 9, 2006 Author Share Posted March 9, 2006 OMG!!! Thank you SOOO much!!! *hugs* You've just made my week!!!! :D Link to comment https://forums.phpfreaks.com/topic/4523-redirect-wont-work/#findComment-15851 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.