![]() |
.htaccess URL Rewrite
Can someone post the .htaccess code that will rewrite the following URL:
http://www.site.com/dir/dir/xxxxx TO http://www.site.com/dir/dir/index.php?var=xxxxx I'm not looking to redirect, I would like the URL to stay as the first example. Here's what I have, but for some reason it doesn't work. Code:
Options +FollowSymlinks Thanks. |
Anyone??
|
Anyone at all?
|
Redirect /dir/dir/xxxxx/ http://www.site.com/dir/dir/index.php?var=xxxxx
|
oops nevermind read that u don't want the redirect sorry
|
I am not sure I should be giving this little gem away......
OK, I am in a good mood :) http://www.mod-rewrite-wizard.com/ EDIT: oh....I read it wrong as well.... I will leave the link though. |
Quote:
|
Code:
RewriteEngine on |
Shame on anyone using .htaccess and mod_rewrite. The ultimate server slow-down.
|
All times are GMT -7. The time now is 07:31 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123