Jump to content

Archived

This topic is now archived and is closed to further replies.

prettie_pixie

Redirect won't work!

Recommended Posts

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");
?>

Share this post


Link to post
Share on other sites
try changing the index to index.php and put this in it:

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.