Redirecting to homepage ok?
-
I deleted a bunch of category pages (renamed mostly actually and thought they'd be auto redirected like my blog posts are but they weren't) so I used a plugin that reroutes any 404 page to the homepage. Is that the best thing to do in this situation? Google Webmasters says there are about 84 404-errors and this should get rid of those right? Is there anything SEO BAD about doing it this way?
-
Wow - thanks! I found a plugin for now but I will definitely save this info. I appreciate your help!
-
You will need FTP access to your root. If you do not have an .htaccess file, then you can create a text file, upload and then remove the .txt. Use Notepad or a similar application. If there is a file, be careful not to overwrite anything that is already there.
Create a new line that reads, for each page, and optionally use comments to keep track of your code
301 redirects
redirect 301 /old-category-page/ http://www.yourdomain.com/new-category-page/
redirect 301 /old-category2-page/ http://www.yourdomain.com/new-category2-page/Here's how that breaks down:
redirect 301 (the instruction that the page has moved)
/old-category-page/ (the original folder path and file name)
http://www.yourdomain.com/new-category-page/ (new path and file name)Save and upload.
If you are unsure about FTP to the root, contact your hosting provider. Hope this helps!
-
Thank you. I understand. I just need a tutorial on how to take a deleted URL and redirect it to the most relevant URL. I am a novice when it comes to HTML etc.
-
MIke is spot on and correct! Handling 404s should be a process in which you manually map one page to another, unless you have a large enterprise site and can setup server rules to handle the redirecting process.
For you, take the old category URL, and map it to the renamed category. Do this for each and every one. After you have done that, revisit GWT, and address the remaining 404s individually.
-
Alright, that is good to know. I deleted that plugin to stop the bulk redirects. I just don't know how to redirect the 404s since I already deleted them I don't know how to manipulate them.
Should I just create the category pages again? I suppose the URL would be the same right?
-
This is definitely NOT the best thing to do. Bulk redirects to the homepage will wind up killing a large chunk of the relevancy signals, link equity and traffic since you're not serving the most relevant alternative to your users. They should be redirected to their most relevant live counterpart. And using a plugin that redirects ALL 404s isn't good either since sometimes a 404 is useful. For example, how will you know if a link is broken if it can't 404? In this case, if you just renamed the categories... redirect the old URL to the renamed category it belongs to.
Take a look at Cyrus' blog post from the 18th How to Completely Ruin (or Save) Your Website with Redirects.
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
-
With 301 Redirects Does Changing URLs Matter?
We are redesigning our website in order to give it a more modern visual look. For the most part all the content will remain the same. Our old site is hosted on .asp so all of our current URLs look something like this: www.example.com/products/food.asp We plan on using 301 redirects in order to update every URL and remove the .asp. Since we are going to be doing 301 redirects for every existing URL anyways, does it matter from an SEO and ranking standpoint, if we also change the content and structure of the URL? For example, would we see a ranking impact if we were to change the above example URL to www.example.com/food? Obviously we want to try to retain as much link juice and ranking factors as possible during this redesign. Another issue we are seeing is with the image file names of our existing website images. We are moving to a new CMS platform (WordPress) that automatically saves images using a folder path similar to this: wp-uploads/2015-08/food. Will that change affect our SEO or ranking at all? When Google crawls an image does it care about the full path? Any insight would be much appreciated! 🙂
On-Page Optimization | | BlueLinkERP0 -
301 redirects. If new website is a different business does it still send link authority?
Hi Guys. I'm a music producer and studio owner. I want to start a new business for online music mixing. Instead of starting from scratch I want to use a 301 redirect from my previous site that has built up a little authority over the years. However, the old site is purely for my music studio, there is no mention of online mixing services. Will Google consider this 'odd'? Pass less link juice? Or perhaps pass no authority at all if Google 'decides' the 2 business are unrelated? Cheers in advance guys. Isaac.
On-Page Optimization | | isaac6630 -
Duplicate Content aka 301 redirect from .com to .com/index.html
Moz reports are telling me that I have duplicate content on the home page because .com and .com/index.html are being seen as two pages. I have implemented 301 redirect using various codes I found online, but nothing seems to work. Currently I'm using this code. RewriteEngine On
On-Page Optimization | | omakad
RewriteBase /
RewriteCond %{HTTP_HOST} ^jacksonvilleacservice.com
RewriteRule ^index.html$ http://www.jacksonvilleacservice.com/ [L,R=301] Nothing is changing. What am I doing wrong? I have given it several weeks but report stays the same. Also according to webmasters tools they can't see this as duplicate content. What am I doing wrong?0 -
Quick Question on Redirects
This might be a silly question, but one important enough for me to ensure that I understand the best practice of URL redirects... I'm thinking of changing my URL's and hierachy of some of my WP subpages around, in order to logically fit the keyword into the url and place the subpage closer to the root domain. My question is, when doing this, can I simply edit the URL and create a redirect after the fact, essentially killing the old URL. Or, do I create the new page with the updated URL and hierarchy, keeping the old page live and intact, but have that 301 redirect to its new corresponding destination? Thanks
On-Page Optimization | | JayAdams320 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1 -
Dealing with a category page that is optimised & ranks for same keyword as homepage
Hi, I'm working with a very niche website where only one product is sold. This means there is a small keyword set (just variations of same keyword) that we are optimising for. Currently the homepage www.example.com ranks in position 2 for target term - "sample". But there is also a required deeper page www.example.com/sample which has lots and lots of internal links targeted to "sample" pointing to it. This page ranks position 8. Effectively this is optimising the deeper page for the same keyword as for the home page through internal anchir text. This deeper page must exist as it has much more detailed information about the product. We want the homepage to rank highest and I'm trying to figure out if we are confusing Google and splitting authority between 2 pages. Best result for us would be to have homepage in position 1 and the deeper page can disappear (total visits would increase). So the question is, is there a solution to do this? My initial thought was use canonical tag on the www.example.com/sample page specifiying www.example.com. Can we do this? Its not duplicate content. Other option I considered is to nofollow links to the deeper page. Again not sure if this will have positive or negative impact. My fear is by removing 40 odd internal links with "sample" anchor text will reduce relevancy of the domain as a whole for the "sample" keyword. Any help much appreciated! Thanks
On-Page Optimization | | Red_Mud_Rookie0 -
Random Products on Homepage?
On our homepage, would having 8 randomly selected products from your catalogue (some of which contain keywords) be good, bad or have no effect on rankings? The proucts change with every refresh. Some may remain the same, but just change position.
On-Page Optimization | | filarinskis0 -
Necessary to redirect non-www to www?
Hello All, I've read quite a bit on here and the Matt Cutts blog http://mattcutts.com/blog/seo-advice-url-canonicalization/ about non-www vs www. I''ve also read a few recent posts on here but still left a little confused. First, my site is PR 4. We don't have many links, but the ones we do have (including internal) point to the www.example.com. You can also get to our site by typing example.com and it will not switch to the www. version. Both versions have the PR4, I just want to make sure I'm not losing any PR or juice between the different versions. My question, would you advise 301 redirect to the www version? if so, I have Godaddy as our host, is it as simple as going into the hosting control and doing the redirect there?
On-Page Optimization | | someoneguy0