Forum Moderators: phranque
RewriteEngine On
Rewritecond %{REQUEST_FILENAME}!-d
RewriteRule ^([-,_0-9a-zA-Z]+)/?$ view.php?keyword=$1 [L]
(http://www.mysite.com/folder1/folder2/view.php?keyword=19d05628bd8bf27af3ad) the url i want to change..
change it to:
[mysite.com...]
ITS NOT WORKING FOR ME... any suggestion! am i wrong?
THANK YOU VERY MUCH...
I suspect there's more to your question though. Perhaps a read through some of the threads in our Apache forum section of the WebmasterWorld library [webmasterworld.com] might prove useful.
Jim
Thanks for the thread link but it does not help me in
Rewritecond %{REQUEST_FILENAME}
sorry also if my problem is not clear...hehehe
at the same time, im a newbie in .htaccess coding...i've just very little knowledge on it... sorry...
about my problem,
http://www.mysite.com/folder1/folder2/view.php?keyword=19d05628bd8bf27af3ad --->this refers to a page for viewing one file in our database. and i want to rename it to http://www.mysite.com/folder1/folder2/filename-of-the-file-in-this-format-also as its url.
one my friend recommend me to use .htaccess and use
Rewritecond %{REQUEST_FILENAME} and i dont know this yet...THANKS!
For more basic information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].
Jim