How do I redirect to a wordpress page

I have two domains. One is Linux and one Windows. I am developing sites in both and have different domain names for each. Windows has a standard HTML website on it, the Linux server has Wordpress on it.

Whichever one is not  the 'public' and  'live' domain I want to forward to the other domain

At the moment i need to forward all traffic from the windows HTML site to the Wordpress site - but the code I have used in the past for this will not work . (See code below)

I need to forward from a Window server HTML website to a Wordpress websitesite page. How do I make this happen?

Thanks for the help.

 
<head>
<META http-equiv="refresh" content="5; URL=http://www.xxxxxxxx.xxx.uk/index.htm">
    <title>HoldingPage</title>
    <style type="text/css">
        .style1
        {
            width: 410px;
        }
    </style>
</head>

Open in new window

DavidHannenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

andrewbleakleyCommented:
Just use <META http-equiv="refresh" content="5; URL=http://www.xxxxxxxx.xxx.uk/">
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JF0Commented:
Should that be index.php?
0
JF0Commented:
Also missing quote:

content="5
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

JF0Commented:
nevermind that quote nonsense
0
kumaranmcaCommented:
Hi,

Try the below code..its helpful for you..
<?php
/* This will give an error. Note the output
 * above, which is before the header() call */
header('Location: http://www.example.com/');
?>

Open in new window

0
kumaranmcaCommented:
using htaccess redirect your website...

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]


0
kumaranmcaCommented:
0
DavidHannenAuthor Commented:
Thanks - it worked fine without the '/page name.php'
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.