• I have a website that has only 1 301 redirect entry in it’s .htaccess file. However, there appear to be dozens of 301 redirects that the site initiates and I am currently unsure where they are coming from or how to edit them. Research online has gotten me nowhere and I am completely stumped.

    The developer who built the site is unsure what else could cause a redirect.

    here is a readout of header codes for one such redirect that just happens on it’s own (domain changed to ‘example.com’) data pulled using: https://tools.seobook.com/server-header-checker/

    Requesting https://examples.com/san-antonio
    SERVER RESPONSE: HTTP/1.1 301 Moved Permanently
    Date: Mon, 01 Jun 2015 21:47:02 GMT
    Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
    X-Powered-By: PHP/5.3.25
    X-Pingback: https://example.com/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Location:
    https://example.com/locations/san-antonio/
    Content-Type: text/html; charset=UTF-8
    Redirecting to: https://example.com/locations/san-antonio/
    SERVER RESPONSE: HTTP/1.1 200 OK
    Date: Mon, 01 Jun 2015 21:47:02 GMT
    Server: Apache/2.2.24 (Unix) mod_ssl/2.2.24 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
    X-Powered-By: PHP/5.3.25
    X-Pingback: https://example.com/xmlrpc.php
    Link:; rel=shortlink
    Content-Type: text/html; charset=UTF-8

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If that does not resolve the issue, try switching to the unedited default Twenty Fifteen theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins).

    So https://examples.com/san-antonio is redirecting to https://example.com/locations/san-antonio/?

    Did you try disabling all plugins to see if you can locate the problem?

    Do you have any cron jobs installed?

    Can you post the URL here?

    Thread Starter joeyoungblood

    (@joeyoungblood)

    It’s not the Theme. Switching to the default showed the same issue with these redirects.

    I deactivated all plugins and it sort of fixed the problem, a few URLs that had been redirecting stopped all the sudden but the rest are still redirecting.

    Thread Starter joeyoungblood

    (@joeyoungblood)

    This is sooooooooo confusing! I have no clue what’s happening.

    Moderator t-p

    (@t-p)

    also check your .htaccess file for any directive that might be causing this issue. If problem finding your .htaccess file, have a read of this guide: .htaccess file

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unknown 301 Redirects Occuring’ is closed to new replies.