php - Wordpress - multi site subdomain showing iframe in place of html -
in wordpress site, have subdomain m.example.com pointing same folder main website running example.com. unable view html code in source. , if redirect after detecting mobile screen m.example.com, responsive not working, working fine on main domain.
below code showing in subdomain website..<html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>m.example.com</title> <meta name="description" content="m.example.com" /> <meta name="keywords" content="" /> <style>html{overflow-x: auto;}</style> </head> <frameset rows="*,0%" framespacing="0" frameborder="0"> <frame src="http://www.example.com" frameborder="0" resizable="no"> <frame frameborder="0"> </frameset> </html>
redirect sub domain main site folder cpanel manage sub domains option. avoid use frameset.
Comments
Post a Comment