I have 2 websites http://www.aaa.com and http://www.bbb.com and need them to show the same.
Now I put an iframe in index.html
and upload to aaa.com. It’s ok for frontend but it’s doesn’t work for backend, where it shows a blank page.
Can anyone suggest me how I can solve this problem ?
By default WordPress sends an HTTP header to prevent iframe embedding on
/wp_admin/
and/wp-login.php
:That’s a security feature. If you want to remove this header remove the filters:
But you should really use the multisite feature as Tom J Nowell suggested.
Tried to extend the version of @toscho