Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
The solution here is to delete your existing .htaccess file and force WordPress to generate a new one.
To do that, connect to your server via FTP or cPanel File Manager:
Download the existing .htaccess file to your local computer so that you have a backup.
Once you’ve backed up that existing .htaccess file, delete the .htaccess file on your server.
If you can log in after deleting the file, go to Settings → Permalinks and click Save. This forces WordPress to generate a new .htaccess file. You don’t need to change any settings – just click the Save button.
If you still can’t log in, that means the problem probably wasn’t with your .htaccess file. You can check this blog for more information
Looking forward to helping you. Thank you.
​​​​​​​
		
	 
	
	
	
	
 
			
				
	
	
		
		Hi there,
I am able to login again. But now the domain is not with the www but without www. 
I want to have with www.
What do I need to do in order to get this?
		
	 
	
	
	
	
 
			
				
	
	
		
		Hello,
You would need to contact your hosting provider to change your domain into a www domain as they would be the ones to be able to help you with that.
Let us know how it goes and please do not hesitate to let us know if you need our assistance with anything else. Thank you.
		
	 
	
	
	
	
 
			
				
	
	
		
		All right, will do that. Thanks!
		
	 
	
	
	
	
 
			
				
	
	
		
		Hello,
We are glad that we have addressed your concern.
If you have any other questions/concerns, please don’t hesitate to contact us anytime by creating a new ticket to assist you further with anything else.
Looking forward to helping you.
Thank you.