mod_rewrite .htaccess need help Sub,Gum and Rukiya Lavalair Mods Lavalair Mods Lavalair Mods
Any one could give me the mod_rewrite on .htaccess to fetch user like
wap.pinoy9.com/gabo
wap.pinoy9.com/mangs
wap.pinoy9.com/keith04
index.php?user=gabo
index.php?user=mangs
index.php?user=keith04
how to change http://url.com/index.php?user=gabo to url.com/gabo ?
how to make url.com/gabo
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(\w+)/?$ /index.php?user=$1
handler code
what's wrong with this code? it gives me error 500 for http://url.com/gabo help me please..
Any coder can help me? Lavalair Mods mod_rewrite .htaccess need help amylee, Sub,Gum and Rukiya custom link page for users
Any one could give me the mod_rewrite on .htaccess to fetch user like
wap.pinoy9.com/gabo
wap.pinoy9.com/mangs
wap.pinoy9.com/keith04
index.php?user=gabo
index.php?user=mangs
index.php?user=keith04
how to change http://url.com/index.php?user=gabo to url.com/gabo ?
how to make url.com/gabo
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(\w+)/?$ /index.php?user=$1
handler code
Code:
<?php // Get the username from the url $id = $_GET['user']; ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Simple mod\_rewrite example</title> <style type="text/css"> .green { color: green; } </style> </head> <body> <h1>You Are on index.php!</h1> <p>Welcome: <span class="green"><?php echo $id; ?></span></p> </body> </html>
what's wrong with this code? it gives me error 500 for http://url.com/gabo help me please..
Any coder can help me? Lavalair Mods mod_rewrite .htaccess need help amylee, Sub,Gum and Rukiya custom link page for users
Comment