How can I make Google cache delete old webpages and start to index new ones [closed]
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 months ago.
Improve this questionI have a problem concerning Google cache my old content URLs while I created a new website
I have an old website where the old webpages are dead now and created a new website with new webpages.
Because I have old content so when people search on Google for old content the old URLs appear in the search results (as it was cached) instead of the new ones which should be appearing (but not indexed yet), this is because the old content is already indexed by Google and the new ones are not indexed yet.
While when people search of new content the new URLs appear. So for 开发者_JAVA百科the new content there is no problem, but the problem I have is with the old content.
For that reason above, now I created a new pages with the old URL names to redirect to the new page with the new URL when people search for old content.
My question is what I did to solve this will help the old URLs to disappear from Google cached pages and start to index the OLD content with new URLs instead or should I keep with page not found?
Here's an example of the case I have:
When I search for old content this URL appear in search results --
www.example.com/Sectionnewsdetail.aspx?id=10132
which is deleted and land on page not found
So I created a webpage with the old name
Sectionnewsdetail.aspx
to redirect to the new content page --
http://www.example.com/Content/SectionNews.aspx?NewsID=13855
whenever any one click on the old URL on Google my solution redirects him to the new page
So which case will help Google cache forget the old URLs and index the new URLs. Keeping page not found or the solution I did as explained above?
Try submitting your site again. But It could still take a week or two.
The easiest way could be adding the cross-domain rel="canonical" link element in your old website. Google Tutorial
There are situations where it's not easily possible to set up redirects. This could be the case when you need to move your website from a server that does not feature server-side redirects. In a situation like this, you can use the rel="canonical" link element across domains to specify the exact URL of whichever domain is preferred for indexing. While the rel="canonical" link element is seen as a hint and not an absolute directive, we do try to follow it where possible.
精彩评论