Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.
Sedo.com

Can you help a newbie to php please? URL mask

Status
Not open for further replies.

Honan

Level 9
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
 

mulligan

Level 7
Legacy Platinum Member
Joined
Dec 22, 2005
Messages
882
Reaction score
0
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
 

dotDan

Level 4
Legacy Platinum Member
Joined
Apr 22, 2003
Messages
192
Reaction score
0
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.
 

Honan

Level 9
Legacy Exclusive Member
Joined
Mar 17, 2003
Messages
3,943
Reaction score
4
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?
 

Honan

Level 9
Legacy Exclusive Member
Joined
Mar 17, 2003
Messages
3,943
Reaction score
4
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Sedo - it.com Premiums

IT.com

Premium Members

MariaBuy

Our Mods' Businesses

UrlPick.com

*the exceptional businesses of our esteemed moderators

Top Bottom