 
 app.all "/:name?/Logout", (req, res)->
   res.clearCookie 'clientId'  if req.method is 'POST'
-  res.redirect 302, '/'
+  res.redirect 301, '/'
 
 app.get "/humans.txt", (req, res)->
   generateHumanstxt(req, res)
 
 app.get "/members/:username?*", (req, res)->
   username = req.params.username
-  res.redirect 302, '/' + username
+  res.redirect 301, '/' + username
 
 app.get "/w/members/:username?*", (req, res)->
   username = req.params.username
-  res.redirect 302, '/' + username
+  res.redirect 301, '/' + username
 
 app.get "/activity/p/?*", (req, res)->
-  res.redirect 302, '/Activity'
+  res.redirect 301, '/Activity'
 
 app.get "/sitemap:sitemapName", (req, res)->
   {JSitemap}       = koding.models

  if isInAppRoute name

    if name is 'Develop'
      return res.redirect 302, '/Terminal'

    if name in ['Activity', 'Topics']


  isCustomPreview = req.cookies["custom-partials-preview-mode"]
  path            = if section then "#{name}/#{section}" else name

  return res.redirect 301, req.url.substring 7  if name in ['koding', 'guests']

  # Checks if its an internal request like /Activity, /Terminal ...
  #
