If you cached you mean the pages indexed by Google that remain as copies for example:
Googledoesnotimmediatelyupdateorindexpageswhenyoudoanupdateonthesite,themostitdoesiscollectthecontentandscheduletoprepareit,thiscantakeweeksormonthsdependingonhowmanyvisitsorrankofthesiteandcannot"control" or force Google to reindex.
There's no way to state time on average, Google keeps changing, today they do it one way and tomorrow it can be another.
These "cache" pages that appear that appear next to the search result take some time to update, as well as indexing.
Redirecting old links
If the links that appear in the cache are old and have changed structure, for example:
http://examplo/siteantigo/?pag=produto&id=1
And now it is accessed like this:
http://examplo/sitenovo/produto/1
A good strategy is to reuse old links already indexed, of course not guaranteed, will depend on the specific link rank within a given site. To reuse and even contribute to pages that represent the same content of specific pages will be necessary to make a permanent redirect through HTTP, for example to create a script like this in siteantigo/index.php
:
<?php
if (isset($_GET['pag'], $_GET['id'])) {
/* Isto direciona para: http://exemplo/sitenovo/{pagina}/{id} */
header('Location: /sitenovo/' . $_GET['pag'] . '/' . $_GET['id'], false, 301);
exit;
}
Of course this is just an example to explain the redirect, does not have a ready formula, will depend on how you did the old site and how you did the new if they are technologies known as Joomla or Wordpress there are likely to be plugins for this, but this is quite broad.
Note that if you do not redirect older URLs, it's likely that the Google / webmaster dashboard will begin to see a series of errors Not Found, or Soft 404 , Soft 404 occurs when the page issues another code such as 200, but the page returns an empty response, or a page which does not appear to have content (Google can identify even if the page has menus and footer but does not have a reasonable content or has an error message perhaps).
META tag revisit-after
There is even a <meta>
tag that should be used for this, it would be revisit-after
, for example, visit every 15 days:
<meta name="revisit-after" content="15 days">
You could put it 1 day, but Google generally disregards, since many people use it to try to keep it updated and yet the refresh rate was very low or time consuming and it would be very bad for them if all sites in the world wanted updates 1 day, so they analyze the traffic done through "searches" and they calculate which ones need more update instead of using the value of the tag that you define.
As this link link is actually the use of revisit-after
should be for proxy servers.
Sitemap.xml
You can use the tags:
-
<priority>
to determine the importance of the page.
-
<lastmod>
sets the date of the last update.
But note that this is not a guarantee of speeding cache indexing or renewal. If you need to force remove a URL you can use the <expires>
tag to remove urls that you no longer want, eg:
<url>
<loc>http://www.examplo.com/expired.html</loc>
<expires>2011-06-21</expires>
</url>