Jump to content

virtualadz

Members
  • Posts

    489
  • Joined

  • Last visited

Posts posted by virtualadz

  1. thanks for your suggestion, but i choose not to edit server files as i am not experienced in this , which might also cause some problems, is there an easier way out to remove the slash.

    Find this line in apache's configuration file:
    DefaultType text/plain

    And change it to

    DefaultType text/html

    Now you're free to remove the extensions of all of your files. When the user typeswww.bhuratea.com/productshe would get that file and the browser is going to display it as HTML. To ensure slash compatability, you should keep the folder too With a copy of the file there.Note that every other file with unknown MIME type and/or file extension is going to be interpreted as HTML, so be careful.There is a way to achieving this more gracefully, but I don't have that much experience with server configuration so I can't figure it out.

  2. ya i have rights over the server and there is also something there called .htaaccess as you mentioned, is there a way to remove the slash. it can be removed but howsee these sites www.indiatradezone.com/Vimalprakashwww.google.co.in/freeadwordsthere doesnot come any slash.

    You may only do that if you have rights to the servers configuration. If the server is Apache, you may be able to use .htaccess file to make the requred changes. Infact, if you have rights to the server, your index files are not suppose to always be called index.html. You may specify another index name.Currently you see the final slash because products is folder, not a file named "products". It shouldn't concern you though. If the user types "products" with or without the slash, (s)he is going to get the exact same page anyway just as easy.As for how to do it with the .htaccess file, I don't know, but I'm sure there's a way.

  3. hey, i have a website www.bhuratea.com, in the sub pages if there is required a .html at the end i want to remove it. let me explain: move your mouse over products menu in my site and have a look at the status bar it will display www.bhuratea.com/products.html , i have tried to give the link as www.bhuratea.com/products but the page doesnot open without .html in the end, how can i make it open without .html . example sites:www.google.co.in/freeadwordswww.indiatradezone.com/Vimalprakashthese sites dont have .html in the end yet it works how can i also do the sameHelp

×
×
  • Create New...