SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Thread: URL shorting

  1. #1
    SitePoint Addict I don`t mind's Avatar
    Join Date
    Feb 2006
    Location
    LA
    Posts
    218
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    URL shorting

    Hello there,

    is there any possibility to show only a part on the current url, e.g. the full URL is 'http://www.example.com/example/index.php' but it should be 'http://www.example.com/example/'

    Thanks in advance


    _____________________


    sorry for posting twice ... IE problems -.-
    Words are weapons of Mass Destruction.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Yeah...leave off index.php if your server is set right it will go to index.php automatically.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Addict I don`t mind's Avatar
    Join Date
    Feb 2006
    Location
    LA
    Posts
    218
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry bad example ... what if URL is 'http://www.example.com/example/example.php' and I just want to show 'http://www.example.com/example/' to the users ?
    Words are weapons of Mass Destruction.

  4. #4
    Non-Member
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Redirect in htaccess?

    I dont really understand what you mean. You could be talking about default indexes or redirecting.

    Try this:
    http://cooletips.de/htaccess/

  5. #5
    SitePoint Evangelist
    Join Date
    Sep 2004
    Location
    Oregon
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is possible. I just don't remember what it is called. Somebody will come around soon and help you

  6. #6
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    mod_rewrite, don't even need the folder of file to actually be at there.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •