Hello all, My website www.worldofmuscle.co.uk. When you click on this link it takes you straight to index.php what i would like is for this link to take you to portal.php how can i do this .. example: you click on my url and go to www.worldofmuscle.co.uk/index.php i would like you to go to www.worldofmuscle.co.uk/portal.php regards Mark
Hi there Mark, I'm not sure what server software you're using, but if it supports .htaccess (Linux with Apache most likely will), put the following line in your .htaccess file: DirectoryIndex portal.php If you don't have a .htaccess file, open up Notepad (or a similar text editor), put the line above in, save as .htaccess (so no file name at all, the extention is htaccess) and upload.
If you want only redirection, you can add in the start of index.php following php code: header("Location: http://www.worldofmuscle.co.uk/portal.php"); exit;
hey, Thanks for the replies. I dont just want a redirect cheers ardolix, although thats handy code for the future. I cant get the .htacccess to work i get an error either way i add the file.