To redirect Home Page to another URL
- Log in to your site’s server using an FTP client or cPanel File Manager.
- Find the .htaccess file in the root directory of your WordPress installation. If you can’t see the file, make sure that you have enabled “Show Hidden Files” in your FTP client or file manager.
- Open the .htaccess file in a text editor.
- Add the following lines of code at the beginning of the file:
Home Page Redirect
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} !.+
RewriteRule ^$ https://www.front.keenbech.com/ [L,R=301]
- Replace “http://www.keenbech.com/” with the URL that you want to redirect your homepage to.
- Save the .htaccess file and upload it back to your server.
Other Page Redirect example
redirect the URL “https://keenbech.com/store” to “https://foodsala.com/”
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/$
RewriteCond %{QUERY_STRING} !.+
RewriteRule ^store$ https://www.front.keenbech.com/ [L,R=301]

