There is no way that I know of to just mask the address, but there might be. We can see if someone else has an idea on that.
Here are two methods that would work:
1. Javascript-- you can have a javascript setup... so... basically... that's where you've seen the # from, probably.
It'll be like this:
<a href="#" onclick="javascriptcodehere()">text</a>
If you leave it without an href, or that blank, it'll reload the current page, or do something different depending on the browser... not a good plan to leave blank.
Anyway.... then all you need is a javascript that will redirect to the next page... it'll be something like document.frame.something, but I dunno specifically. Surely google can find something like that for you. Look for "opening page in frame through javascript" or "redirecting page in frame...."
2. PHP
You can have your page as a php page... but this is more advanced coding.
The url your page would go to is like this:
http://surfinthebay.net/index.php?redirect=palmbeach
Then... in your index page, you'd leave as is, but just add something like this pseudocode to the top:
PHP Code:
<?php
if ($_GET['redirect'] == palmbeach) { //this if checks what the address bar says... if it doesn't say "redirect=palmbeach", then it'll ignore this and skip to your code below.
echo '<meta http-equiv="refresh" content="0;url=www.redirecttothispage.com">'; //this outputs ("echoes") a redirect code
die; //this will make the page stop loading, so all you get is white before the redirect takes place.
}
?>
And put your regular html here. //it'll load if the above part didn't work, if the "redirect=palmbeach" wasn't part of the address....
The php is easier for me 'cause I know that... but the JS might be more what you're looking for.
Then again, if the url of the next page changes, maybe that's through php or the php would help you keep it connected to the right page.
That help?
Bookmarks