This is my default WordPress .htaccess file.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Now, I want to redirect my current website to new website page newWebsite.com but also want current website accessible as old.domainname.com
Can we achieve this via .htaccess? Or what’s the solution.