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
-
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 -
Wordpress Blog for Magento Store?
Magento is fantastic for e-commerce although the blog capabilities are limited and our web development fees are just ongoing. I have great experience with wordpress sites and I don't have a bad word to say about the CMS, there are plugins available for everything you possibly need to develop the blog. Would it be a good idea to integrate a wordpress blog for our e-commerce store? To keep both the transactional website and the blog on the same domain, but have a different style for the blog so we're not trying to 'sell' to people looking for home improvement advice and DIY guides, our main priority with the blog is to grow the website authority.
Web Design | | Jseddon921 -
Replacing Slider Image WordPress
Hi Everyone, I decided to delete my slider from my homepage and replace it with a static image. However, after I deleted the slider, I'm left with a dark square where the slider used to be. I want to put my new static image in that same spot, but have no idea how. Does anyone know where or what code I should add to do that? The page is www.kempruge.com The WP Forums never seem to be too helpful for me, but Moz always is! Thanks in advance, Ruben
Web Design | | KempRugeLawGroup0 -
Finding a good wordpress web developer for SEO fixes
I have gotten a good audit done of my site now it is time to get the fixes done. I have a developer I worked with for a long time that is good at coding and fixes on my site. However I am not confident in his abilities to execute some of the seo changes that need to be done. Their are some common stuff he can tackle but when it comes to GWT and proper handling of 404's and 301's and other seo tasks I am not sure if he is the right choice.Maybe due to a lack of experience of dealing with the issues I have or is just not his specialty or web devs just don't know seo...lol.... Is obvious a lot of SEO's don't make the changes themselves but leave it up to the devs to handle it their suggestions and fixes. But from my experience devs are not so well versed in seo and you have a hard time knowing if they are doing it correct or can even do it.(of course they will say they can they want your cash and i understand that ). In particular a good amount of wordpress devs claim to know seo but i find that far from the truth.Even when guided to issues some of them will often leave you disappointed. Sorry for my rant! Now to my question , obviously not many SEO's make the actual code changes themselves (how i wish i knew a one that did) are their ones out their that do? If not how do i find a good wordpress dev that can make proper seo changes and knows his stuff....example i need someone who can trouble shoot and track down some serious GWT I have and deal with some hardcore 404 & 301 issues . A lot claim to know but when push comes to shove I have been left disappointed. Thanks in advance for your help and suggestions or recommendations.
Web Design | | chrisyak0 -
The Best Wordpress Templates and The Best SEO Plugins??
Hey guys, I am a newbie and after so many painstaking hours of building my new site using the WIX platform, I just found out that WIX is not SEO friendly đ So referring to (copy n pasted) the old post below posted in by Big Bazza back in June 2011, does anyone agree or have any updated information they can assist me with so I can get my new site started ? Cheers đ www.studiopress.com - excellent templates and support is first class! EDIT: These all support WP 3.0 and are SEO friendly too! (They have modified the SEO functionality) However, the framework also allows you to run Yoast Wordpress SEO - which is generally considered the best SEO plugin for WP.  http://yoast.com/wordpress/seo/
Web Design | | Giorgio680 -
Does anyone know how much a wordpress site can store (in terms of data) I want to put all my movies on it and use it as a personal global external hard drive! Thanks!!
So basically, I have about 500 GB of movies on my computer and I don't want to buy an external hardrive. I don't want to spend the money A website I could access anytime, and anywhere, without having to carry my external with me everywhere I go. Thanks in advance for any help/ references.
Web Design | | TylerAbernethy1 -
WordPress blog hosted on GoDaddy domain mapping help
We set up a WP blog that's hosted through GoDaddy. For various reasons, we purchased a URL to use to get through the technical build and set up and are trying to map that to a subdomain of our company website. (We can't host it on our own server, unfortunately). My question is: for WP blogs hosted via WP you can buy a domain mapping upgrade and I'm trying to find a similar plugin that could offer the same thing that would apply to our GoDaddy hosting and point to our subdomain (GD apparently doesn't offer the domain mapping). Anyone have any thoughts, please?
Web Design | | josh-riley0 -
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