I'm just returning to HTML/CSS, used to know all of this in the 5th grade.
How do I make it so that instead of www.test.com/test.htm it just is www.test.com/test
=x
Printable View
I'm just returning to HTML/CSS, used to know all of this in the 5th grade.
How do I make it so that instead of www.test.com/test.htm it just is www.test.com/test
=x
.htaccess mod rewrite
Yeah, deffinately something to do with .htaccess, I remember my mate doing it.
Pieman's way is the easy way, the hard way is to go to your public_html folder, create a file called .htaccess (actually, it's a file without name and the extension htaccess).
In that file, put:
I guess that'll workCode:RewriteEngine On
RewriteRule ^/test/$ /test.htm [NC]
RewriteRule ^/test$ /test.htm [NC]
Bad wording.
I know about index.htm, but i Mean for example if I have a /pictures.htm, how can I make it just /pictures in the url.
RewriteEngine On
RewriteRule ^(.*) /1$[NC]
i think its something like that
Or just enable multiview :wink: