URL no longer ranks after redesign, everything was done by the book. Can someone plz help?
-
Hey Mozzers,
After a redesign of our site we have a huge problem with 1 particular URL. We can't understand what is wrong with it. Our site was redesigned about 3 weeks ago everything was done to make sure the process was smooth. Content on the new url was exactly the same as before, title tags and meta descriptions were copy pasted, 301 redirects were set up. Our site has 47 pages and all other pages are still ranking the same way as they used to before the update but this one url has just dropped from serps or once a while is appearing on 2nd, 3rd pages.
URL in question is: https://dcacar.com/dulles-limo-service/
We are a MOZ pro client and have the data on where this url was ranking prior to the update. Keywords it ranked for #1position on page one- some examples ( car service to dulles, car service to iad, dulles airport limo service) and many more. The only thing that has changed was the url the old url was https://www.dcacar.com/dulles-limo-service.html
After the new design we got rid of the ".html" on all our urls, the funny thing is that all our 46 urls were updated the same way but only this url is experiencing this problem. Google search console shows that url is indexed and on Google but sometimes it does not show up on serps.
Can anyone please help? 20% of our business comes from this url and we are loosing real money everyday and I can't figure out was is wrong with it.
Thanks all,
Davit
-
This echoes what Thomas said but I'll weigh in anyway. This is your old URL: https://www.dcacar.com/dulles-limo-service.html. You say it has been redirected to the new page with a 301, which is only partially accurate. You need to install this Chrome extension which will allow you to inspect redirects and chains: https://chrome.google.com/webstore/detail/redirect-path/aomidfkchockcldhbkggjokdkkebmdll?hl=en. Visit the old URL (http://www.dcacar.com/dulles-limo-service.html) and you will see that it redirects no less than four times (instead of just once). Google probably didn't follow your redirect all the way through. This is your page's redirect path: https://www.dcacar.com/dulles-limo-service.html (301) -> https://dcacar.com/dulles-limo-service.html (301) -> https://dcacar.com/dulles-limo-service.html/ (301) -> https://dcacar.com/dulles-limo-service (301) -> https://dcacar.com/dulles-limo-service/ (200) . Redirects should be A to B, simple. They shouldn't chain up like this
-
Hi Thomas, we are working on fixing the issues you mentioned right now. I will update you if it works. Thanks for your detailed analysis. It means the world to us.
-
You are facing problem due to redirection rule. You are saying you are redirecting as 301 but actually status code is 302. So you need to solve this issue first. http://prntscr.com/q9fbah
-
Hi Davit, I found the problem fix your servers redirect chains
Google recommends to not have more than 5 hops in a redirect chain. We found 6 hops. This could mean slower or delayed crawling as well as potential SEO problems caused by this.
Look https://i.imgur.com/w40qS3b.jpg
-
Your .html page
-
Fix your nginx config file.
-
https://cobwwweb.com/remove-html-extension-and-trailing-slash-in-nginx-config
Then this hits a 302 (will not pass Link equity)https://dcacar.com/dulles-limo-service.html/
| 302 | 302 redirect to:https://dcacar.com/dulles-limo-service |
https://stackoverflow.com/questions/5730092/how-to-remove-html-from-url
Might be faster to use https://support.cloudflare.com/hc/en-us/articles/224509547-Recommended-Page-Rules-to-Consider
<code>RewriteCond%{REQUEST_FILENAME}!-f RewriteCond%{REQUEST_FILENAME}!-d</code>
checks that if the specified file or directory respectively doesn't exist, then the rewrite rule proceeds:
`RewriteRule^(.*)\.html$ /$1 [L,R=301]` [https://www.aleydasolis.com/htaccess-redirects-generator/page-with-to-without-extension/](https://www.aleydasolis.com/htaccess-redirects-generator/page-with-to-without-extension/)
<ifmodule mod_rewrite.c="">RewriteEngine on
RewriteRule ^/?(.*).(html)$ /$1 [R=301,L]</ifmodule><ifmodule mod_rewrite.c="">RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]</ifmodule>Remove HTML Extension
There are a few different ways to go about removing the
.html
extension. I've found the following to work just fine:<code>server { rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; }</code>
Then we have to make sure Nginx knows what files to look for, and for that we use the
try_files
directive. We'll look for a file with the current$uri
and an.html
extension, and if no file exists, we check for a directory with that name and serve the index. Otherwise, we render a404
error.<code>server { rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; index index.html; try_files $uri.html $uri/ $uri =404; }</code>
Remove Trailing Slashes
After that first step, we have a URL without a
.html
extension. However, if the file of interest was anindex.html
file, it could still be accessed via the name of the parent directory with a trailing slash.For me, for example, I was getting a URL at http://cobwwweb.com/page/2/, but I didn't want the trailing slash.
We have to remove the trailing slash after we have removed the
.html
extension.The gotcha here is that we have to alter the
try_files
directive to look for anindex.html
file first.<code>server { rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; rewrite ^/(.*)/$ /$1 permanent; index index.html; try_files $uri/index.html $uri.html $uri/ $uri =404; }</code>
Pulling It Together
To pull it all together, I'll share a slightly-altered version of my config for this site.
<code>server { listen 80; server_name cobwwweb.com *.cobwwweb.com; rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; rewrite ^/(.*)/$ /$1 permanent; root /path/to/project/root; index index.html; try_files $uri/index.html $uri.html $uri/ $uri =404; error_page 404 /404.html; error_page 500 502 503 504 /500.html;</code>
Hey, regular site audit we'll find out more these problems. do you want one?
Hope this helps,
Let me know if not,
Tom
-
-
Hi Davit,You need to link internally from your current site
-
The page is an orphan according to Moz and only has when the mean pointing to it according to link research tools
-
You are #5 in the SERPS as on now I searched from New England
-
Google is not indexing the full page.
-
You change from Wordpress to?
-
https://web.archive.org/web/20170928065156/http://www.dcacar.com/dulles-limo-service.html
-
LRT Power3
-
3
-
LRT Trust1
-
Backlinks 2M
-
Ref Domains 510
-
PAGE
-
LRT Power3
-
6
-
LRT Trust2
-
Backlinks 2
-
Ref Domains 1
-
Links
-
I will run a test and post if that's ok?
-
Have you checked Google search console will you try to make sure that it crawls it again. It appears that it's not very high priority page considering the last time crawled by Google was November 20
Hope this helps,Tom
-
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
-
Help me to understand why this page doesn't rank
Hello everyone. I am trying to understand why most of my website category pages don't show up in the in the first 50 organic results on Google, despite my high website DA and high PA of those pages. We used to rank high a few years ago, not clear why most of those pages have almost completely disappeared. So, just to take one as an example, please, help me to understand why this page doesn't shows up in the first 50 organic search results for the keyword "cello sheet music": http://www.virtualsheetmusic.com/downloads/Indici/Cello.html I really can't explain why, unless we are under some sort of "penalization" or similar (a curse?!)... I have analyzed any possible metric, and can't find a logical explanation. Looking forward for your thoughts guys! All the best, Fab.
Intermediate & Advanced SEO | | fablau0 -
URL Construction
Working on an old site that currently has category urls (that productively rank) like this example: LakeNameBoating.com/category/705687/rentals I want to enhance the existing mid page one rank for terms related to "Lake Name Boat Rentals," 301ing the old urls to the new, would you construct the new urls as: LakeNameBoating.com/lake-name-boat-rentals or... LakeNameBoating.com/boat-rentals And why? It's all for one particular lake with "name" being just an anonymous placeholder example. Thanks!
Intermediate & Advanced SEO | | 945010 -
URL Index Removal for Hacked Website - Will this help?
My main question is: How do we remove URLs (links) from Google's index and the 1000s of created 404 errors associated with them after a website was hacked (and now fixed)? The story: A customer came to us for a new website and some SEO. They had an existing website that had been hacked and their previous vendor was non-responsive to address the issue for months. This created THOUSANDS of URLs on their website that were then linked to pornographic and prescription med SPAM sites. Now, Google has 1,205 pages indexed that create 404 errors on the new site. I am confident these links are causing Google to not rank well organically. Additional information: Entirely new website Wordpress site New host Should we be using the "Remove URLs" tool from Google to submit all 1205 of these pages? Do you think it will make a difference? This is down from the 22,500 URLs that existed when we started a few months back. Thank you in advance for any tips or suggestions!
Intermediate & Advanced SEO | | Tosten0 -
HELP! How do I get Google to value one page over another (older) page that is ranking?
So I have a tactical question and I need mozzers. I'll use widgets as an example: 1- My company used to sell widgets exclusively and we built thousands of useful, branded unique pages that sell widgets. We have thousands of pages that are ranking for widgets.com/brand-widgets-for-sale. (These pages have been live for almost 2 years) 2- We've shifted our focus to now renting widgets. We have about 100 pages focused on renting the same branded widgets. These pages have unique content and photos and can be found at widgets.com/brand-widgets-for-rent. (These pages have been live for about 2-3 months) The problem is that when someone searches just for the brand name, the "for sale" pages dramatically outrank the "for rent" pages. Instead, I want them to find the "for rent" page. I don't want to redirect traffic from the "for sale" pages because someone might still be interested in buying (although as a company, we are super focused on renting). Solutions? "nofollow" the "for sale" pages with the idea that Google will stop indexing "for sale" and start valuing "for rent" over it? Remove "for sale" from sitemap. Help!!
Intermediate & Advanced SEO | | Vacatia_SEO0 -
Can too many NoFollow links damage your Google rankings?
I've been trying to recover from a Google algorithm change since Sep 2012, so far without success. I'm now wondering if the nofollow on external links in my blog posts are actually doing me damage. http://www.smartdatinguk.com/blog/ Does anyone have any experience of this?
Intermediate & Advanced SEO | | benners0 -
Help me solve a keyword ranking mystery please
I posted this and had some help (thank you!) but found some new things, so I thought I'd just start a new thread so no info. is missed. Hi everyone, I'm new here 🙂 So far I've had wonderful success seo wise and none of the updates (Penguin nor Panda) affected any sites, until this one. For example, one site has 7 keywords I'm optimizing for. Out of those 7, all but 2 (and variations of the 2 - one word vs long-tail) completely tanked. These keywords were all on page 2/3. One of the two survivors never budged from page 2 (it's a brand keyword so I was very happy to finally get it to page 2) Now when I check rankings, the other terms show up in the 200-400 spots, but NOT for the URL I was optimizing for (category page) but instead for random products in the category. The only thing I've done differently with the 2 keywords that are still doing well, was focus - we did more link-building for those, but not an extreme amount. Never over-optimize. My question is, how did 2 survive and 5 are still floating up and down. Last night I saw one go up 122 spots, now today down 14. I'm really struggling with this. I just ran another diagnostic crawl here and the report found 0 errors and 0 warnings. I checked category content with a plagiarism checker and found some external duplicate content which I've already taken care of. No critical warnings/messages in WMT either. I'm stumped 😞 Thank you for any help.
Intermediate & Advanced SEO | | Freelancer130 -
Mobile friendly version (CSS) - helps in rankings on mobile searches?
Does anyone know if there are any theories or evidence that a mobile optimized website (CSS) has better chances of ranking on Mobile platforms - assuming links and other factors being equal? In other words, is Google able to identify that a website has been optimized for mobiles and gives them preference/weight to rank over other websites that are not mobile optimized?
Intermediate & Advanced SEO | | Syed10 -
Is it OK to have a site that has some URLs with hyphens and other, older, legacy URLs that use underscores?
I'm working with a VERY large site that has recently been redesigned/recategorized. They kept only about 20% of the URLs from the legacy site, the URLs that had revenue tied to them, and these URLs use underscores. Whereas the new URLs created for the site use hyphens. I don't think that this would be an issue for Google, as long as the pages are of quality, but I wanted to get everyone's opinion on this. Will it hurt me to have two different sets of URLs, those with using hyphens and those using underscores?
Intermediate & Advanced SEO | | Business.com0