Submit Your Article Forum Rules

Results 1 to 3 of 3

Thread: Apache question, hiding a part of the url

  1. #1
    Senior Member
    Join Date
    Apr 2004
    Posts
    147

    Apache question, hiding a part of the url

    Greetings everyone,

    does anyone know how to hide the /index.php/ part from the following url:

    http://www.lomaosake.fi/index.php/fi...myytavana.html

    The index.php is issued as a part of the publishing system and I would prefer if it can be hidden. It appears in all of our urls.

    The reason for hiding it would be to shorten the urls as well as reduce the apparent redirections (e.g. http://www.lomaosake.fi/ goes to http://www.lomaosake.fi/index.php/)

    If anyone would know the answer, I'd really appreciate it =)

    Regards,

  2. #2
    WebProWorld MVP
    Join Date
    Aug 2003
    Posts
    1,038
    mod_rewrite or mod_alias can be used to achieve this.

    There is an article on mod_rewrite here, more can be found with a Google search.

    There are 2 potential problems:

    1. Your host may not support mod_rewrite or mod_alias

    2. Your script may need to be modified to work properly.

  3. #3
    Senior Member
    Join Date
    Apr 2004
    Posts
    147
    Thank you for your reply, I'm too unfamiliar with apache to do it myself so I sent it to the person who handles our apache matters.

    We have our own server so modifications are allowed but I'm not sure if the scripts need to be modified...

    Regards,

Similar Threads

  1. Replies: 35
    Last Post: 07-25-2009, 11:11 AM
  2. Hiding file part of URLs for security purposes?
    By EmmaGale in forum Web Programming Discussion Forum
    Replies: 20
    Last Post: 09-30-2005, 09:12 AM
  3. Apache question: PHP in HeaderName or ReadmeName?
    By akbigdog in forum Web Programming Discussion Forum
    Replies: 0
    Last Post: 02-26-2005, 06:49 AM
  4. Hiding part of a page from SEs
    By simonbg in forum Search Engine Optimization Forum
    Replies: 9
    Last Post: 12-02-2004, 04:24 AM
  5. Need Help Hiding Javascript
    By leanbike in forum Graphics & Design Discussion Forum
    Replies: 5
    Last Post: 12-17-2003, 12:57 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
  •