|
I have a site running at a subdomain that has been migrated to a new server and new domain name. To preserve search credits I know a 301 redirect is the proper way to handle migrating the transition. (The marketing department speaks of 301 redirects like...
Started by johnml on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
But if you did want to know how soon you can remove likely it is that the ....
Now, I agree with ceejayoz that the load on the server is negligible, so there's no need to remove the 301 redirect.
With the HTTP 301 redirect.
|
|
Hi folks,
For one of our projects, we're doing a rebranding of the website name, logo, etc...
As such, we need to 301 Moved Permenantly redirect all users from the old domain to the new domain. With IIS7, that's pretty simple. We just create a new website...
Started by Pure.Krome on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
A very simple redirect rule will take" pattern="^ruslany\.net$" /> </conditions> <action type="Redirect" url="http://ruslany.net.
Visitors to use new domain name when bookmarking links to your site .
|
|
Hi looking for help making a 301 redirect for:
www.domain.com/word/* to www.domain.com/*
Thanks.
Started by Mike on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Redirect 301 /word /
RewriteEngine On RewriteRule ^/?word/(.*) http://sitename.com/$1.
|
Ask your Facebook Friends
|
In answering another persons question here on SO, I discovered that there is a small "bug" in my global redirect code.
I have wired up a Global class to an HttpModule. It's job is to detect "http:/www." in the URL and redirect the user to the NON www....
Started by rockinthesixstring on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Do a permanent redirect, preserving....
Instead of this:
application.Context.Response.Status = "301 Moved Permanently) application.Context.Response.StatusCode = 301 application.Context.Response.End()
Use IIS and setup a defferent website.
|
|
How do I redirect permanently in ASP DOT NET? I'd like to do a 301 redirect from one page on my site to another page.
Started by Arjun on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Protected void Page_PreInit(object sender, EventArgs e) { Response.StatusCode = 301; Response.StatusDescription = "Moved Permanently() method for doing 301 redirects....
Response.Redirect will give you a 302 rather than a 301.
|
|
I need to permanent redirect some pages, and redirect the user to the new URL as well.
This code only sets the correct headers. The user are not redirected.
public static void PermanentRedirect(this HttpResponse response, string newUrl) { response.Status...
Started by MartinHN on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Or maybe on that: http://www.ko-sw.com/Blog/post/Permanent-Redirect-Using-ASPNET.aspx.
Redirect says to end the request by sending a 302.
Try Response.Flush and Response.End.
|
|
If I want to 301 redirect (SEO required) from old static pages to new static pages, what should I do?
I search in Google and find that it seems cannot be set inside the static page (meta tag) for 301 redirect.
My server is Netscape Enterprise.
Thanks....
Started by Billy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You;% response.setStatus(301);....
You're correct in that you can't have a static page respond with a 301 permanent redirection.
Netscape Enterprise Server, but only in saying that its not possible to do a 301 redirect.
|
|
Other than having to install something like Fiddler on my server, after adding a redirect in IIS, is there a log or something or a way built-in to show me that a valid 301 redirect took place other than seeing it redirect at runtime? I guess what I want...
Answer Snippets (Read the full thread at stackoverflow):
If the first line of response headers looks something like HTTP/1.x 301 MOVED PERMANENTLY.
Telnet window.
|
|
I want to know whether 301 redirect always preserve referrer.
I make a page called "gotoorig_https.html" which contains a hyperlink to a page "orig_https.asp".
"orig_https.asp" will 301 redirect to "dest.html" which shows the document.referrer.
In this...
Started by Billy on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Referrer-specific behavior in status 301 definition, nor 301-specific behavior in Referer header.
|
|
When a webpage has moved to a new location, how do I show the moved web page AND return a 301 permanent redirect HTTP response status code in Django ?
Started by Ingenutrix on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Many sites handle these two issues by first sending the user to a redirect-er page that tells the user about the change and then X seconds later sends them....
301 is an HTTP return code that is directly acted upon by the browser.
You can't.
|