Monday 13 June 2016

How to stop redirection in WordPress? Disable automatic redirect to siteurl? IT NEW CODE

Here, you will get the solution of automatic redirection of site url.
You just follow following steps.

Add following code in "function.php" file

<?php
remove_action('template_redirect', 'redirect_canonical');
?>

Just it. Automatic redirection of the site url problem is solved now.



For more Interesting, Useful Article & codes visit IT New Code.

Ankit Shah PHP Expert

IT New Code suggest a solution for your problem related to coding, Specially .PHP, Wordpress, WooCommerce, Magento, HTML and CSS. Visit Our website for Information.

2 comments:

  1. Thanks Man, This helped me fixing my woo - page/2 issue !

    ReplyDelete

  2. Hello,

    we provide affordable and result-oriented SEO services, please give a chance to serve you.


    Thanks
    Admin: E07.net

    ReplyDelete

 

Copyright @ 2016 IT New Code | Developing Code | Designing Code.

Designed by: Ankit Shah