help 301

#1
Dear sirs,
I getting crazy,

i have several wordpress in a cyberpanel droplet with openlitespeed.
I edit .htaccess for domain 1, because i watn to redirect all traffic keeping routes to domain 2.

My htaccess fron domain 1

# BEGIN LSCACHE
# END LSCACHE
redirectMatch 301 ^(.*)$ https://domain2.com$1

Somebody can help me?
 
Top