Title: Redirect Loop
Last modified: August 19, 2016

---

# Redirect Loop

 *  Resolved [Nick](https://wordpress.org/support/users/jettrush/)
 * (@jettrush)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/redirect-loop-14/)
 * I am experiencing a redirect loop error with my blog. Here’s what seems to be
   going on.
 * I go to example.com. My setup is such that you will land on a file that checks
   to see if you are on a mobile device or not. If not, you are sent to index.php(
   the blog). When you arrive there, WordPress redirects to example.com for some
   reason. As you can see, this creates a loop that my browser terminates and shows
   me an error message.
 * I would like to keep my mobile detecting feature but get the blog to function.
   Please let me know your thoughts on this tricky error.

Viewing 1 replies (of 1 total)

 *  Thread Starter [Nick](https://wordpress.org/support/users/jettrush/)
 * (@jettrush)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/redirect-loop-14/#post-1238708)
 * Okay, for anyone who has a similar setup, here’s a fix, one second after I posted
   the issue.
    1. In your WordPress admin account look at your General Settings. My “Blog address(
       URL)” setting was the default “example.com”. So whenever I would land on my 
       WordPress index.php, it was actually set to redirect back to the directory resulting
       in a redirect loop.
    2. Change “Blog address (URL)” to “example.com/index.php”
    3. Install the [Disable Canonical URL Redirection](http://txfx.net/files/wordpress/disable-canonical-redirects.phps)
       plugin. (See [Managing WordPress Plugins](http://codex.wordpress.org/Managing_Plugins)
       if you don’t know how.)
 * You should now see that when you go to your site ends up at the correct location
   instead of getting caught up in a loop.

Viewing 1 replies (of 1 total)

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

## Tags

 * [redirect loop](https://wordpress.org/support/topic-tag/redirect-loop/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [Nick](https://wordpress.org/support/users/jettrush/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/redirect-loop-14/#post-1238708)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
