Need a little help with small .htaccess rewrites

Cancelled Posted 7 years ago Paid on delivery
Cancelled Paid on delivery

I need SOMEONE WHO IS AN EXPERT IN .HTACCESS to change our .htaccess rules to do the following:

301-redirect urls like

[url removed, login to view] to

[url removed, login to view]

(but only if it has the keyword "mirrors" in the url)

301-redirect urls like

[url removed, login to view] to

[url removed, login to view]

(but only if it has the keyword "lights" in the url)

Also, there already exists some code in .htaccess which does things with these url formats (but does not do the above), so your new code would have to work alongside it somehow (or the below needs to be changed in a way so that it doesn't break the below functionality):

"# Make Model Pages

# RewriteRule ^(.*)-([0-9]+)_([0-9]+).html$ [url removed, login to view]$2&legacy_model_id=$3&%{QUERY_STRING} [L]

# RewriteRule ^(.*)-([0-9]+)-([0-9]+).html$ [url removed, login to view]$2&legacy_model_id=$3&%{QUERY_STRING} [L]"

Apache

Project ID: #11660525

About the project

1 proposal Remote project Active 7 years ago

1 freelancer is bidding on average $30 for this job

Walrusyn

Hello, I've experience with mod_rewrite .htaccess rules and would love to help you with this task. Looking forward to hearing from you. Best regards, Marco Ramos

$30 USD in 1 day
(5 Reviews)
2.8