Forum Moderators: phranque
i want :
[domain.com...]
[domain.com...]
which executes:
[domain.com...]
[domain.com...]
please le me now what can i do ..currently lots of things are there in .htaccess as below:
# -FrontPage-
IndexIgnore .htaccess */.?* *~ *# */HEADER* */README*
*/_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from
all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.domain.com
AuthUserFile
/home/nereat/public_html/_vti_pvt/service.pwd
AuthGroupFile
/home/nereat/public_html/_vti_pvt/service.grp
AddType
text/vnd.sun.j2me.app-descriptor .jad
AddType application/java-archive
.jar
AddType application/vnd.rim.cod .cod
AddType
application/vnd.symbian.install .sis
please tell me what i have to add and where..
Welcome to WebmasterWorld.
First, read this thread: [webmasterworld.com...]
Then, I normally put my rewrites in my htaccess, under all the other info.
The code you will be using will look something like this:
RewriteEngine ON
RewriteRule ^([0-9]+)\.html$ /resource1.php?catid=$1 [L]
Please, keep in mind, we do not ususally write custom code, but would rather help you work through the answer... Read the thread, try out the example and let us know what happens, we will be happy to help you make adjustments and get it working.
Justin