switch from WP to HTML page creator for broken links?

Bostoncab

Elite Member
Joined
Dec 31, 2009
Messages
2,256
Reaction score
514
So I switched a bunch of my sites from Wordpress back to html.

Is there some kind of page creator script or something I can do so that when someone finds a google link that is no longer there because wordpress is gone it results in my index page?
 
There is no way to accomplish HTMl redirects ? Anyone?
 
Sure there is - I think the best way is to create 404 pages with a meta refresh redirect to index.html

read here about custom 404 - hxxp://www*alistapart*com/articles/perfect404/
and here about meta refresh - hxxp://webdesign*about*com/od/metataglibraries/a/aa080300a*htm

(replace '*' with '.' and 'x' with 't')

Hope That helps!!

Ron
 
Last edited:
I suggest not going with ron.ray's solution. Meta refresh with nullify the bots and link juice. Google suggest doing 301 permanent redirect
Put this code in your htaccess, it will redirect all pages to your homepage:

Code:
Redirect 301 / hxtp/your site
 
I suggest not going with ron.ray's solution. Meta refresh with nullify the bots and link juice. Google suggest doing 301 permanent redirect
Put this code in your htaccess, it will redirect all pages to your homepage:

Code:
Redirect 301 / hxtp/your site

Doing a 301 will break all the links and redirects everyone to the home page.

Well, What you need is a custom 301 redirection :)

I.e

Olddomain.com/Yourpage to Newdomain.com/yourpage.html

Can be done.
 
I must agree - SEO-wise my idea isn't good at all, imth3one's idea is definitely better ;) and extremephp's idea is the best :D
 
extreme.. I dont suppose you could give idiot proof instructions to accomplish this?
 
Back
Top