htaccess fixes to new redirect

htaccess fixes to new redirect

I have the following code:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$$1 [R,L]
Options +FollowSymLinks
RewriteEngine on
RewriteRule order-(.*).html$ order.php?order_key=$1

which works for my needs.
How i have moved this script to a subfolder named "orders" and this code is not redirecting the right way.
It still redirects to the main site instead of the subfolder.
I need it ASAP!


php and htaccess experience

Skills Required

Php Programming


please let me know that you need to redirects the page to subfolder

Bid On Listing Created 3 years ago in Programming

Other jobs by mikesteve