TBGJohn
8-24-03, 12:16 AM
I've been trying to find a way to hide the long URL's to what will ultimately be my website. I've searched a dozen different forums and cannot find what I'm looking for.
Specifically, if someone types in www.yourpage.com, that's the only thing I ever want to have in the address bar. (I don't care if the links show in the bottom mouseover area)... http://www.yourpage.com/osCommerce/catalog/default.php is just too long a home page, and the SSL pages don't even have yourpage.com shown in the URL (powweb.com:####).
I've seen a couple of references about $_SERVER['PHP_SELF'];
but I'm not a programmer, and it looks like a rough learning curve. I am not even sure if it applies to hiding URL's... If it is though, is the header.php file a candidate to enter this code in since it's part of every page?
Please be specific should you answer... typing "put it your XXX.php file" doesn't tell me much.
Thanks.
Specifically, if someone types in www.yourpage.com, that's the only thing I ever want to have in the address bar. (I don't care if the links show in the bottom mouseover area)... http://www.yourpage.com/osCommerce/catalog/default.php is just too long a home page, and the SSL pages don't even have yourpage.com shown in the URL (powweb.com:####).
I've seen a couple of references about $_SERVER['PHP_SELF'];
but I'm not a programmer, and it looks like a rough learning curve. I am not even sure if it applies to hiding URL's... If it is though, is the header.php file a candidate to enter this code in since it's part of every page?
Please be specific should you answer... typing "put it your XXX.php file" doesn't tell me much.
Thanks.