Forum Moderators: phranque
RewriteRule ^example1/\.\.\./example3/page.htm https://example.com/example1/example2/example3/page.htm saw that it didn't work before my first post, so I did not use
...
I really can not understand why RewriteRule ^example1/\.\.\./ does not work.
RewriteRule ^example1/\.\.\./example3/page.htm https://example.com/example1/example2/example3/page.htm [R=301,L]The anchor and path mean that the rule must be placed in the site's root htaccess. Host provider has told me a rule in Modsecurity was blocking the URL.What a shame they won't let you see your own error logs, or you'd have spotted this right away. :( mod_security gives really good, informative error-log entries. (At least on my host. I don't know if it is built into the mod or if server administrators have to make it up on their own.)