htaccess fixes to new redirect
Job details
The brief
I have the following code:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$3 [R,L]
Options +FollowSymLinks
RewriteEngine on
RewriteRule order-(.*).html$ order.php?order_key=$3
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!
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$3 [R,L]
Options +FollowSymLinks
RewriteEngine on
RewriteRule order-(.*).html$ order.php?order_key=$3
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!
Requirements
php and htaccess experience
Skills required
Attachments
Bids (1)
Average bid $15Proposals stay private. Only the buyer and each bidder can see that bid's price and message.
Private proposal submitted