The 301 or Moved Permanently error message is a HTTP standard response code indicating that the requested resource has been assigned a new permanent URI. Future references should use one of the returned URIs.
Questions tagged [http-status-code-301]
1797 questions
0
votes
1 answer
cakephp site domain change, having 301 issues
I moved my cakephp site from a subdomain over to a different domain. I handled the permanent redirect in my htaccess file but in the redirect i am losing my neat/clean url handling.
old site
iphone.gameachievements.org
new…

Mickey Slater
- 374
- 3
- 15
0
votes
1 answer
Redirect .aspx pages to new Ruby on Rails Routes
I am converting my old ASP.NET sites to Ruby on Rails sites and I wanted to know the best way to redirect the old .aspx pages to Ruby on Rails routes using the same domain. The new Ruby on Rails version of the site is on a different server but I…

thenextmogul
- 1,143
- 2
- 10
- 20
0
votes
1 answer
Htaccess redirect from subdirectory in one domain to another domain subdirectory
I am trying to create a permanent htaccess redirect (301) from all files in one directory in one domain, to another domain sub-directory as follows:
Redirect all files in the following directory:
from: www.xxx.com/apps/forms/reg.html
to:…

Mani_k
- 63
- 5
0
votes
1 answer
How will a browser interpret a response with an HTTP status code of 302 but a status message of Moved Permanently?
It appears as though RSA Cleartrust forces a "302 Moved Permanently" response to unauthenticated, or session-expired, clients. Should one expect Chrome or IE10+ see this as a 301 Moved Permanently, or a 302 Moved Temporarily? I would have thought…

andrewbadera
- 1,372
- 9
- 19
0
votes
1 answer
htaccess 301 vs redirecting 404
I'm migrating my site from Drupal, and in the process all of the urls will change to a new format. I've been looking at a 301 redirect through the .htaccess file to get the job done. There's ~150 pages in total, each with about 2 ways to access it…

divillysausages
- 7,883
- 3
- 25
- 39
0
votes
2 answers
RedirectMatch 301 for just html file
I need to do a mass 301 Redirect for all pages ending with .html for my site. I am looking to move all the old .html files to a sub-folder ir.
RedirectMatch 301 (.*)\.html$ http://www.domain.com/folder/$1.html
When I add this and refresh the…

Lee
- 20,034
- 23
- 75
- 102
0
votes
1 answer
How do I create 301 redirect from WordPress (hosted on wsynth) to a Rails app hosted on Heroku?
I have a website (example.com) that is a WordPress site hosted on WSYNTH.
I am redesigning the site, same domain (example.com) in ROR hosted on Heroku.
I have been told that for SEO purposes, once I point my domain to the ROR app on Heroku, all the…

ksan
- 1
- 1
0
votes
0 answers
301 redirect for a url via web.config
I want to redirect a url to be be redirected to another url preserving querystring:
I want to redirect this url:
http://my.website.com/utilities/myservice.svc/item?longquerystring
to…

Rocky Singh
- 15,128
- 29
- 99
- 146
0
votes
1 answer
Redirect 301 not working because of Long Dash (special character)
I've got an issue when redirecting one of my blog's url:
http://suitelife.com/category/moving-to-barcelona-tips/barcelona-legality%E2%80%93barcelona-shopping-health-public-transport
As you can see the %E2%80%93 is a pain in the a**, I looked at…

user3739977
- 1
- 2
0
votes
1 answer
Sitewide 301 Redirect with a subset of different redirects
I am trying to make a sitewide 301 redirect for a site with around 400 pages but also have a subset of about 10 individual pages that don't follow the sitewide redirect and should point somewhere else.
Any ideas how to format such redirect rules so…

Mike E.
- 1
- 2
0
votes
1 answer
WebClient gets 401 when requesting a directory without a slash
I have a web server using nginx, configured with HTTPS and Basic Authentication.
I'm attempting to query it with my WebClient with PowerShell
$wc = new-object System.Net.WebClient
$wc.Credentials = Get-Credential
return…

Nacht
- 3,342
- 4
- 26
- 41
0
votes
1 answer
Redirect 301 htacces with question mark 404 file not found
I want to redirect
/fr/verhuur_details.asp?nav=3&id=106
TO
/fr/location/knikarm
Im using this rule in my .htaccess:
Redirect 301 /fr/verhuur_details.asp?nav=3&id=106 /fr/location/knikarm
But i always receive 404 not found
But code below…
0
votes
0 answers
301 redirects for lots of pages
I have inherited a site that was built with Joomla and the migrated to WordPress. There are 500 posts with the same name, but the path before the name of the post is different. How can I write in htaccess a rule that chceck if the name of the post…

bertassa
- 665
- 3
- 11
- 16
0
votes
1 answer
change of address (webmaster Tools)
I've got a problem with Google's Change of Address function on the Google Webmaster tools returning "301 redirect failed".
I had a website at domainA, and as part of re branding have recently moved to a new domain - domainB.
Anything at domainA is…

user3748761
- 11
- 1
0
votes
2 answers
ColdFusion Multiple Domain Redirect
I have many domains (www.vf1.com, www.vf2.com, www.vf3.com etc) which all point to my main domain (www.vf.com). How do I do a 301 redirect from these other domains to my main domain?
So if someone hits www.vf1.com/news/1234 they should get…

pee2pee
- 3,619
- 7
- 52
- 133