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
-
Ranking Suggestions
Hi There, I am currently working on this site: completesteamclean.ca to rank as high as possible for "carpet cleaning windsor" on Google.ca and I can't seem to make any head way against the other websites ranking. I've optimized the page, created social media accounts for activity, even invested in Google Adwords and Facebook ads to try to boost my presence. Does anyone have any suggestions on any tactics/revisions I can make that may help boost my site?
Intermediate & Advanced SEO | | MainstreamMktg0 -
Location in URLs question
Hi there, my company is a national theater news publisher. Quick question about a particular use case. When an editor publishes a story they can assign several discrete locations, allowing it to appear on each of those locations within our website. This article (http://www.theatermania.com/denver-theater/news/full-casting-if-then-tour-idina-menzel_74354.html), for example, appears in the Los Angeles, San Francisco, and Denver section. We force the author to choose a primary location from that list, which controls the location displayed in the URL. Is this a bad practice? I'm wondering if the fact that having 'Denver' in the URL is misleading and hurts SEO value, particularly since that article features several other cities.
Intermediate & Advanced SEO | | TheaterMania0 -
Mixing static.htm urls and dynamic urls on a Windows IIS Server?
Hi all, We've had a website originally built using static html with .htm extensions ranking well in Google hence we want to keep those pages/urls. We are on a dedicated sever (Windows IIS). However our developer has custom made a new DYNAMIC section for the site which shows new added products dynamically and allows them to be booked online via shopping cart. We are having problems displaying them both on the same domain even if we put the dynamic section withing its own subfolder and keep the static htms in the root. Is it possible to have both function on IIS (even if they may have to function a little separately)? Does anyone have previous experience of this kind of issue or a way of making both work? What setup do we need to do on the dedicated server.
Intermediate & Advanced SEO | | emerald0 -
Does having shorter URLs help with rankings?
Hello here.I own an e-commerce website (virtualsheetmusic.com), and some of our most important category pages have pretty long URLs. Here is an example: http://www.virtualsheetmusic.com/downloads/Indici/Violin.html I am evaluating the possibility to shorten URLs like the above to something like: http://www.virtualsheetmusic.com/violin/ But since it is going to pretty hard and time consuming (considering the custom system we have in place on that site), I am trying to find out if it really matters and worth doing it from a SEO stand point. I am aware that from a user prospective shorter URLs are preferable, and we plan to pursue a better URL architecture on our website in the near future just for that, but this question, at the moment, should be strictly related to SEO. Any thoughts on this topic are very welcome!
Intermediate & Advanced SEO | | fablau0 -
DMOZ help
So yesterday I got a DMOZ editor account. I would like to know if Google indexes the editor profile pages on DMOZ: http://www.dmoz.org/public/profile?editor= here are some examples http://www.dmoz.org/public/profile?editor=thehelper http://www.dmoz.org/public/profile?editor=raph3988 http://www.dmoz.org/public/profile?editor=skasselea I would like to know if it is worth while to build up this page so it will pass link juice. And can anyone tell me how frequently Google crawls for new editors (if that's possible?)
Intermediate & Advanced SEO | | raph39880 -
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");
Intermediate & Advanced SEO | | seanclc
$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...0 -
Can some brilliant mozzer out there teach a moron/newbie like me how to 301 redirect several URL's I have?
Okay - I am a supermodel. I look pretty. My legs are amazing. My cheekbones are high. But when it comes to 301 redirects I am the ugliest supermodel on the block. Crap, here is the truth: I am not even a supermodel. I am just a middle-aged, goofy looking dude who is a newbie to fixing websites. I have inherited several sites from a friend and I have been helping by creating solid contextual links internally and externally for a while. But, when Roger the wondrous SEOMoz robot talks to me, he says, "oops, it looks like your foolish freak self has a site that has both a www. and a non-www, which can create competition for yourself." What do I do when he says that? I just whisper a "thank-you" but gently press the skip this step button and go on with my life because I do not know how to make my non-www.'s redirect into the www. sites... Now, I have sort of asked this question on the site before, but I was answered by someone who does not understand my level of ignorance. any use of the word canonical or just put this lfwjkshj.htp/php inside the left ear of your mom, does not tell me anything so, is there any willing and kind soul who can walk me through redirecting several of my sites to their proper home - kind of like Carl Chubbs Weathers did for Happy Gilmore in that Academy Award winning classic? Thanks for the help in advance best, dumbhead
Intermediate & Advanced SEO | | creativeguy0 -
Subdirectory URLs
If I have category pages for my site; is it better to use http://example.com/category/category or just http://example.com/category? Also, I'm creating a new section of the site; a resource center. Should the URLs of the pages in the resource center be http://example.com/learn/page or just http://example.com/page What are the reasons for the better choice?
Intermediate & Advanced SEO | | Visually0