Closed

htaccess fixes to new redirect

Posted Feb 1, 2019 1 bid 886 views Job #67446

Job details

The brief
I have the following code:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$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!

Requirements

php and htaccess experience

Skills required

Attachments

Bids (1)

Average bid $15
Proposals stay private. Only the buyer and each bidder can see that bid's price and message.
softnwords softnwords Level 3 · Feb 2, 2019
Within budget

Private proposal submitted

Questions

Public, answered by the buyer
Budget Up to $15 / project
  • Delivery1 day
  • Seller level neededAny
  • Bids1
  • Average bid$15

About the buyer

mikesteve
mikesteve
Level 1 · Offline ·
  • Orders placed102
  • Ratings0
  • ResponseN/A
  • JoinedFeb 01 2019