The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Web Design
    4. Random 302 Redirect (Wordpress CMS)

    Random 302 Redirect (Wordpress CMS)

    Web Design
    6 2 1.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kchandler
      kchandler last edited by

      So this new project that i am working on is a redesigned CMS site using Wordpress (php based). Before i started on the project they made a few major updates that include:

      • Changed from ID based URLS to SEO friendly URLS
      • Added multiple languages in directories
        • www.domain.com/en
        • www.domain.com/fr
        • www.domain.com/de
        • etc...
      • Due to the new languages they wanted to have the previous home page, www.domain.com, redirect to the proper language based on their IP address. Currently they are using a 301 redirect through a php header. So if i was visiting the site from my hometown of Cleveland, Ohio and i type www.domain.com into the browser. I would automatically redirect to www.domain.com/en and i would have the option to switch languages if needed.

      The issue:

      When i first added their site into SEOMoz the crawl returned a large amount of 302 redirects coming from their old homepage www.domain.com. So i took a look at the header calls using IE's webmaster tools and Firebug in Firefox. In both profilers it showed the same problem.

      • Before the 301 header redirect there was a 302 redirect called first
      • When viewing the response header it mentioned an x-pingback of some file that didn't even exist on the site: www.domain.com/xmlrpc.php

      This is obviously a huge issue because any link value from the old homepage will be lost due to the 302 not passing the value. I have tried search the almighty Google for help but it has gotten me no where. I have a hunch it is something to do with Wordpress but that is based on nothing but my gut. Any help is greatly appreciated.

      I got to get that 302 gone or changed to a 301 🙂

      Regards - Kyle

      1 Reply Last reply Reply Quote 0
      • SEOBrent
        SEOBrent last edited by

        Hi Kyle,

        Did they build the Wordpress template themselves? The pingback is a little suspicious, download the plugin called TAC and see if it brings up any hidden code. I had a similar problem where I was working on a site that was using a free theme and had a 302 in the header which made the site struggle in rankings. As soon as I figured out that it was in fact the free theme causing the issue I got it removed and traffic 10x'ed (not much as they were getting like 5 visitors a day) in roughly a week.

        It's hard to help without seeing the site but let me know what TAC reports and if it's clean we'll dig deeper.

        -Brent

        kchandler 1 Reply Last reply Reply Quote 1
        • kchandler
          kchandler @SEOBrent last edited by

          Brent - thank you for finding my post, i thought it was forever lost!

          They had created a custom template, however i will still suggest them try the TAC plugin just incase. I will post the results once i get them.

          Thanks again - Kyle

          1 Reply Last reply Reply Quote 1
          • SEOBrent
            SEOBrent last edited by

            Hey Kyle,

            I see you set the question as answered. What did it end up being?

            -Brent

            kchandler 1 Reply Last reply Reply Quote 0
            • kchandler
              kchandler @SEOBrent last edited by

              The funny thing is, i didn't find a solution nor did i mark this as anwsered...

              It looks like someone on the SEOMoz staff thought it was done?

              SEOBrent 1 Reply Last reply Reply Quote 0
              • SEOBrent
                SEOBrent @kchandler last edited by

                Interesting, not sure. Did you ever check out the theme?

                -Brent

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • WordPress redirects are taking too long to navigate: Anyone ever faced this?
                  Nigel_Carr
                  Nigel_Carr
                  0
                  2
                  39

                • CMS Alternatives to WordPress
                  Vijay-Gaur
                  Vijay-Gaur
                  1
                  8
                  161

                • Anybody with a business site using Webflow CMS or another non-WordPress CMS/ sitebuilder?
                  Andy.Drinkwater
                  Andy.Drinkwater
                  0
                  3
                  3.4k

                • I want to create a 301 redirect on a WordPress site, nothing's working...
                  MattRoney
                  MattRoney
                  0
                  4
                  129

                • 302 redirects, canonicalise or redirect (301)?
                  eLab_London
                  eLab_London
                  0
                  5
                  754

                • 301 htaccess redirect or 301 HTTP DNS Redirect
                  OlegKorneitchouk
                  OlegKorneitchouk
                  0
                  2
                  1.4k

                • Wordpress - redirecting tags
                  GPainter
                  GPainter
                  0
                  3
                  230

                • WordPress not man enough...has anybody got experience working with Pryo CMS?
                  SCL-SEO
                  SCL-SEO
                  0
                  3
                  293

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                • Digital Marketers
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy