External links point to 403 page - how to 301 redirect if no file extension?
-
Hi guys,
After moving from an old static .htm site to Wordpress, I 301'd all old .htm urls fine to the new trailing slash foldery style /wordpress-urls/ in htaccess no problem.
But Google Webmaster Tools tells me I still have hundreds of external links pointing to a similar version of the old urls (but without the .htm), giving lots of not founds and 403s.
Example of the urls linked to that 403 not found:
http://www.mydomain.com/filename
So I'm wondering how I do a 301 redirect from a non-exisiting url that also has no file extention as above and is not like a folder? This seems like a lot of possible external link juice to lose.
Thanks!
-
Yes great, that worked - thanks a lot!
-
Make a file with that name without the extension and put a 301 redirect onto it. So you will have a live file there to redirect.
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
-
SEO value of affiliate external links
There are websites that have linked to my site. Whenever I hover over link I see my direct website URL and I am not seeing "no follow" when viewing source code so I assume these are passing link juice. However when I click on link it directs briefly to shareasale (affiliate account) in web address bar, but then quickly directs back to my website URL as directed. I was curious if these good links I am acquiring truly pass juice or since they briefly pass through an affiliate site if that cancels or dilutes the link juice. Also I am noticing when inspecting element that after the HREF it says class="external-link" I am just not sure if my link building efforts are being ruined by having an affiliate account running.I did not tell them I had one. I guess they are searching to see that I have one and trying to make a few extra commission dollars.
Intermediate & Advanced SEO | | nchachula0 -
301 redirects for a redesign.
About to completely redo a client's site and I want to make sure I don't loose our link juice. The current site is a old template site from another provider. They host it and we do not have access at all to the site itself, so there will be no transferring of the site from server to server because they feel the site is their property. Basically the site is a monthly service not a product. So this will be a completely new website, including new URL structure. So my question is how do keep the link juice flowing to the new site? I know I need to use 301 redirects, but do I rebuild those old URLs on my site and redirect them to their new counterpart or what? The link profile is not that impressive, maybe 15 back links (all mainly going to the homepage). But they all are local and coming from pretty good domain authority. But its keeping us ahead of our competition. Back story: This is one of my local search clients, we now have them ranking #1 across the board in the local packs. After analyzing the traffic, they are losing 75% of all traffic because of the sites design. So a new site is a must. I build a lot of websites, but have never worried about the back link profile before now. Thanks for all your help!
Intermediate & Advanced SEO | | masonrj0 -
Pages that 301 redirect to a 404
We are going through a website redesign that involves changing URL's for the pages on our site. Currently all our pages are in the format domain.com/example.html and we are moving to stip off the .html file extension so it would just be domain.com/example We have thousands of pages as the site deals with news so building a redirect for each individual page isn't really feasible. My plan is to have a generic rewrite rule that redirects any page that ends .html to the stripped off version of this. A problem I can see with this is that it will also redirect pages that don't exist. So for example, domain.com/non-existant-page.html would 301 to domain.com/non-existant-page which would then return a 404 status. What would the SEO repercussions be for this? Obviously if a page doesn't exist already then it shouldn't show up in the search engine indexes and shouldn't be a problem but I'm a bit worried about how old pages that currently legitimately 404 will be treated when they start to 301 redirect to a 404 instead. Not sure if there any other potential issues from this that I've missed either? Thanks!
Intermediate & Advanced SEO | | sbb0240 -
Do I put a canonical tag on the page I am pointing to?
Lets say B i a duplicate page of A (main page). I understand I have to put canonical tag under B to point to A. Do I also put canonical tag under the main page A? Is it necessary? I understand that A would then tell Google that it is preferred page of A? Is this a correct understanding?
Intermediate & Advanced SEO | | andypatalak0 -
.htaccess 301 Redirect Help! Specific Redirects and Blanket Rule
Hi there, I have the following domains: OLD DOMAIN: domain1.co.uk NEW DOMAIN: domain2.co.uk I need to create a .htaccess file that 301 redirects specific, individual pages on domain1.co.uk to domain2.co.uk I've searched for hours to try and find a solution, but I can't find anything that will do what I need. The pages on domain1.co.uk are all kinds of filenames and extensions, but they will be redirected to a Wordpress website that has a clean folder structure. Some example URL's to be redirected from the old website: http://www.domain1.co.uk/charitypage.php?charity=357 http://www.domain1.co.uk/adopt.php http://www.domain1.co.uk/register/?type=2 These will need to be redirected to the following URL types on the new domain: http://www.domain2.co.uk/charities/ http://www.domain2.co.uk/adopt/ http://www.domain2.co.uk/register/ I would also like a blanket/catch-all redirect from anything else on www.domain1.co.uk to the homepage of www.domain2.co.uk if there isn't a specific individual redirect in place. I'm literally tearing my hair out with this, so any help would be greatly appreciated! Thanks
Intermediate & Advanced SEO | | Townpages0 -
Is it safe to 301 redirect old domain to new domain after a manual unnatural links penalty?
I have recently taken on a client that has been manually penalised for spammy link building by two previous SEOs. Having just read this excellent discussion, http://www.seomoz.org/blog/lifting-a-manual-penalty-given-by-google-personal-experience I am weighing up the odds of whether it's better to cut losses and recommend moving domains. I had thought under these circumstances it was important not to 301 the old domain to the new domain but the author (Lewis Sellers) comments on 3/4/13 that he is aware of forwards having been implemented without transferring the penalty to the new domain. http://www.seomoz.org/blog/lifting-a-manual-penalty-given-by-google-personal-experience#jtc216689 Is it safe to 301? What's the latest thinking?
Intermediate & Advanced SEO | | Ewan.Kennedy0 -
Does 301 Redirect works on social signals?
Hello, I'm considering strategic change in my site's formation.
Intermediate & Advanced SEO | | BeytzNet
301 redirecting some of the pages is not a problem but the question remains - what will happen with all of my social signals? These pages have Likes, plus ones, and tweets. Thanks0 -
It Doesn’t Matter Where You Point Links, Google Will Pick The Page
Hi Guys, I have a site that ranks quite well in a very competitive vertical and the company is now planning to do a site relaunch. SEO is very important to them and all of the sites within in the top 10 have the primary keyword in the urls example search: key1 key2 site.com/key1-key2/
Intermediate & Advanced SEO | | VividLime
site.com/ key1key2/
site.com/key1key2.php Our site is the only one that is positioned within the top 10 without the keyword in the url and homepage only listing so the top 10 result looks like search: key1 key2 site.com/key1-key2/ site.com/ key1key2/ site.com/key1key2.php oursite.com sitekey2.com/key1-key2/
key1site.com/key1key2.html Currently we do not have a separate landing page for the target keyword hence why link building is focused on the homepage. As part of the consultation, I recommended we create a landing page for our primary keyword so we get **oursite.com/key1-key2/ **and shift the on-page keyword balance towards this page. the hope is, we get search: key1 key2 site.com/key1-key2/ site.com/ key1key2/ site.com/key1key2.php oursite.com/key1-key2 sitekey2.com/key1-key2/
key1site.com/key1key2.html Would Google simply replace my current domain only list for the most relevant url for a term? Does anyone have any experience with this? Or would i need to build links into the new url for the change to take place. what i'm hoping for and expecting, is for somthing like this to happen http://www.seowizz.net/2011/04/it-doesnt-matter-where-you-point-links-google-will-pick-the-page.html0