Domain redirection

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My Website</title>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mywebsite.com">
</head>

<body>

</body>
</html>
That doesn't work for you as your index.html file?
 
You could also use a symlink if your host allows it:

Code:
ln -s ~/path/to/blah/support ~/path/to/support.blah

I find this easier, personally. No need to mess around with .htaccess files.

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My Website</title>
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mywebsite.com">
</head>

<body>

</body>
</html>
That doesn't work for you as your index.html file?

That's not a good solution as a) it only works for the domain root and b) it's not transparent to the user.
 
Last edited:
It's a wordpress site so the page is set in a database and not an actual file as such so i don't think i can add that the index file so i need to somehow edit the htaccess i'm guessing.

I'm with Vidahost and Dominic said it can't be done really :(

Help.

Andy
 
A symlink wouldn't work as it's not a file which is being accessed - it's Wordpress running mod_rewrite on the /support URL.

For what it's worth it doesn't matter a huge amount either way as it's only a cosmetic change - either URL will get people where they need to go and it's the same domain :)
 
Back
Top Bottom