<script> (function() { var hostname = location.hostname.split('.'); if(hostname[0] != 'www') { location.href = 'http://www.' + location.hostname + location.pathname + location.search; } })(); </script>
评论: JS实现类似301的保留路径跳转
请保存二维码或复制链接进行分享