Support » Fixing WordPress » 301 Redirect to itself

Viewing 7 replies - 1 through 7 (of 7 total)
  • if I click on the link this will happen:
    From link:
    Type of redirect: 301 Moved Permanently
    Redirected to:

    See the “/”. you added that on the redirect.
    Check your .htaccess to remove it.

    Thank you @alen I missed that last “/”

    I have the basic hatches file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    I read about each line and then looked at my code and my links in the footer did not have the “/” at the end so I’m surmising that WordPress was re-directing them there to match my /%postname%/ permalink?

    i don’t see any redirect on the .htaccess
    normally it is below the wordpress generated code.

    in the header.php, you could see any redirect code written on JS or PHP?

    Nothing I see, and it’s a child theme of twentytwelve. I’ve since used the tool to check other sites and it seems to be something regular but I don’t know how to stop it, it’s the first time it was pointed out by this SEO firm. I’ve just been ignorant.

    I did inspect the source code of the site.
    I found this:
    <input type=”hidden” id=”cc_redirect_url” name=”cc_redirect_url” value=”” />

    is there a plug-in you use to generate this hidden input?


    I will have to look into it more, because I don’t know where it’s coming from. Thanks for your help.

    @jeff F

    <input type="hidden" id="cc_redirect_url" name="cc_redirect_url" value="" />

    This line of code has been generated by Constant Contact API WordPress Plugin

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘301 Redirect to itself’ is closed to new replies.