301 is the HTTP status code for a permanent redirect.

learn more… | top users | synonyms (4)

4
votes
1answer
987 views

What are the most commonly used and basic Apache htaccess redirects?

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to ...
8
votes
2answers
9k views

Retrieve Facebook Like count after changing URL structure for entire website

I just changed the URLs for my entire website. I have set up 301 permanent redirects for all old URLs to new URLs. Rel=canonical are set to new URLs. All Facebook Like buttons count have returned to ...
2
votes
2answers
288 views

Want to redirect a domain to a new domain using 301 or 302?

Firstly, I want to redirect an old domain to a new domain, (old site to new site). The old site has good ranking on Google, now if I redirect the site, I want to retain this site on the Google ...
4
votes
2answers
4k views

.htaccess directory to subdomain

I have been trying to make a subdomain from a directory (made by .htaccess) to be used as the main page starting like http://domain.com/sub/2/3/4.html and turning into ...
3
votes
3answers
3k views

Subfolder won't permenantly redirect to subdomain

Right now I have the following code to redirect all non-www URLs to www URLs: RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] Besides that redirection, ...
0
votes
4answers
166 views

Redirect everything from old domain to new domain

I need to (permanent) redirect all of the following: www.domain.com www.domain.com/folder sub.domain.com sub.domain.com/folder Basically all URLS that are reachable without being intended to: ...
6
votes
3answers
4k views

What is the best way to redirect my naked domain?

I have example.com, which points to web server using A records, I want to redirect all traffic from www.example.com to example.com. As far as i know these are methods, 301 HTML redirect from www to ...
3
votes
1answer
1k views

Does Google respect a redirect header for robots.txt to a different file name?

With respect to robots.txt requests, Google states "Redirects will generally be followed until a valid result can be found". Does this mean that, if I create a 301 redirect for ...
3
votes
1answer
405 views

Moving site from its own domain to sub directory or subdomain - updating Webmaster Tools

Is it possible to tell Google's Webmaster Tools that our site hosted on www. has moved to a sub folder or perhaps even a subdomain? I know this is possible by using 301's but would appreciate if ...
5
votes
1answer
148 views

Migrating PageRank/rankings from one site to another

I've got a client's company site with decent PageRank, backlinks and search engine rankings. The client wants to change their company name and therefore URL. I will set up a redirect between the old ...
1
vote
2answers
186 views

What to do with random pages after a 301 redirect?

I did a standard 301 redirect for a domain, but the original domain has about 300 pages that have some strength. It doesn't make sense to make them all point back to the new home page because the ...
6
votes
2answers
4k views

How do I setup 301 redirects in Google Apps site?

I have just moved a website from a shared host to a Google Apps site. Is there a way I can setup 301 redirects on my Google Apps site so that old links (with a different URL) can be 301 redirected to ...
5
votes
1answer
3k views

SEO and multiple domains to same site

I have one website. I have two domain names that I want to point to the same site install. So whether you go to name-one.com or name-two.com you see the exact same site. Now, I can either set up ...
2
votes
1answer
193 views

Duplicated content www on subdomain and SSL

I have a eCommerce based on OpenCart, but I was wondering about change my domain name for SEO purposes. For me the critical thing about my changes are the imminent possibility of domain change, I'm ...
2
votes
2answers
357 views

SEO: Redirecting an incoming link to a discontinued product to a very similar product

We run an e-commerce site where products sometimes get discontinued. There are some links from other websites that points to one of our products (A) that doesn't exist anymore, but we have a very ...
2
votes
1answer
380 views

How do I map a (keyword rich) domain name to an existing website?

I am not experienced technical person, and still learning but will try to explain what I have done so far and what my query is. I have a (hypothetical) domain az-studios.com On that domain I have 3 ...
2
votes
1answer
346 views

how to set 301 redirect in wordpress .htacces file

In continuation of my previously asked question preserve-search-engine-index-while-shifting-to-new-domain. The migration is being done in the word-press and we will have same server with same IP.Since ...
2
votes
2answers
288 views

301 redirect and page ranking

