Title: Infinite Loop
Last modified: August 30, 2016

---

# Infinite Loop

 *  [sebstof33](https://wordpress.org/support/users/sebstof33/)
 * (@sebstof33)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/infinite-loop-10/)
 * When Activating the plugin in an wordpress mulitsite installation for all sites
   we get an error: infinite loops while loading. We are using domain mapping. When
   Amazon Auto Links is deacivated everything works fine …
 * [https://wordpress.org/plugins/amazon-auto-links/](https://wordpress.org/plugins/amazon-auto-links/)

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

 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/infinite-loop-10/#post-6459978)
 * Hi,
 * I’m not sure what the cause is but it can be that the plugin tries to use the
   site url stored in your database but your server tries to redirect you to the
   mapped url.
 * In that case, can you try inserting the following line in your `wp-config.php`?
 *     ```
       define('WP_HOME','http://example.com');
       define('WP_SITEURL','http://example.com');
       ```
   
 * where `http://example.com` is your site domain.
 *  Thread Starter [sebstof33](https://wordpress.org/support/users/sebstof33/)
 * (@sebstof33)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/infinite-loop-10/#post-6459981)
 * Thanks for the quick reply.
 * But as mentioned we use multisite with many domains.
    So it would not be possible
   the use your workaround, right?
 *  Plugin Author [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * (@miunosoft)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/infinite-loop-10/#post-6460307)
 * So did you try the suggestion?

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

The topic ‘Infinite Loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amazon-auto-links_eeeeee.svg)
 * [Auto Amazon Links - Amazon Associates Affiliate Plugin](https://wordpress.org/plugins/amazon-auto-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-auto-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-auto-links/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-auto-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-auto-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-auto-links/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [miunosoft](https://wordpress.org/support/users/miunosoft/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/infinite-loop-10/#post-6460307)
 * Status: not resolved