Image URLs changed 3 times after using a CDN - How to Handle for SEO?
-
Hi Mozzers,
Hoping for your advice on how to handle the SEO effects an image URL change, that changed 3 times, during the course of setting up a CDN over a month period, as follows:- (URL 1) - Original image URL before CDN:www.mydomain.com/images/abc.jpg
- (URL 2) - First CDN URL (without CNAME alias - using WPEngine & their own CDN):
username.net-dns.com/images/abc.jpg - (URL 3) - Second CDN URL (with CNAME alias - applied 3 weeks later):
cdn.mydomain.com/images/abc.jpg
When we changed to URL 2, our image rankings in the Moz Tool Pro Rankings dropped from 80% to 5% (the one with the little photo icons).
So my questions for recovery are:
- Do I need to add a 301 redirect/Canonical tag from the old image URL 1 & 2 to URL 3 or something else?
- Do I need to change my image sitemap to use cdn.mydomain.com/images/abc.jpg instead of www.?
Thanks in advance for your advice.
-
Sorry I missed this follow-up earlier. Within the site map you'll want to change the http://WWW to http://CDN for these image files. The www version of your site, and the cdn server are on two different IPs / server. You want images to be serving from the CDN one.
For 2, if you do use 301 redirection I'd recommend scripting it so that the script inspects whether or not it's an image file and then applies the cdn change. A pro in your area that works with REgex and htaccess will be able to guide you through that.
The username.net-dns.com thing... That's not your server is it? You can't apply redirects on servers outside of your control. Cheers!
-
Hi Ryan,
Thanks for your answer - Sorry I didn't mean about the URL for the location of the sitemap - I think my question wasn't clear - may I rephrase it:(1) Inside my image sitemap, the urls serve off the www. subdomain as bolded in the example below (not .cdn). I'm assuming this setup is correct as this was auto-generated by an Image Sitemap Generator - does the below image:loc look correct to you?
<url><loc>http://www.bosphorusyacht.com/yachts/</loc>
image:imageimage:lochttp://**WWW.**bosphorusyacht.com/wp-content/uploads/2010/09/istanbul-boat-rental.jpg</image:loc></image:image></url>(2) For a 301 image redirect would I set it up like this:
Redirect 301 /wp-content/uploads/2010/09/istanbul-boat-rental.jpg
http://**WWW.**bosphorusyacht.com/wp-content/uploads/2010/09/istanbul-boat-rental.jpgOR
Redirect 301 /wp-content/uploads/2010/09/istanbul-boat-rental.jpg
http://**CDN.**bosphorusyacht.com/wp-content/uploads/2010/09/istanbul-boat-rental.jpgOR
How would I 301 this one?: username.net-dns.com/images/abc.jpg
Hope you can advise one last time - thank you!
-
Right. Not everything is going to be served from cdn. It's most likely setup for your images so your sitemap will still reside on www. Make sure to point to the front end files though as those are the publicly accessible ones.
-
Hi Ryan,
Thanks for your reply and advice. I've read the guidelines and will follow those. But I wonder if you can clarify an issue on implementing them that is not answered there:On my site the images in 'Backend' (edit/admin/code view) start with WWW.mydomain... and in 'Frontend' (actual published view in browser) they start with CDN.mydomain...
So my question is, do I use the Backend or Frontend (www. or cdn.) for the URL in both image sitemaps and in 301 redirect final destination?
My current sitemap for example seems to be using www rather than cdn. : http://www.bosphorusyacht.com/sitemap-image.xml
Thanks for your help!
-
You're on it. Redirecting to the new image source and submitting a new sitemap pointing to the URL 3 location for your images will be big steps in the right direction. Be sure to follow the instructions here for your sitemap: https://support.google.com/webmasters/answer/178636 as well as reviewing image publishing guidelines: https://support.google.com/webmasters/answer/114016. Cheers!
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
-
Service area local seo
Hello, everyone. I am struggling a little with the vast amounts of information about how best to get a local service area business ranking and the best practice. If I explain what I have been doing and then see how I can improve. I have created a couple of websites for window cleaners. These window cleaners offer several services like window cleaning, gutter cleaning, conservatory cleaning, pressure washing etc. They also cover several towns/cities so it's important for them to be able to target all these areas in search. They don't have multiple offices so only have one home/office address and by the nature of the job provide services at the customer's house/business. What I have been doing is creating a page for each service they provide then to cover the areas I have been doing two things. Creating a page on the site called areas covered with a list of the areas they cover and also adding in the title of the page the main one or two areas that are most important to them. From what I can gather this might not be the best approach?? Google may see the areas in titles as keyword stuffing? Google also doesn't like a list of areas in one go anywhere on a site which can also seem like keyword stuffing? So for an example, this would be a rough title structure of service pages Window cleaners in town/city, town/city and town/city Gutter Cleaners in town/city, town/city and town/city As I said I am not sure this is the best way to do this from what I read. I have read about area specific pages but i struggle to see how i could make each area specific page unique enough as the service is exactly the same in each area. I have also read that putting the most important keywords at the begingin of the the title is better so using the above example would this be better? town/city window cleaners - business name So from what i understand having pages like this might be better Window cleaners town/city1 Window cleaners town/city2 Window cleaners town/city3 Gutter Cleaners town/city1 Gutter Cleaners town/city2 Gutter Cleaners town/city3 and so on but like I say I am aware each of these area specific pages would need to be unique but being that the services are exactly the same in each area I am not sure how I could warrant creating all the pages. Writing about the specific area on the page seems a little odd in that the visitor who lands on that page doesn't want to learn about their area, they live there and know the area. They want to know what the service is and if they do in fact cover their area. In which case how can i best ensure all or most of the areas they cover are targeted and show in search? Some sites i have done cover around 20-30 towns around them so how can best ensure they rank for them? I have also been reading conflicting information about how to structure pages and urls. Some say don't use commas in page titles, some say don't use underscores and only use hyphens. Similarly, I have read that the URL should not contain any hyphens but I am not sure about this seeing as WordPress often adds hyphens between words in URLs. Some say you should always have an H1 on every page others say it's not all that important anymore. With images, i have also been giving them alts the same as the page titles thay are on, is this the wrong thing to do? Id be happy to private messge (if i can do that here) one of the sites I would be eternally grateful if anyone can help in firstly clarifying how I could best improve ranking for areas covered and secondly what best practice is to structure page content like H1's image alts etc. Thanks
Local Website Optimization | | Gavpeds0 -
Local SEO for Multiple Locations - Is this the best approach?
Hi everyone! I previously have worked with single-location companies, and am now working for a company that is continuously growing and adding new locations. We are a financial institution that currently has 12 locations, and we should have 15+ locations by year-end 2017. Seeing as we have all of these locations, I thought the following approach would be the best for increasing our presence in local search. Our primary keyword is "credit union in location". Our search traffic has increased heavily over last year, but is down from the beginning of the year. I've gone through and done the following: Freshened up the content on the main website Created pages for each of our locations around April-end Attributed these location page URLs to our Google My Business locations Verified each location Wrote unique content for each page Our primary keyword rankings seem to fluctuate weekly. My next steps are to get our web design company to add the following: Structured Data on all location pages The ability to change SEO title and meta descriptions on location pages Sitemap (there is none currently, and I've been fighting them to get one added because it isn't needed.) I also plan on utilizing Moz Local to manage our local listings. After this is done I plan on finding ways for us to build links for each location, like the chambers of commerce in each city and local partnerships. Is this the best approach for our overall goal, and should I continue? Is there anything I should change about our current approach? I appreciate the help!
Local Website Optimization | | PelicanStateCU0 -
Duplicate Content - Local SEO - 250 Locations
Hey everyone, I'm currently working with a client that has 250 locations across the United States. Each location has its own website and each website has the same 10 service pages. All with identical content (the same 500-750 words) with the exception of unique meta-data and NAP which has each respective location's name, city, state, etc. I'm unsure how duplicate content works at the local level. I understand that there is no penalty for duplicate content, rather, any negative side-effects are because search engines don't know which page to serve, if there are duplicates. So here's my question: If someone searches for my client's services in Miami, and my client only as one location in that city, does duplicate content matter? Because that location isn't competing against any of my client's other locations locally, so search engines shouldn't be confused by which page to serve, correct? Of course, in other cities, like Phoenix, where they have 5 locations, then I'm sure the duplicate content is negatively affecting all 5 locations. I really appreciate any insight! Thank you,
Local Website Optimization | | SEOJedi510 -
Should I use Rel-Canonicals links for a News site with similar articles each year
Our small town news site provides coverage in a lot of seasonal areas, and we're struggling with the current year's content ranking above previous years. For instance, every year we cover the local high school football team, and create 2-3 articles per game. We'll also have some articles preseason with upcoming schedule and general team "talk". We've seen where articles from past seasons will rank higher than the current season, presumably because the older articles have more links to them from other sources (among other factors). We don't want to delete these old articles and 301 them to the newer article, since most articles include information/stories about specific players...and their families don't want the article to ever come down. Should we rel-canonical the older articles to the newer one, or perhaps to the "high school football" category page? If to the category page, should we rel-canonical even the new articles to that main category page? Thanks for the help.
Local Website Optimization | | YourMark.com0 -
Content writing for single entity business (The use of I)
Most of my clients consist of single entity law firms in which my clients repeatedly use the pronoun "I" to describe every service they provide. I have always preferred using the business name The Law Office of..." put lawyer name here". Is it ok to repetitively use the pronoun "I" in the content. To me it feels lack luster and childish not very professional, however I have a hard time convincing the lawyers of this. What are your thoughts? Can good content be written with the repetitive use of "I"? If not is the business name sufficient or maybe another pronoun? I will be showing responses to my clients if that is ok.
Local Website Optimization | | donsilvernail0 -
How can I fully take advantage of press coverage to aid my SEO efforts?
I run the digital marketing for a local start-up that's ranking for groups of semi-related keywords. We've been around for about 6 months in beta and have recently (a few days ago) done our official launch. We're starting to get some coverage in local media and I've tried my best to ensure that links to our site are included with a good range of keywords. What else can I do to fully take advantage of the press coverage that will be coming our way?
Local Website Optimization | | NgEF0 -
Scaling Business Operation n SEO as an Entrepreneur
Hi! I'm a 1 man business operating in Singapore doing Delivery Service for Business. Right now my website is ranking at the 3rd page of google, www.vantagedelivery.com
Local Website Optimization | | Caleb-Seah
The keywords that i'm looking to rank are delivery service, delivery service singapore. Being alone in the business, i struggle in doing the SEO aspect of the website on a consistent basis. Therefore i'm looking for a scale-able way for me to do SEO in my free-time, perhaps 2 hours a day? Any recommendation especially with regards to the routine i should be looking at?
With regards blogpost, what are the recommended things to do especially when the crowd of the people who reads blogpost in my industry is close to none? Thanks!0 -
What is the best type map for local SEO?
Hi mozzers, Can someone tell me which type of map is best when embedding it into your service pages? or any map is good enough? Why? Thanks guys!
Local Website Optimization | | Ideas-Money-Art0