+ Reply to Thread
Results 1 to 4 of 4

Thread: How to hide webpage extension?

  1. #1
    bilal855's Avatar
    bilal855 is offline x10Hosting Member bilal855 is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    74

    How to hide webpage extension?

    How to hide the extension of a webpage?

    For example

    http://WWW.FRJP.CO.NR/INDEX.HTM LOOKS LIKE
    http://WWW.FRJP.CO.NR/INDEX ?

  2. #2
    vievie's Avatar
    vievie is offline x10Hosting Member vievie is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    97

    Re: How to hide webpage extension?

    Code:
    http://WWW.FRJP.CO.NR/
    I don't think you can hide the extension of the webpage, becaues evenually it will show up in your url. However, you could always direct the URL to only the directory level, and the server will automatically load the index.html file. For example, typing in
    Code:
    http://WWW.FRJP.CO.NR/
    would automatically go to:

    Code:
    http://WWW.FRJP.CO.NR/INDEX.HTML
    Hope that helps...

    What purpose are you trying to achieve if you hide the webpage extension? If you really want, you could so something with php that parses most of the webpage information so that your web coding is safe..
    Last edited by vievie; 08-26-2007 at 12:58 AM.

  3. #3
    RamRam is offline x10Hosting Member RamRam is an unknown quantity at this point
    Join Date
    Jul 2007
    Posts
    61

    Re: How to hide webpage extension?

    Code:
    http://www.phpfreaks.com/tutorials/34/0.php

    It May Be Help You!

  4. #4
    Join Date
    Aug 2007
    Location
    Gangstas Paradise
    Posts
    4,143

    Re: How to hide webpage extension?

    Quote Originally Posted by bilal855 View Post
    How to hide the extension of a webpage?

    For example

    http://WWW.FRJP.CO.NR/INDEX.HTM LOOKS LIKE
    http://WWW.FRJP.CO.NR/INDEX ?

    Ok, I am new to web hosting, but I created a series of cgi scripts that basically mask the page to be viewed.

    A quick eg:

    You enter the page via "http://WWW.FRJP.CO.NR/"
    Automatically your browser takes you to "http://WWW.FRJP.CO.NR/index.html"

    There after all links in the page are sent to one cgi script with paramters that tell the script to do certain things.
    a link eg: http://WWW.FRJP.CO.NR/script.pl?link=login=12+32+43
    the script pulls out everything after the ? "link=login=12+32+43"
    The "link" is one of a few commands. The script then calls upon the "link" script and passes it "login=12+32+43"
    login is the location of the content of the page and the following is parms(formating, etc...)

    All in all the only file being pointed to is the /script.pl.

    Therfore all links are hidden and can also have info sent to them for whatever reasons.

    When I have finished I will apply a template for coding and decoding so from this "http://WWW.FRJP.CO.NR/script.pl?link=login=12+32+43" i could have this "http://WWW.FRJP.CO.NR/script.pl?5s4f=fdsa2=12+32+43" (example and no acctual relation).

    http://dev.x10hosting.com (this has nothing to do with x10hosting)

    ->All us helpful people here at x10hosting would like to reach our next user groups, "Community Paragon". Please click the +rep icon on the left hand side of a post if that post was helpfull.



+ Reply to Thread

Similar Threads

  1. [req]Generate a webpage....(please read)
    By dsfreak in forum The Marketplace
    Replies: 22
    Last Post: 09-21-2007, 07:41 AM
  2. Valid webpage WYSIWYG Editor
    By cetutnx1 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 02-20-2007, 05:55 PM
  3. i can't access my webpage?
    By ZeptOr in forum Free Hosting
    Replies: 3
    Last Post: 08-30-2006, 11:20 AM
  4. SEO: .html vs no extension
    By Torch in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 07-26-2006, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers