WordPress.org

Ready to get started?Download WordPress

Forums

Weird permalink activity (7 posts)

  1. Zaphod
    Member
    Posted 4 years ago #

    I have a strange issue with permalinks on WP. I've created a CONTACT page (with, naturally enough 'contact' as the permalink name.

    Something odd has happened whereby if I click on this link from the site the site seems to get locked in some re-direction loop. I eventually get this error:

    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    * This problem can sometimes be caused by disabling or refusing to accept cookies.

    If I change the permalink name to 'contactus' or anything else at all it works perfectly. There's also nothing unusual on the page, it just has address, email and phone number on it [no form].

  2. Zaphod
    Member
    Posted 4 years ago #

    Oh,

    Just in case it's relevant I should say that there was a previous CONTACT page - which was deleted. To be sure it was gone I deleted it from the TRASH and also deleted all records from the posts and postmeta table with the corresponding page id.

    I thought that'd fix it but......

  3. NorysLintas
    Member
    Posted 4 years ago #

    Try to change permalink structure then return to original permalink.

  4. Zaphod
    Member
    Posted 4 years ago #

    Ok - found a "fix" as such - not sure if this is a WP bug, but I went looking for references to contact in the other tables - first looking at the wp_redirection_logs, and from there, the wp_redirection_items.

    There was a lot of entries for contact etc, so I took a chance, and deleted all of those. I then resaved the page in the admin area, and all is good.

    I'll not mark this as resolved for a few hours just to see what others think - and what is thought of my supposed solution.

  5. Zaphod
    Member
    Posted 4 years ago #

    NorysLintas - thanks, but I'd already tried that.

  6. Zaphod
    Member
    Posted 4 years ago #

    One other point on this is that the contact page had been a child page, but was later made a top level page.... so some of the redirection tables had (for example) /about/contact/ and others had /contact/

    Dunno if this helps...

  7. Zaphod
    Member
    Posted 4 years ago #

    Marking as resolved.... possibly a bug in WordPress though...

Topic Closed

This topic has been closed to new replies.

About this Topic