• While testing the plugin I noticed that it the Javascript generated to create redirection code does not include : after the protocol. This create an incorrect URL which fails to redirect.

    Locate the following code:

    		<script type="text/javascript">
    
    		window.location.replace("https://yourwebsite.com/b2wp/?b2w="+encodeURI(window.location.protocol + "//" + window.location.host+window.location.pathname));
    
    		</script>

    After window.location.protocol + replace "//" with "://"

    This fixed the error for me. My test site was located in a subdirectory so may that had something to do with the bug. I hope the plugin author addresses and fixes this issue, it is a fantastic plugin and has helped so many people move their blogs.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Fix for The Bug That Causes Failure to Redirect’ is closed to new replies.