[ 
https://issues.apache.org/jira/browse/CB-9768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951149#comment-14951149
 ] 

Jan Piotrowski commented on CB-9768:
------------------------------------

If it isn't permanent, e.g. the old URL will be used for something different, 
you should use 302 instead of 301. This will keep the browser from caching 
them. 

But I think the change for the docs are permanent, so this is a clear case for 
301.

> Redirect old URLs to new URLs
> -----------------------------
>
>                 Key: CB-9768
>                 URL: https://issues.apache.org/jira/browse/CB-9768
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Website
>            Reporter: Jan Piotrowski
>
> Lots of old pages (e.g. 
> https://cordova.apache.org/docs/en/4.0.0/guide_hybrid_plugins_index.md.html) 
> are still listed in Google as they are of course very widespread and linked 
> to. The new website obviously recognized these and knows where the new site 
> is:
> > It looks like the content has moved here.
> which links to 
> https://cordova.apache.org/docs/en/4.0.0/guide/hybrid/plugins/index.html.
> To improve the user experience and also tell Google where it finds the 
> correct new version of this page,so it will link to these directly in the 
> future, these should automatically be redirected using a 301 Redirect header:
> https://support.google.com/webmasters/answer/93633?hl=en



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to