binomonkey
03-13-2008, 03:18 AM
Hey there,
Is there's a way to shorten or rename ones url name regardless of where one is on a site?
Let's say I load a file called "foo.php" that lies in a subdirectory called "foo" under "public_html."
My url looks like this: "www.mysite.com/foo/foo.php."
However, I'd prefer to have my url still read as "www.mysite.com." How is this done?
How about redirecting? I'm testing/playing with a few mock sites at the moment... So, I
have a few subdirectories setup that relate to different sites I'm working on.
My understanding is that a single domain has only one index.html or default page right?
If so, how would I set up my index file to look into a subdirectory for a start page
instead? Redirection? Or another way?
Any help is appreciated.
Thanks
Is there's a way to shorten or rename ones url name regardless of where one is on a site?
Let's say I load a file called "foo.php" that lies in a subdirectory called "foo" under "public_html."
My url looks like this: "www.mysite.com/foo/foo.php."
However, I'd prefer to have my url still read as "www.mysite.com." How is this done?
How about redirecting? I'm testing/playing with a few mock sites at the moment... So, I
have a few subdirectories setup that relate to different sites I'm working on.
My understanding is that a single domain has only one index.html or default page right?
If so, how would I set up my index file to look into a subdirectory for a start page
instead? Redirection? Or another way?
Any help is appreciated.
Thanks