aakk9999 - 9:40 pm on Oct 24, 2013 (gmt 0)
Welcome to WebmasterWorld, cbo0485
Your example in the opening post, which is the code you are using, is a redirect (it has [R=301] at the end of the RewriteRule line).
Your example in your second post is a rewrite (as there is no [R=301] at the end of RewriteRule line).
So your second post rules did not "automate" the rules from the first post, it in fact also changed the method.
Whether you want redirect or rewrite depends on what URL you want the browser to show in the browser address bar once the user requests https://promoabc.com
If the address in browser should stay https://promoabc.com then you need a rewrite
If the address in browser should change to https://example.com/promoabc then you need a redirect