WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Redirection] "This web page has a redirect loop" (11 posts)

  1. newvisionmedia
    Member
    Posted 3 years ago #

    I am experiencing the following error when trying to access a page on my website:

    http://www.entwinedfilms.com/planning-your-wedding/wedding-venues/country-house-wedding-venues/widcombe-grange/

    This web page has a redirect loop.

    The web page at http://www.entwinedfilms.com/planning-your-wedding/counties/somerset/priston-mill/ has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

    Here are some suggestions:
    Reload this web page later.
    Learn more about this problem.
    More information on this error

    Notice how the URL in the error message is not the same as the target URL. I have turned off the Redirect Plugin and the page now works ok.

    I think the error has something to do with a corruption within the following post:
    http://www.entwinedfilms.com/planning-your-wedding/counties/somerset/priston-mill/

    When creating the post I made several mistakes, deleted the post, started again and then renamed the post and slug (I was having one of those days!)

    I now find that if I type in the URL above but /priston-mill-3/ it redirects to the desired URL /priston-mill/

    I do not know what part of WordPress produces this redirection since the Redirect Plugin is turned off.

    I may be wrong in my assumptions above but it does seem like a strange coincidence?
    The widcombe-grange post was created by duplicating the priston-mill post so may have inherited some corruption as a result. I considered deleting the post and recreating it but did not want to compound the problem.

    I have taken the following advice so far as recommended on various pages but without solving the problem:

    I have been into phpMyAdmin and fixed the databases.
    Enabled/Disabled 'All in One SEO'
    Reset Permalinks and created new .htaccess file.

    Any advice you can give for further fixes would be gratefully received.
    For now I have just turned off the Redirect plugin.

    Many thanks in advance.
    Jamie

  2. newvisionmedia
    Member
    Posted 3 years ago #

    It's amazing how walking away from your computer and coming back the next day can make everything so much clearer!

    The problem is now fixed.

    Within the Redirection Plugin settings is a tab called 'Groups'
    Under this are two groups 'Redirections' and 'Modified Posts'.

    Under 'Modified Posts' you find a list of redirects created as a result of changes to post names/slugs.

    By going through this list I found redirects associated with the URLs mentioned in my original post above.

    Deleting these redirects has now solved the problem.

    Phew!!! I going for a well deserved pint!!

  3. easy2login
    Member
    Posted 3 years ago #

    your post really helped me alot, i tried doing different things to solve the error. finally fixed the redirecting error. thanks man!

  4. girlswishlist
    Member
    Posted 3 years ago #

    Thanks so much for this thread. I've just been having a minor panic attack after causing a redirect loop and was about to start deleting plugins etc but read your advice, looked in 'Groups' deleted from there too and all is fixed... I think!!

    Thank you :)

  5. PeterHi
    Member
    Posted 3 years ago #

    Again, thank you for this thread... saved my a**.

  6. cparker1983
    Member
    Posted 2 years ago #

    Whew, thank you!! I've been like "WTF is wrong with this thing" all day! Yay I am so happy now! Thank yoouuu!

  7. muzahistka
    Member
    Posted 2 years ago #

    Thank you, man! I would never though of this, live & learn

  8. robinwyatt
    Member
    Posted 2 years ago #

    Thanks a million, this did the trick for me as well (after considerable pulling out of hair)!

  9. thecoup
    Member
    Posted 2 years ago #

    thanks! your post saved me a bunch of trouble.

  10. newvisionmedia
    Member
    Posted 2 years ago #

    So glad to have help:-) This forum has been a tremdous help to me over the development of my websites so it's great to have the opportunity to give something back. All the best, Jamie

    Wedding Videos by Entwined Films
    Video Production by New Vision Media

  11. dannib
    Member
    Posted 2 years ago #

    This may or may not be related but because I got here for the same redirect-loop-problem I just quickly wanna share.

    I have a WP 3 multisite install with among other plugins Domain Mapping. I wanted to change the main domain. I changed DOMAIN_CURRENT_SITE in wp-config.php and imported/exported the whole database replacing all dev.domain.com to domain.com. However, somehow the home and site in wp_options always reset back to the old domain without that value being available anywhere on disk or database.

    Anyhow, by explicitly adding a row in table wp_domain_mapping for the main domain, the redirect loop stopped. This should not be required, and it will probably work if I remove that row now, but I won't try.

Topic Closed

This topic has been closed to new replies.

About this Topic