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
-
I need help on how best to do a complicated site migration. Replacing certain pages with all new content and tools, and keeping the same URL's. The rest just need to disappear safely. Somehow.
I'm completely rebranding a website but keeping the same domain. All content will be replaced and it will use a different theme and mostly new plugins. I've been building the new site as a different site in Dev mode on WPEngine. This means it currently has a made-up domain that needs to replace the current site. I know I need to somehow redirect the content from the old version of the site. But I'm never going to use that content again. (I could transfer it to be a Dev site for the current domain and automatically replace it with the click of a button - just as another option.) What's the best way to replace blahblah.com with a completely new blahblah.com if I'm not using any of the old content? There are only about 4 URL'st, such as blahblah.com/contact hat will remain the same - with all content replaced. There are about 100 URL's that will no longer be in use or have any part of them ever used again. Can this be done safely?
Intermediate & Advanced SEO | | brickbatmove1 -
Why have my rankings dropped?
I have a client who has just seen his average page rank creep up from around 39 to 34 over about two months, then it appears to have dropped back to position 40+ in the space of a week. I believe he's made a lot of changes to targeted keywords, so I'd like to think it's simply because his old targeted keywords are dropping and new keywords still have to build their rankings. But I'm also worried in case he has over-optimised and might get getting penalised. Any advice on where to start digging?
Intermediate & Advanced SEO | | muzzmoz0 -
Using "nofollow" internally can help with crawl budget?
Hello everyone. I was reading this article on semrush.com, published the last year, and I'd like to know your thoughts about it: https://www.semrush.com/blog/does-google-crawl-relnofollow-at-all/ Is that really the case? I thought that Google crawls and "follows" nofollowed tagged links even though doesn't pass any PR to the destination link. If instead Google really doesn't crawl internal links tagged as "nofollow", can that really help with crawl budget?
Intermediate & Advanced SEO | | fablau0 -
How much does URLs with CAPS and URLs with non-CAPS existing on an IIS site matter nowadays?
I work on a couple ecommerce sites that are on IIS. Both sites have return a 200 header status for the CAPS and non CAPS version of the URLs. While I suppose it would be ok if the canonicals pointed to the same version of the page, in some cases it doesn't (ie; /Home-Office canonicalizes to itself and /home-office canonicalizes to itself). I came across this article (http://www.searchdiscovery.com/blog/case-sensitive-urls-and-seo-case-matters/) that is a few years old and I'm wondering how much of an issue it is and how I would determine if it is/isn't?
Intermediate & Advanced SEO | | OfficeFurn0 -
Removing .html from URLs - impact of rankings?
Good evening Mozzers. Couple of questions which I hope you can help with. Here's the first. I am wondering, are we likely to see ranking changes if we remove the .html from the sites URLs. For example website.com/category/sub-category.html Change to: website.com/category/sub-category/ We will of course make sure we 301 redirect to the new, user friendly URLs, but I am wondering if anyone has had previous experience of implementing this change and how it has effected rankings. By having the .html in the URLs, does this stop link juice being flowed back to the root category? Second question: If one page can be loaded with and without a forward slash "/" at the end, is this a duplicate page, or would Google consider this as the same page? Would like to eliminate duplicate content issues if this is the case. For example: website.com/category/ and website.com/category Duplicate content/pages?
Intermediate & Advanced SEO | | Jseddon920 -
Can you nofollow a URL?
Hey Moz Community, My questions sounds pretty simple but unfortunately, it isn't. I have a domain name (we'll use example.com for this) http://example.com which 301 re-directs to http://www.example.com. http://example.com has bad links pointing to it and http://www.example.com does not. So essentially, I want to stop negative influences from http://example.com being passed on to http://www.example.com. A 302 re-direct sounds like it would work in theory but is this the best way to go about this? Just so you know, we have completed a reconsideration request a long time ago but I think the bad links are still negatively affecting the website as it does not rank for it's own name which is bizarre. Actual Question: How do I re-direct http://example.com to http://www.example.com without passing on the negative SEO attached to http://example.com? Thanks in advance!
Intermediate & Advanced SEO | | RiceMedia0 -
Adding index.php at the end of the url effect it's rankings
I have just had my site updated and we have put index.php at the end of all the urls. Not long after the sites rankings dropped. Checking the backlinks, they all go to (example) http://www.website.com and not http://www.website.com/index.php. So could this change have effected rankings even though it redirects to the new url?
Intermediate & Advanced SEO | | authoritysitebuilder0 -
How to get better URL description when ranking #3
OK, last question of the week. I promise. I'm doing something right. I distribute for manufacturers. For some of my less known manufactuers I am #3 or #2 rank. For my main product the manufacturer is #1,2 with some numerical code as the discription. The manufacture will sell direct. To get the customers attention I need to PPC, and luckily it's inexpensive. Is there any way to control what the content is of the listing?. I would like to state in my #3 rank " 10-10-PP, In stock, same day shipping, best pricing." Does Google choose what to display and if so is there some where on my site I can influece this? For you experts, perhaps this is the joke of the week.? Please do not have a heart attack when laughing.
Intermediate & Advanced SEO | | Wales0