Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to hide the URL (or URL masking)

New Here ,
Apr 20, 2006 Apr 20, 2006
Hi All,
Does anyone know how to hide the URL in the address bar. I saw some site looks like this:
http://www.site.com/contact
When I try to figure out which page this redirect to, I couldn't find out.
Here is a good example:

http://www.opensourcecu.com/
Contact Page: http://www.opensourcecu.com/contact
About Page: http://www.opensourcecu.com/pages/about

Thanks for any help!
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 21, 2006 Apr 21, 2006
you dont need to add file name if you are requesting the default document.

e,g www.mysite.com/index.cfm can be reached with www.mysite.com

so.

www.mysite.com/contact/index.cfm can be reached with www.mysite.com/contact/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 24, 2006 Apr 24, 2006
Thank you for you apply, stpza.
but what I want is something like this,
http://www.opensourcecu.com/pages/about
not
http://www.opensourcecu.com/pages/about/

anybody has better idea?
thanks!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 24, 2006 Apr 24, 2006
When using the URL you won't need the trailing /

So
http://www.opensourcecu.com/pages/about

will provided index.cfm is set up as a default document display

http://www.opensourcecu.com/pages/about/index.cfm

Hope this helps

Ben
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 24, 2006 Apr 24, 2006
quote:

Originally posted by: benbest
When using the URL you won't need the trailing /

So
http://www.opensourcecu.com/pages/about

will provided index.cfm is set up as a default document display

http://www.opensourcecu.com/pages/about/index.cfm

Hope this helps

Ben



Maybe he's asking... /pages/ is the directory ; and about or contact is just a page ...not a new directory, therefore, about/index.cfm is not the case here.

I've seen blogs create things like that, which looks like a directory & don't actually exist....but, I personally don't know how it's done.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 25, 2006 Apr 25, 2006
LATEST
What server are you using?

If it's Apache, use mod_rewrite.

If it's IIS, read this:
http://www.petefreitag.com/item/286.cfm

If you don't have the ability to set these up on your server, you can achieve a similar effect by using www.domain.com/index.cfm/about
And then in index.cfm (or better, application.cfm) have something similar to this:
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources