Hi, Currently, I have a website where I try to reshuffle the whole site by: 1) Changing all my html files to php files 2) Rearranging the files to sub-folder 3) Adding new files I have in total 152 pages have been indexed by google previously in my site. My question what is the best way to update my site in a SEO friendly manner? The problem I am currently facing is when I update the sites and submit my new sitemap to google, it come out a lot of 404 errors. Is there any way to solve this type of problem? what should I do?
you can use 301 redirect but cannot avoid the duplicate content issue this way. best seo friendly way would be using html redirection (<meta http-equiv="REFRESH" content="0;url=http://www.newurl.com">) with <meta name="robots" content="noindex"> tag in the header of each of your old pages
Thanks for the advice. Just let me make myself clear. This is what I should do: 1) First of all, use 301 redirect for all my old url to new url 2) Then, add the following meta tag at the top of header tag of each new file <meta http-equiv="REFRESH" content="0;url=http://www.newurl.com"> <meta name="robots" content="noindex"> I got another question, can I deleted the old file in the future? wait for google index all my new file and then delete the old one. Am I right? or I just need to keep it there forever.