I seem to be struggling a little. Basically Im wanting to sort out a redirect for my boss so that its easier to get to the shared skydrive page Ive set up. My website is zpyder.co.uk, but I also have yupyup.co.uk, which I think might be easier to remember.
However, yupyup is set as an addon domain. I cannot find any option in cpanel to redirect a specific page for an addon domain to another place, only the root address of the addon. EG,
I can redirect yupyup.co.uk to www.somewhereelse.com, but I cannot redirect yupyup.co.uk/data to www.somewhereelse.com
Anyone got any suggestions or a basic noob guide?
You can use a html header redirect to instantly redirect to another site without the browser even showing loading the page.
Will have a look and see if i can find it for you.
tis a php header code that you can add to an index.php in that folder, the page will never load and the new site will be loaded
header("Location: http://www.mydomain.com/newpage.html");
exit();
?>
Why not set up a cname for data.yupyup.co.uk ?
Or why not spend £5 and get a new .co.uk for 2 years?
Quote from: Sweenstertis a php header code that you can add to an index.php in that folder, the page will never load and the new site will be loaded
header("Location: http://www.mydomain.com/newpage.html");
exit();
?>
Wont most browsers now block scripts like that as I guess theyll be used quite a bit by compromised/compromising websites?
Cheers for the suggestion though
Quote from: zpyderQuote from: Sweenstertis a php header code that you can add to an index.php in that folder, the page will never load and the new site will be loaded
header("Location: http://www.mydomain.com/newpage.html");
exit();
?>
Wont most browsers now block scripts like that as I guess theyll be used quite a bit by compromised/compromising websites?
Cheers for the suggestion though
Never had it be blocked by any browser, tis all server side so there is no compromising, all it does is change the html header of the page to redirect to a different location, you dont actually fake the url, it just automatically redirects to the other host.