SEOClerks

htaccess fixes to new redirect

htaccess fixes to new redirect

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

Seo Writing Content-writing Unique-writing Webdesign

Bids

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

Created 4 months ago in Programming

Other jobs by mikesteve