Say I have a site 123example.com, with roughly 100 backlinks, which has increased from a google page 27 to page 12 for my keywords over the last month and continues toward the top 10... I have another ...
1
vote
2answers
321 views

Domain name made of keywords redirecting to main website's page

Let's say I have a website called books.com where I sell books. I've read on Redirecting different domains to your main site that it's not a bad idea to register another domain that does a 301 ...
10
votes
3answers
286 views

What constitutes a “substantial, good-faith effort to remove the links”

We engaged the services of a 3rd party SEO consultant to assist us in managing our Meta data and to write regular blogs on our site http://cyberdesignworks.com.au Without our authorisation, the SEO ...
1
vote
1answer
657 views

htaccess and 301 redirects - multiple domains

I have the following which redirects mydomain1.co.uk and mydomain1.com to www.mydomain1.com perfectly. RewriteCond %{HTTP_HOST} !^(.*)\.mydomain1\.com$ [NC] RewriteRule ^(.*)$ ...
21
votes
4answers
47k views

Is there any way to redirect one domain to another via DNS settings keeping the path information?

For example, my domain is example.com and when someone navigates to example.com/sample/page.htm, I want it to redirect to test.com/sample/page.htm. I know that this can probably easily be done using ...
7
votes
3answers
4k views

Should I redirect the site IP address to the domain name

I have been told by an SEO company to redirect the site IP to the domain using a 301 redirect. This will apparently improve the SEO ranking of the site. The site has a dedicated IP address. Is this ...
6
votes
2answers
3k views

How can my site detect mobile phones and switch visitors to a mobile Domain?

My Question is that when user enter the website: http://www.example.com then they will just go to automatically to http://www.example.mobi how can i do this .. is their any technique behind that. ...
3
votes
1answer
386 views

Impact of migrating whole site from HTTP to HTTPS

We migrated our website to HTTPS everywhere and we have setup a 301 redirect on all the pages when the protocol is HTTP. However, one of the SEO experts who is helping us with all things SEO sent us ...
11
votes
3answers
21k views

301 Redirect HTML Pages

In a web debugger, the html of a 301 redirect page shows up as: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>301 Moved Permanently</title> ...
4
votes
1answer
2k views

Canonicalization for www/non-www URLs and IP/domain on a Windows server

I have checked my website using this SEO tool and the results report 2 issues: Test your site for potential URL canonicalization issues. Canonicalization describes how a site can use slightly ...
3
votes
1answer
14k views

How to redirect any URL to lowercase URL?

I have this .htaccess files: ErrorDocument 404 /index.html <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteRule (.*) ...
3
votes
1answer
66 views

Moving to a new domain - what to do to minimize visitor loss

I want to move my website to a new domain. Would be nice if you can share some experience or suggestion to minimize loss of visitors. In google webmaster tools there is an option which allows to move ...
2
votes
1answer
298 views

Why Google Webmaster Tools list HTTP status 303 as crawl error?

There is another interesting question about status 303 and seo here but it does not answer me why status 303 appears now in GWT in the crawl errors section since end of January. In my understanding ...
2
votes
3answers
167 views

Does purposely linking to an invalid URL and then using 301 affect SEO?

On a section of my site, I am currently using .htaccess rewrites to put the ID as part of the URL instead of in the query, like so: RewriteRule ^([a-z_]+)?/?tours/([0-9]+)/(.*) ...
8
votes
3answers
550 views

Dev site indexed by Google

I was developing a new version of our site on a subdomain (dev.oursite.com) and the robots.txt with the Disallow got replaced at some point, so the site got indexed by Google and other search engines. ...
6
votes
2answers
725 views

Moving from Subdirectory to Subdomain structure

I have a website (powered by Rails/Postgres and nginx) where I had setup a blog and a coupons section as: http://examplecom/blog/ http://example.com/coupons/ Blog is powered by wordpress and ...
5
votes
3answers
343 views

Is it ok to 301 redirect deleted pages to the homepage in order to preserve link juice? — Even if the homepage is unrelated content?

