• Resolved Noumaan Yaqoob

    (@noumaan)


    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 + "https://" + window.location.host+window.location.pathname));
    
    		</script>

    After window.location.protocol + replace "https://" 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)
  • Plugin Author Pooja N Muchandikar

    (@pooja1210)

    Hi @noumaan,

    I have cross verified the redirect issue and the redirects are working as expected. I am unable to replicate this issue.

    Could you please share more details on the issue?

    Regards,

    Pooja

    Thread Starter Noumaan Yaqoob

    (@noumaan)

    Hello @pooja1210

    Sorry for the confusion, it was <span style=”text-decoration: underline;”>my mistake</span> for not testing thoroughly. The plugin works as intended and there is no need to try this fix. I am marking this thread as resolved.

    Plugin Author Pooja N Muchandikar

    (@pooja1210)

    Hi @noumaan,

    No problem! Thanks for the confirmation.

    Have a nice day ahead!

    Regards,

    Pooja

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.