• Welcome to DNForum.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars
    If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the oldest global domain name community on the internet and continues to grow every day. There are over 45,000 domainers on DNForum doing everything from buying domains, selling domains, using our free in-house built tools, learning about domains and discussing domains. Take a minute and Register.

Can you help a newbie to php please? URL mask

Status
Not open for further replies.

Honan

New Member
The Originals
Legacy Exclusive Member
Joined
Mar 17, 2003
Messages
3,943
Reaction score
4
Can you help a newbie to php please?

I use this index.php for domain A to redirect domain A to domainb

php
header("Location : Domainb");

( with < and > and ? at each end of course. )


I want to mask the URL of domainb.com with the URL of domain A
Can I do that easily?
Thank you
Joe
 
Dont know about PHP but you can put this in an index.html page on URL A:

Code:
META HTTP-EQUIV="REFRESH" 
      CONTENT = "[COLOR="Red"]time-in-seconds[/COLOR]; URL=[COLOR="Red"]new-url[/COLOR][/]"

Where it says time-in-seconds set this to 0 for immediate redirect or 1 for 1 second etc etc
Where it says new-url you put your other URL
 
Most places should offer frame forwarding.. basically they put the entire page in a frame, so you always see domaina.com when it's at domainb.com. The downside is that everything after the .com doesn't show up, so bookmarking is impossible.
 
Most places should offer frame forwarding.. basically they put the entire page in a frame, so you always see domaina.com when it's at domainb.com. The downside is that everything after the .com doesn't show up, so bookmarking is impossible.

Most registrars do that, not all though

Dont know about PHP but you can put this in an index.html page on URL A:

Code:
META HTTP-EQUIV="REFRESH" 
      CONTENT = "[COLOR="Red"]time-in-seconds[/COLOR]; URL=[COLOR="Red"]new-url[/COLOR][/]"

Where it says time-in-seconds set this to 0 for immediate redirect or 1 for 1 second etc etc
Where it says new-url you put your other URL

Thanks I will try that
Can you be more specific about the html
Does it still need head and body?
 
Status
Not open for further replies.
Back
Top Bottom