I'm about to delete 40+ pages that have quality link juice (I'm deleting them for copy write issues). I'd prefer not to do a 404 header on all of them, because I want to preserve inbound links to ...
5
votes
2answers
2k views

How long should I keep 301 redirecting pages from a deprecated domain?

I had an old domain that I have deprecated, but 301 redirected all results from it to my new site. The new site is now receiving a decent amount of traffic, but I don't know if it's 301 redirected ...
4
votes
2answers
771 views

Redirect subdomain (weblog) to new domain without access to .htaccess

I have a blog that has PR 1 on a subdomain aaaa.domain.com of a blog server domain.com. Now I want to buy a domain newdomain.com and I want to tell google webmaster to redirect the old subdomain to ...
3
votes
2answers
136 views

Remove extension from URL using a rewrite without resulting in a redirect loop

On the server, I have a file (on the filesystem) called page.html, which I want to be accessed as site.com/page So if someone goes to site.com/page.html, it should 301 redirect to site.com/page I've ...
3
votes
1answer
892 views

Redirect from the main page on multilanguage site

I've decided to start developing multilingual web site. Now I'm thinking about the structure. The idea is to use a simple algorithm to find out what language is most interesting to the visitor when he ...
3
votes
1answer
55 views

How to have my customized extension?

I have recently found a .htaccess trick in which I can remove file extension from the URL, example.com/file.html looks like example.com/file Now my humor says that I can replace any extension to my ...
2
votes
2answers
2k views

https:// search results appearing on Google for purely http:// site

I started weeding through my site's search results from Google today, using a site: search, to determine if there are any links that cause 404s and thus need redirecting. To my amazement I noticed ...
2
votes
2answers
230 views

How to fix 404 crawl error of a website

I have a navigational links in a php page nav.php, Which is included in all pages of my website. I have got folder structure like below +top_folder -config.php +includes_folder ...
2
votes
3answers
465 views

Forwarding non-www domain to other domain using DNS

Is it possible to forward firstdomain.com to www.seconddomain.com or seconddomain.com using purely DNS records? I know how to forward www.firstdomain.com to seconddomain.com (using a CNAME). What I ...
2
votes
3answers
155 views

What's the advantage in purchasing new hosting purely for 301 redirections

As a follow on from How do I adjust our "default" domain I am about to setup 301 redirections from a selection of TLD to our recently selected default domain. Currently ALL of our TLDs ...
2
votes
1answer
278 views

Will a 301 redirect help in maintaining proper page rank?

I have http://www.example.com/article Due to rampant content development by authors in my site, http://example.com/article has also been widely indexed by Google. Now, both are there roughly in ...
2
votes
2answers
727 views

GoDaddy URL forwarding while keeping relative path

I'm hosting my website on Google App Engine and my domain name on GoDaddy. Google App Engine does not allow you to have naked URLs. So it doesn't allow you to have example.com but does allow you to ...
1
vote
1answer
117 views

Change domain name without changing host/server

I want to change a website's domain name and while looking up best practices, the resources I read assume I'm moving the website to a new server or hosting, without going in to why. They basically ...
1
vote
4answers
180 views

Multiple domains (for multiple brands) redirecting to different pages of a website

A "digital agency", call it Acme.com, provides a broad range services from web applications through to copywriting. It wants a single website with separate areas for each department/service area, each ...
1
vote
1answer
476 views

301 redirect causing Bingbot to crash, redirection limit reached

Inside my .htaccess file, I have the following script: RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] <IfModule mod_rewrite.c> ...
1
vote
2answers
101 views

Somehow Google considers a properly 301'd URL as 200 and is still indexing the new content in old page?

We redirected all the old URL's to new ones properly using .htaccess. The problem is Google, somehow is still finding content in the old page (which it shouldn't) and stores it in the cache rather ...
1
vote
1answer
237 views

When does the 301-redirected URL gets indexed?

I had a page in my website like mysite.com/dir/page now I moved it to mysite.com/page , and the old URL 301-redirects to the new URL. When will it get updated in Google? I asked the bot to fetch it ...