Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
404 - 301
Hello
If I lookup my latest client’s website on Google, I get some links from the previous website.
It’s 3 weeks now and still the old links are visible. No rush.
Si I made up a 404 page, but it would be nice to create smart redirections, since the most of the contents have just been refactored and displaced. Those who look for /telesoccorso.html might be redirected to /section/telesoccorso/
Is this feasible? htaccess?
Thanks!
Offline
Re: 404 - 301
Simple example….in .htaccess:
redirect 301 /telesoccorso.html http://www.example.com/section/telesoccorso/
Google will now index the correct page. Also, any visitor to the old page will be shown the new page.
Be sure to set up an XML sitemap in Google Webmaster Tools as well.
Last edited by maruchan (2012-06-05 18:03:52)
Offline
#3 2013-02-20 22:33:38
- BryanA.
- Member
- From: Maryland, USA
- Registered: 2007-08-12
- Posts: 104
Re: 404 - 301
Big help, Maruchan! Thank you – wanted to expound… Multiple redirects, new line (?), each to terminate with that forward slash.
redirect /first-old-page http://www.website.com/sectionx/first-old-page/
redirect /second-old-page http://www.website.com/sectiony/second-old-page/
I moved an old installation out of the way; it used /title. The new installation, beautiful theme Aperture, uses section/title
I have hundreds of redirects properly but will only do the most visited Entry Pages resulting in 404 errors.
My redirects work without 301 – Is that “301” serving a purpose I don’t see?
Manaus, thanks for the topic!
Voice Actor – starting up a site for that good book stuff.
Offline
#4 2013-02-20 23:47:56
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: 404 - 301
301 tells search engines that the page has moved permanently so the new location can be indexed. (status code definitions). It probably works without it because there is a default status code, though I don’t know which one that is.
Offline
Pages: 1