Random 302 Redirect (Wordpress CMS)
-
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
- 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
-
Interesting, not sure. Did you ever check out the theme?
-Brent
-
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?
-
Hey Kyle,
I see you set the question as answered. What did it end up being?
-Brent
-
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
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Amp plugins + Wordpress = speed, rankings, results
Hello beloved, Been some time since I have been on, planning to return and help out and be bit more active. Need some latest thoughts and input, on amp plugins for Wordpress, and their results and effect on rankings? Thank you all in advance 🙂
Web Design | | vmialik0 -
Prismic.io CMS and SEO?
Looking for community feedback: Some of our In house developers want to use Prismic.io over Wordpress for it's alleged ease of organizing and "deploying" content. It's essentially a repository for content from which you make API calls to. It's a rather new platform. There a few posts in Quora around SEO but looking to see if anyone has had experience with platform. My concern is around  page load times, excessive server requests, and content viewed as code. Any thoughts/ experiences would be much appreciated!
Web Design | | ArcherMalmo0 -
Should I Kill the Old Domain or Work Through the Redirect?
Our IT department wasn't able to create a new directory on the current domain name for whatever reason and so we had to create a new domain name called ww2.domain.com to build the new site. Â So now we have the new site up and appartly some PDFs and pages are being directed to the from the old site. Â www.domain.com but 10,000 pages /PDFs are still indexed in Google and are not redirected. Â So when you open the page you get the old www.domain.com instead of it redirecting to ww2.domain.com. Â It's sort of a mess! Â My question is can we just kill the old domain name and move the ww2.domain.com back to the old domain? Â We also want to do away with the ww2.domain.com and go back to www.domain.com. Â I know it's confusing as heck! What would you recommend?
Web Design | | Eagle-ABS0 -
Many errors from previous ecommerce site. Domain is now just a localized wordpress site.
Many errors from previous ecommerce site. Â Do I need to redirect every single page that no longer exists at this domain? Â loveyourcabinets.com used to be loveyourkitchenandbath.com but we have since changed course. Â We want loveyourkitchenandbath.com to be our local site on Long Island and NYC. Â Loveyourcabinets.com will be an ecommerce project that I'll be revamping in the coming months. Â I think Moz as well as Google still has all of the old ecommerce pages indexed. Â And of course, Moz is shooting me a bunch of error all regarding pages from the ecommerce site that used to be on loveyourkitchenandbath.com. Â Any thoughts? Â Commentary? Â Thx
Web Design | | loveyourkitchen0 -
Wordpress or custom built website?
Hello fellow mozzers, Hope you are all well. I am looking to get a website done and I am struggling to decide whether to get a custom build website site done or a website built on the WordPress platform. Would you be able to share your experiences and advice/suggestions on what you would use, and why? (pros and cons, etc.) Thanks in advance. Kind Regards
Web Design | | JonathanRolande0 -
Wordpress drop down menu issue...
While I am tweaking my current site with getting rid of my footer links, my site will not allow a drop down menu for my service area parent page. It will do a drop down menu for any other tab.  Could not find anything in a google search besides just link to parent for drop down... Any ideas?
Web Design | | greenjoe0 -
Yahoo to Wordpress Permalinks
I have had a yahoo site for a couple of years. I want to start blogging so I had a worpress site built. After the site was build I noticed the urls from the previous site were not the same. For example www.besthomecaremn.com/about_us is now www.besthomecaremn.com/index-php/about_us. The company working on the site told me that that yahoo did not support permalinks and they could not make them match exactly. This is a problem because several of my pages rank differently for different terms: /about_us, /employees, /clients, /contact_us, etc, all rank differently. When they came up in the search results and were clicked on you were taken to the old site so it was like we had two sites. The company has now set that to send you to a page that says this page under routine maintenence. They are basically telling me they cannot make the urls for those pages stay the same. I am very frustrated and don't really know what to do at this point. Are they right? Can it really not be done? Can those pages alternatively be set to redirect to the new page urls or will that negatively affect the rank for those pages and how? Should I have them put the old site back up and swith hosting companies? Any advice on what to do in this situation is greatly appreciated.
Web Design | | AndreB0 -
What CMS system is best?
Hi Guys, I am in the process of developing some new areas of work and a good CMS is going to be required to make my SEO and everything included work to its best. What CMS systems are the best ones to use from an SEO prospective and generally all round? Thanks
Web Design | | wazza19850