Redirect old image that has backlinks
-
Hi Moz Community!
I'm doing an audit of a website and did a backlink analysis. In the backlink analysis, there is an image that has 66 backlinks but the image doesn't exist on the website anymore (it was on a website that was created in 2011 - 2 web launches ago). I don't believe a 301 redirect will work for an image that doesn't exist anymore.
How would I redirect the image URL (it's WordPress so we have a specific URL that other websites are linking to but get 404 errors) without going to each individual website and requesting they change the URL link?
Any advice or recommendations would be great. Thanks!
-
Hi Brad,
As others have indicated, there's no reason a 301 redirect on a missing image shouldn't work - it's all based on the URL request (not the actual resource served, since the server intercepts the request and forwards it to another URL along with the 301 status code).
I'd second Yaroslav's recommendation on a good WP plug-in for this (Redirection). You should be able to just use the URL string here to set the redirect where you want to point it.
I would also suggest double-checking that these are actual links pointing to the image URL, not embeds of that image on these pages (some tools will pick that up as a link).
Finally, you may want to create a new page that includes a suitable replacement image if one is available, rather than redirecting to the replacement image file URL (bc this way the reclaimed PageRank will flow through to the rest of your site via your navigation).Best,
Mike -
Hi there,
I believe there are a handful of Wordpress plugins which allow you to simply place in a direct URL path so in your instance http://www.site.com/gallery/image/picture.png could be redirected to http://www.site.com.
The main thing to keep in mind is you use a 301 redirect for this process to ensure all link equity is maintained during the process.
A good plugin for doing 301 redirects on wordpress is - https://en-gb.wordpress.org/plugins/redirection/
I hope this helps!
-
As jcnotfound2083 states the ideal is to use a 301 redirect. I am certain it very much will pass authority. Reason being I've seen many black/grey hats check for broken links on NY Times on older articles and should they see a DoFollow to a expired non owned domain, purchase the lease and 301 redirect it to a domain they want authority passed.
When it comes to the NYTimes scenario, I'd Personally make a website and put relevant content on it, giving me the most longevity as to not appear blatantly obvious that I'm manipulating the situation for ranking. In the case of this image, you don't want to just swap it with another one especially if it's annoying and had say for instance the date meshed in with the url extension, which is to much to deal with. This will redirect it to your homepage
Redirect 301 /foldersAnd/ToOldImage/image.jpg /
-
Hi,
A 301 redirect is the most reasonable alternative. I would place an instruction within the .htaccess file like this:
Redirect 301 /[old_folder] new_url_image
-
Hello Brad,
I'm assuming the image used to be on the same domain you're now on, and it leads them to your website 404 page, in that case, I would upload another relevant image with the same filename to my site and do a 301 redirect.
If those backlinks point to an image from the other site which is different from your current site, you might want to make sure these backlinks are quality and relevant to your content before making a domain level 301 redirect.
Hope this answered your question.
Regards,
Joseph Yap
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
-
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version? Thant way all forms of the website are pointing to one version?
Intermediate & Advanced SEO | | Caffeine_Marketing0 -
Redirects in .htaccess file
I am using yoast seo plugin for wordpress. I have done several link changes and placed approximately 80-100 301 redirect into .htaccsses file. Is this good practice? Do they have to be there forever? Is it not slowing down site? Or should this be done in different way? Thank you very much Iris
Intermediate & Advanced SEO | | Rebeca10 -
Effect Of Restoring Old Website After Implementing 301 Redirects
After redesigning my old Drupal website and launching a new "improved" Wordpress version the new version is performing badly. Ranking is poor and conversions don't occur. I realize that my new design is bad (no call to action, poor structure, text heavy). New business inquiries have ceased. The site contains 450 pages. After spending $25,000 and a year of my life I see the new version is not an improvement! What would be the effect of reinstating the old version of the site and doing 301 redirects back to it? Would the old rankings be restored? I need to decide whether I should revert or focus on fixing flaws in the improved design. Any thoughts?? Thanks,
Intermediate & Advanced SEO | | Kingalan1
Alan0 -
Should I Remove Dates From My Old Posts
I have a web site that has content about home improvement topics but the site has no new content since 2010. All the posts on the wordpress site have the date which are all 2010 and prior. Is there a downside in terms of search engine rankings to remove the dates or changing the dates? What are the risks to removing the dates? Could I lose rankings if I do this? Do you have any personal experience with this situation?
Intermediate & Advanced SEO | | alpha170 -
301 redirect rule
Hi there, I have a website that has hundreds of links with a "question mark" at the end of URLs. For example: http://www.domain.com/directory/page.html?
Intermediate & Advanced SEO | | iQandil
http://www.domain.com/directory/another-directory?
http://www.domain.com/directory/yet-another-directory/? I'm want to place a wildcard redirect on the .htaccess file but don't know what exactly to add. Ideally I want the URLs above to be: http://www.domain.com/directory/page.html
http://www.domain.com/directory/another-directory/
http://www.domain.com/directory/yet-another-directory/ Any help is most appreciated. Thanks
Issa0 -
301 redirect or rel=canonical
On my site, which I created with Joomla, there seems to be a lot of duplicated pages. I was wondering which would be better, 301 redirect or rel=canonical. On SeoMoz Pro "help" they suggest only the rel=canonical and dont mention 301 redirect. However, ive read many other say that 301 redirect should be the number one option. Also, does 301 redirect help solve the crawling errors, in other words, does it get rid of the errors of "duplicate page content?" Ive read that re-=canonical does not right? Thanks!
Intermediate & Advanced SEO | | waltergah0 -
Image ALT Descriptions
Due to the way our system is and the way we want to do something. We have to make the description for each image in the ALT. Now this is not just a few words but is actually a few sentences. Is there going to be any negative disadvantage to doing it this way? The positives I see is that it will help with accessibility and atleast the bots will be able to tell what the item is about. The negatives is that maybe this description could be better used elsewhere?
Intermediate & Advanced SEO | | websitesaleslab0 -
Htaccess Redirect with %C2%A0 in URL
Below is my setup for redirects in .htaccess file in my root word press installation. The www to non-www works well, so no problems there Other page redirects work well, too (example: redirect 301 /some-page/ http://mysite.com/another-page/ (I didn't post those because I have a few too many : ) So here it goes... RewriteEngine On
Intermediate & Advanced SEO | | pepsimoz
RewriteCond %{HTTP_HOST} ^www.mysite.com$ [NC]
RewriteRule ^(.*)$ http://mysite.com/$1 [R=301,L] BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> END WordPress redirect 301 /archives/10-college- majors/ http://mysite.com/archives/10-college-majors/ redirect 301 /archives/10-college-%20majors/ http://mysite.com/archives/10-college-majors/ redirect 301 /archives/10-college-%C2%A0majors/ http://mysite.com/archives/10-college-majors/ I'm having a problem with the last 301 redirect: redirect 301 /archives/10-college-%C2%A0majors/ http://mysite.com/archives/10-college-majors/ not working... As you can see I've tried using other varations of the "space" but no go. I also used a redirect in cPanel's Redirect screen; testing all the possible options + wildcard I've also tried this: http://serverfault.com/questions/201829/using-special-characters-in-apache-mod-rewrite-rule (perhaps unsuccessfully, because it caused a 500 server error and it's a different situation in my case) I also saw something here: http://www.webmasterworld.com/apache/3908682.htm but I don't know if it works and how I would implement that + do so without compromising ALL other redirects. Note: the URL displays with a space in the address bar of all major web browsers: http://mysite.com/10-college- majors/ and goes to a 404 page I have a goregous page / PR6 / high authority site linking to the URL on my site, but they copied the URL with a space somehow. I contacted the person responsible for the website and he claims it works fine (aka he didn't check it). Is there a clean way to redirect ONLY this problematic URL without compromising other redirects, etc? Any ideas would be great. I'll respond with progress. Thanks in advance. UPDATE the redirect works, and it did work. Even so, when looking at source of page linking to mine, the URL looks like this: ``` http://mysite.com/archives/10-college- majors/ Clicking the URL in Source View in FireFox takes me to ``` http://mysite.com/archives/10-college-%C2%A0majors/ none of my 301 redirects should direct there. I don't have any redirect plugins either.0