Do I need Redirects?
-
I've recently changed my old static website to a WordPress one. I'd like to know what do do (if anything) about my old links.
For example a page on my old site was: www.iainmoran.com/corporate-magician.html - now I'm using WordPress, the url is:
www.iainmoran.com/corporate-magician/My question is, do I need to set up redirects on these old pages (which no longer exist or will Google eventually re-crawl my site and update the links themselves?
I'm using the Yoast SEO Plugin for WP and it creates a sitemap, which of course will have my new pages on. But don't want Google to penalise me for having broken links, etc.
Many thanks,
Iain.
-
Hi Iain- that's what this community is all about isn't it great! I take it the specific urls you mention above you mean is it ok to redirect to a page with a completely different name? The answer is yes if that is the new location of that page then your redirect is absolutely fine.
I have had a quick check and your redirects are setup fine well done - happy seoing
-
I've finished doing the redirects and they all seem to work
When setting them up, I've used the full url (including http://www.) for both the "source" and "target" url's.
I originally had a page: http://www.iainmoran.com/mailing-list.html, but this is now:
http://www.iainmoran.com/newsletter/Hope this was the right way to do it?
Thanks again - it's such a relief knowing there are kind people who are willing to help.
Iain.
-
No problem Iain - firstly I would still create the redirects from your old html pages to their new locations as you rightly say there will be other sites with old links. You wouldn't want potential visitors/customers thinking your site is no longer there or down because they found it via a redundant link..
Secondly I wouldn't worry about doing anything regarding the current redirects - if you type any of your pages without a trailing slash you will see you are redirected to one with a trailing slash essentially reducing duplicate content for you.
Have a look at this article as to why it is something you don't need to worry about changing - http://googlewebmastercentral.blogspot.co.uk/2010/04/to-slash-or-not-to-slash.html
-
Thanks so much, Matt & Keri,
I've just installed the plugin and looked in Google to check which of my old (html) pages were indexed and amazingly it appears that there are none. It was a few weeks ago since I launched the new site, but certainly a few of the old pages appeared in Google Search results a few days ago.
I guess it's still worth doing though as there will be other sites with the old links on?
I notice that in my first SEOMoz crawl report it mentions that I have a 301 Redirect (which I didn't set up) going from: http://www.iainmoran.com/close-up-table-magic
To this: http://www.iainmoran.com/close-up-table-magic/
Is this something that I should deal with and if so, how?
The support here is amazing and I'm very grateful to you all.
Iain.
-
Hi Keri - I agree so just added the link to redirection plugin to my reply - should make Iain's life easier..
-
Hi Iain
You don't need to create your old pages again just create 301 redirects in your .htaccess file which can be done using Yoast plugin - http://yoast.com/wordpress/seo/#files
Here is SEOMoz's guide to redirection - http://www.seomoz.org/learn-seo/redirection
Here is a redirection plugin for Wordpress just enter old url and new one you want it to point to and it will do the work for you - http://wordpress.org/extend/plugins/redirection/
-
I'd suggest the redirection plugin for Wordpress. You can easily redirect the missing pages to the correct pages without having to create any pages. It also logs 404s for you, and you can create redirects from the 404 log
-
Thanks Matt,
These pages no longer exist on my server so I should create the pages again - each page just having the redirect code that goes to the new version of each page?
Thank you,
Iain.
-
If you have content that is indexed in Google and has moved to a new location due to a site change such as this then I would recommend that you place 301 redirects from your old pages to the new corresponding ones..
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
-
How to redirect old domain to new domain.
We just recently signed up to Moz with hopes of fixing our Moz Ranking. We have an old domain - http://at-net.net and a new domain - https://www.expertip.net We have set up 301 (Permanent) redirects from all pages on the old site to the new, but aren't getting the ranking or aren't getting recognized from external links to the old sites. I've read the moz article on 'Link Juice' and followed those practices, but it doesn't seem to help. Does anyone have advice on doing this? Thanks in advance,
Technical SEO | | greg.lanier
Greg0 -
SSL redirect issue
Hi guys, I have a site that has some internal pages with SSL. Recently i noticed that if i put https://mydomain.com, this URL is accessible but all the design is messed up. My site is on wordpress and i use "redirection" plugin for all the 301 redirect. So i decided to add a new 301 redirect from https://mydomain.com to my actual URL version of home page http://mydomain.com. After doing that, my home page doesn't load at all. Does anybody know what happens? Thank you for advice!
Technical SEO | | odmsoft0 -
CPanel Redirects: Know How Needed
I have ran into something I have not ran into in the past. cpanel, setting a 301 redirect. --Drop down domain choice ----- / ---- ?attachment_id=539 http://ipromotis.com (Only box marked is redirect with or without www) Produces 301 Redirect http://ipromotis.com to http://ipromotis.com
Technical SEO | | yeagerd0 -
Do I need to 301 EVERY page?
I have a client who is consolidating multiple EMD domains into a single domain for SEO reasons and for practical reason, like not having to produce content and perform SEO for 20 domains. My question is this: Do I need to 301 every single page from these old EMD domains? I bill this client hourly and while I could take the time to write 301s for literally thousands of pages I feel that this might not be the best use of his money, that I could strategically 301 the landing pages that get traffic and then route everything else to the new root domain...thoughts? I've researched this and have not been able to hear a really strong opinion yet.
Technical SEO | | BrianJGomez0 -
Do I need a 301 redirect on htaccess if Apache is already configured to serve?
Apache is set up to serve both www and non-www versions the same content. Do I still need to put a 301 redirect in the htaccess file?
Technical SEO | | Ocularis0 -
How long should you keep 301 redirects?
Hi, Back in 2009 I decided to update an older site from .htm and .shtml to .php. In order to minimize the impact I would go in every month and do a 301 redirect on the .shtml page to the new .php page. So I have many that range from 2009 through 2010. I had left the old 301's because I felt they would only be used if needed but I would think I should clean up my .htaccess by removing the old 301 redirects if they are not needed. How long should you keep this type of 301 redirect? Thanks!
Technical SEO | | Force70 -
302 Redirects for Minor Pages
301 redirects are clearly preferable to 302 redirects for pages that need to be indexed by search engines. If I have 302 redirects to minor pages not getting much traffic regardless of the code, how important (if at all) is changing the redirects to 301? Thanks!
Technical SEO | | theLotter0 -
Query String Redirection
In PHP, I'm wanting to store a session variable based upon a link that's clicked. I'm wanting to avoid query strings on pages that have content. My current workaround is to have a link with query strings to a php file that does nothing but snags the variables via $_GET, stores them into $_SESSION, and then redirects. For example, consider this script, that I have set up to force to a mobile version. Accessed via something like a href="forcemobile.php?url=(the current filename)" session_start(); //Location of vertstudios file on your localhost. Include trailing slash $loc = "http://localhost/web/vertstudios/"; //If GET variable not defined, this page is being accessed directly. //In that case, force to 404 page. Same case for if mobile session variable //not defined. if(!(isset($_GET["url"]) && isset($_SESSION["mobile"]))){ header("Location: http://www.vertstudios.com/404.php"); exit(); } //Snag the URL $url = $_GET["url"]; //Set the mobile session to true, and redirect to specified URL $_SESSION["mobile"] = true;header("Location: " . $loc . $url); ?> Will this circumvent the issue caused by using query strings?
Technical SEO | | JoeQuery0