Previously ranking #1 in google, web page has 301 / url rewrite, indexed but now showing for keyword search?
-
Two web pages on my website, previously ranked well in google, consistent top 3 places for 6months+, but when the site was modified, these two pages previously ending .php had the page names changed to the keyword to further improve (or so I thought). Since then the page doesn't rank at all for that search term in google.
I used google webmaster tools to remove the previous page from Cache and search results, re submitted a sitemap, and where possible fixed links to the new page from other sites. On previous advice to fix I purchased links, web directories, social and articles etc to the new page but so far nothing... Its been almost 5 months and its very frustrating as these two pages previously ranked well and as a landing page ended in conversions.
This problem is only appearing in google. The pages still rank well in Bing and Yahoo. Google has got the page indexed if I do a search by the url, but the page never shows under any search term it should, despite being heavily optimised for certain terms. I've spoke to my developers and they are stumped also, they've now added this text to the effected page(s) to see if this helps.
Header("HTTP/1.1 301 Moved Permanently");
$newurl=SITE_URL.$seo;
Header("Location:$newurl");Can Google still index a web page but refuse to show it in search results? All other pages on my site rank well, just these two that were once called something different has caused issues?
Any advice? Any ideas, Have I missed something? Im at a loss...
-
Do you want to give me the old url to double check for you? You can personal message me if you don't want it to be public.
-
I should also say that was for the old URL it says Success with the button "submit to index" no mention of any 301?
-
Ran the fetch as google, says Success with a button "submit to index". Should I click the submit button?
-
If you used the remove URL tool to only remove page 1 from the index then that's why it won't be ranking, I'm guessing page 2 wasn't removed using this tool? I don't think the canonical tag would help you in this situation as you're now telling Google that page 2 is the same as a page you've already told them not to index!
Just to confirm, when you used the redirect checker did you put in the old url and it says 301? It's worth using the fetch as GoogleBot tool inside Webmaster tools and then adding the old url to be crawled again so that they can see it has been moved permanently. If the 301 was only implemented properly 2 weeks ago there is still the chance it will come back!
-
Thanks for the advice, just checked and it is saying "301 Moved Permanently" Which I'm assuming is correct.
But I must admit Im confused as to why the page is not ranking well. The page is a list of products and it ran on to a second page, the url being the same just with /page-2 at the end. Weirdly the page 2 started ranking but not the original. I then added rel="canonical" back to the original page, thinking this would help, but all this did was stop indexing page 2 and the original page still doesn't show...
Tearing my hair out!!!
The latest 301 redirect code was added 2 weeks ago, it did have 301 redirect before, but it was done in a different way...
**Previous Code : **
Header("Location:/$seo,true,301"); -
It sounds like you went about this in the wrong way. What you should have done first is 301 redirect the old url to the new url and then update all you sites links to also point to the new url. You have used webmaster tools to specifically tell Google not to index that page and therefore it has lost all of it's authority (the 301 would have passed most of the authority on from the start)
Use this tool and insert your old url and make sure the header returned definitely says "301 Moved permanently". How long ago was the 301 implemented? It may still recover once Google picks up the redirect.
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
-
301 migration - Indexed Pages rising on old site
Hello, We did a 301 redirect from site a to site b back in March. I would check on a daily basis on the index count using query "site:sitename" The past couple of days, the old domain (that was 301 redirected) indexed pages has been rising which is really concerning. We did a 301 redirect back in march 2016, and the indexed count went from 400k pages down to 78k. However, the past 3 days it went from 78k to 89,500. And I'm worried that the number is going to continue to rise. My question - What would you do to investigate / how to investigate this issue? Would it be screaming frog and look at redirects? Or is this a unique scenario that I'd have to do other steps/procedures?
Intermediate & Advanced SEO | | ggpaul5620 -
Wrong URLs indexed, Failing To Rank Anywhere
I’m struggling with a client website that's massively failing to rank. It was published in Nov/Dec last year - not optimised or ranking for anything, it's about 20 pages. I came onboard recently, and 5-6 weeks ago we added new content, did the on-page and finally changed from the non-www to the www version in htaccess and WP settings (while setting www as preferred in Search Console). We then did a press release and since then, have acquired about 4 partial match contextual links on good websites (before this, it had virtually none, save for social profiles etc.) I should note that just before we added the (about 50%) new content and optimised, my developer accidentally published the dev site of the old version of the site and it got indexed. He immediately added it correctly to robots.txt, and I assumed it would therefore drop out of the index fairly quickly and we need not be concerned. Now it's about 6 weeks later, and we’re still not ranking anywhere for our chosen keywords. The keywords are around “egg freezing,” so only moderate competition. We’re not even ranking for our brand name, which is 4 words long and pretty unique. We were ranking in the top 30 for this until yesterday, but it was the press release page on the old (non-www) URL! I was convinced we must have a duplicate content issue after realising the dev site was still indexed, so last week, we went into Search Console to remove all of the dev URLs manually from the index. The next day, they were all removed, and we suddenly began ranking (~83) for “freezing your eggs,” one of our keywords! This seemed unlikely to be a coincidence, but once again, the positive sign was dampened by the fact it was non-www page that was ranking, which made me wonder why the non-www pages were still even indexed. When I do site:oursite.com, for example, both non-www and www URLs are still showing up…. Can someone with more experience than me tell me whether I need to give up on this site, or what I could do to find out if I do? I feel like I may be wasting the client’s money here by building links to a site that could be under a very weird penalty 😕
Intermediate & Advanced SEO | | Ullamalm0 -
A specific keyword has dropped from #1 in Google to nowhere at all...
Hi guys, I hope you can help. We have a large ecommerce website which has different domains for each language - GB, USA, DE, AU & CA. I've been working my way through the errors that have been flagged in Moz and today I noticed something quite worrying. One of our strong keywords has dropped from 1st place to nowhere at all. However, the Canadian version is ranking in the UK desktop search and our mobile site is appearing in the desktop search too. The keyword is 'personalised macbook cover' and the page in question is https://www.mrnutcase.com/en-GB/personalised-macbook-cover/ I'm confused as this page was ranking brilliantly a couple of weeks ago and now it's nowhere to be seen. We've added alternate and canonical tags to distinguish which site is mobile and which site is desktop. We've also submitted a sitemap so that it takes into account all of the languages. There are no harmful links and we've changed the content of the page across each language. I've attached what appears in the SERP's in the UK. (there is the mobile version ranking at the top and the Canadian version further down the page) Any help or advice would be greatly appreciated! Thanks, Danny webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=personalised%20macbook%20covers
Intermediate & Advanced SEO | | DannyNutcase0 -
CMS Pages - Multiple URLS (/)
Hi guys, this type of question has been asked a few times before but I couldn't find something that told me what i need so apologies if its a tad repetitive. I use Magento, and have several pages using its CMS. However, it produces 2 URLS for each page with a simple /. For example, website.com/hire
Intermediate & Advanced SEO | | ATP
website.com/hire/ I know google treats this as 2 separate pages, which would be the better solution. 1. Write a URL re-write for every CMS page
RewriteRule ^hire$ http://www.website.com/hire/ [R=301,L] (Is this right?) 2. Write a general rewrite rule to always add the /
No idea where to begin with this 3. Add a Canonical tag to the page which i think is possible in magento by adding this to the Custom Design Layout XML option in the page CMS. <action method="addLinkRel"></action> <rel>canonical</rel> <href>http://www.website.com/hire/</href> This would make the /hire/ page self-reference and the /hire page reference the /hire/ page I think. Which one of these solutions is the best and any pointers with the coding would be grand.0 -
Why Is Google Indexing These Product Pages On Shopify?
How can we communicate to Google the exact product pages we'd like indexed on our site? We're an apparel company that uses Shopify as our ecommerce platform. Website is sportiqe.com. Currently, Google is indexing all types of different pages on our site. **Example of a product page we want indexed: ** Product Page: sportiqe.com/products/PRODUCT-TITLE (Like This) **Examples of product pages being indexed: ** sportiqe.myshopify.com/products/PRODUCT-TITLE sportiqe.com/collections/COLLECTION-NAME/products/PRODUCT-TITLE See attached for an example of how two different "Boston Celtics Grateful Dead" shirts are being indexed. Any suggestions? We've used both Shopify and Google Webmaster tools to set our preferred domain (sportiqe.com). We've also added this snippet of code to our site three months ago thinking that would do the trick... {% if template == 'product' %}{% if collection %} {% endif %}{% endif %} sKwNZOl
Intermediate & Advanced SEO | | farmiloe0 -
Why the archive sub pages are still indexed by Google?
Why the archive sub pages are still indexed by Google? I am using the WordPress SEO by Yoast, and selected the needed option to get these pages no-index in order to avoid the duplicate content.
Intermediate & Advanced SEO | | MichaelNewman1 -
No Results for Google/Bing Keyword Search by Domain Name
My site is bestwebconsult [dot] com When I do a search for my exact domain name in Google and bing, it does not appear at all. I have submitted a sitemap to Webmaster Tools. It is a relatively new site completed with in the last month. Built with Joomla. This leads me to believe that something is misconfigured on the website. Please advise, thanks!
Intermediate & Advanced SEO | | crave811 -
Do pages with irrelevant keywords hurt the domain overall for ranking for relevant keywords?
I have been doing SEO for the University I work at. We are optimizing our degree pages on a page-by-page basis. So hypothetically we have a page optimized for "online accounting degree" and another for "online marketing degree", etc. Although our focus is on specific page optimization, we hope the by-product is that the whole domain will start to rank better for "online degree". First of all, is this a reasonable expectation? Second, if this IS the case, will pages full of irrelevant keywords hurt the overall strategy? For example, our registrar and financial aid PDFs that are full of legal/financial mumbo-jumbo. Are these lowering our keyword density of relevant keywords across the domain?
Intermediate & Advanced SEO | | SNHU0