mod rewrite htaccess
Hi i just try to make my urls simpler for the search engines but i dont manage to get it work.
i searched all the info to the internet so i have properly changed httpd.conf
my error log for apache doesnt have something and my htaccess is like this:
RewriteRule ^details/([0-9]+)/$ /details.php?id=$1 [PT]
but it doesnt work although when i try to edit a redirect it works fine.
Please put the RewriteEngine On line before all other rewrite directives.
No nothing i have made a lot of experiments with htaccess and httpd.conf but nothing worked i also installed a regexp rpm to my server nothing i tried to edit a htaccess with no regex stuff and dont work but redirections work i am totally confused this happens to my two linux dedicated servers and to my xp xamp pc.
the original link is like :http://www.domain.com/details.php?id=217643
where details of course is a php script.
i also tried 5 different mod rewrite rules generators for my htaccess.
I'd try this:
stupid mistakes to my scripts sorry.
|All times are GMT +2. The time now is 01:36.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.