Need .htaccess Rewrite Explained
Posted: Sat Jun 04, 2005 8:04 pm
Apache 2.0.49
Complete .htaccess newb.
I can't get it to do anything but give me a 404.
I want to rewrite
webdesign.jumpfrog.org/example
or
webdesign.jumpfrog.org/example/something
into
webdesign.jumpfrog.org/?page=example
I'll add more to it once I get this working.
My problem is, I can't find any good tutorials on it.
Here's what I've got:
Also, which directory do I put it in? The webdesign directory or the jumpfrog directory? (I've tried both to no avail.)
Complete .htaccess newb.
I can't get it to do anything but give me a 404.
I want to rewrite
webdesign.jumpfrog.org/example
or
webdesign.jumpfrog.org/example/something
into
webdesign.jumpfrog.org/?page=example
I'll add more to it once I get this working.
My problem is, I can't find any good tutorials on it.
Here's what I've got:
Code: Select all
RewriteEngine On
RewriteCond %{HOST_NAME} ^webdesign.jumpfrog.org$
RewriteRule ^(ї^/]+) ?page=$1 їL]