4
Contributors
4
Replies
25
Views
2 Years
Discussion Span
Last Post by OsaMasw
0

You search Google for info about the .htaccess file and try some tutorials to create one. Then, if you can't figure out how to create one or if you run into problems, you post your questions here, and we can help you.

Edit: A useful link given by fireburner29 in this post:
http://htaccess-guide.com/

Edited by minitauros

0

on localhost try to edit file httpd.conf found in "C:\Windows"
search for line
#LoadModule rewrite_module modules/mod_rewrite.so
and remove # to activate rewrite module, restart your PC and try to learn basic rules for htaccess like

Options All -Indexes  # prevent user from viewing folder content
RewriteEngine on  # switch rewrite ON
RewriteRule ^(.*).html$ $1.php  #convert any php page to html page in url address

as @minitauros mentioned try to read a guide for making htaccess file

Edited by OsaMasw

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.