0

I'd like to make a 301 redirect, but only on one specific link:

http://www.example.com/example.html

in htaccess, Apache

Panama Jack
  • 24,158
  • 10
  • 63
  • 95
Caipiranha
  • 57
  • 1
  • 10
  • Possible duplicate of [Reference: mod\_rewrite, URL rewriting and "pretty links" explained](http://stackoverflow.com/questions/20563772/reference-mod-rewrite-url-rewriting-and-pretty-links-explained) – Vidya Sagar Oct 05 '15 at 11:19
  • I don't see how this question is programming related. It is probably more suited for http://webmasters.stackexchange.com/ – konqi Oct 05 '15 at 11:34

1 Answers1

1

You can try this

RewriteEngine on
RewriteCond %{HTTPS} ^on 
RewriteRule ^example\.html$ http://www.example.com/example.html [R=301,L]
Panama Jack
  • 24,158
  • 10
  • 63
  • 95