Wednesday, October 26, 2016

Redirect dari Blogspot ke Wordpress yang Sudah di Custom Domain


Ketika akan memindahkan dari blogger ke wordpress untuk blog yang telah memiliki index banyak di search engine, akan terjadi 404 untuk itu kita memerlukan Code Redirect dari Blogspot ke Wordpress yang Sudah di Custom Domain.

Letakkan code di bawah ini di template blogger yang akan di pindah :

<script type='text/javascript'>
  var d='<data:blog.url/>';
  d=d.replace(/.*\/\/[^\/]*/, '');
  location.href = 'http://www.iisbetoq.com'+d;
</script>
<script>
if(window.location.href == 'http://iisbetoq.blogspot.com')
{
window.location="http://www.iisbetoq.com";
}
</script>
<meta content='5;url=http://www.iisbetoq.com' http-equiv='refresh'/>

Pastikan settingan permalink di wordpress Month and name atau /%year%/%monthnum%/%postname%.html

Share

0 comments:

Post a Comment

 

2011 IisBetoQ™ is a registered trademark.

Designed by Templateism | Templatelib. Hosted on Blogger Platform.