Jump to content


Photo

Redirect won't work!


  • Please log in to reply
2 replies to this topic

#1 prettie_pixie

prettie_pixie
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 09 March 2006 - 12:54 PM

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

<?php
header("Location: [a href=\"http://www.hamishjamesassociates.co.uk/hja\" target=\"_blank\"]http://www.hamishjamesassociates.co.uk/hja[/a] home.htm");
?>

#2 Hooker

Hooker
  • Members
  • PipPipPip
  • Advanced Member
  • 193 posts
  • LocationWales, UK

Posted 09 March 2006 - 02:16 PM

try changing the index to index.php and put this in it:

<?php
header("Location: http://www.hamishjamesassociates.co.uk/hja/home.htm");
?>


#3 prettie_pixie

prettie_pixie
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 09 March 2006 - 06:35 PM

OMG!!! Thank you SOOO much!!! *hugs* You've just made my week!!!! :D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users