301 is the HTTP status code for a permanent redirect.

learn more… | top users | synonyms (4)

4
votes
1answer
799 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
8k 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 ...
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
2k 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, ...
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
924 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
316 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 ...
0
votes
4answers
160 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: ...
5
votes
1answer
146 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
185 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
3k 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
2answers
300 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
366 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
2answers
284 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
304 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
281 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 ...
20
votes
4answers
45k 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
3k 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. ...
1
vote
1answer
610 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 ^(.*)$ ...
10
votes
3answers
20k 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
1k 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
13k 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
63 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
207 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
155 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
512 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
677 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://myrailsapp.com/blog/ http://myrailsapp.com/coupons/ Blog is powered by wordpress and ...
5
votes
3answers
246 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 ...
4
votes
2answers
728 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
1answer
805 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
1answer
87 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
1k 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
217 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
373 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
1answer
341 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
3answers
154 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
275 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 ...
1
vote
4answers
87 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
357 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
91 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
217 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 ...
1
vote
2answers
136 views

ASP to HTML - 301 redirects (SEO rankings before and after)

I need to change the extension of the default pages and many other pages like .asp to .html, should I use a 301 redirect? The website is in the top 10 results for many keywords, I don't want to lose ...
1
vote
1answer
157 views

Is it a good idea to register multiple domains pointing to a single website

We have a main domain or primary domain (say xyz.com) on which we have our website hosted. For the sake of business/trademark we would like to book other domain with the same name but different tlds ...
0
votes
1answer
35 views

301 redirect doersnt work in SERP

I setup a 301 redirect on my root that points to a new domain. When I type the old domain URL into browser 301 works just fine. When I do a keyword search for my site and click on the link it still ...
0
votes
1answer
276 views

Code for redirecting an HTML page without an extension using an .htaccess file results in a 404 error

I'm trying to redirect an HTML page to a WordPress page which has no extension. The result of redirecting example.com/fa/home.html to example.com/fa/ is a 404 page not found. As you can see they're ...
0
votes
0answers
31 views

Will moving some ecommerce products from one domain to another with redirects cause SEO penalties? [duplicate]

I'm the developer for a small online webstore. We've just moved a subsection of products (the bodyboarding products), off surfhq.co.uk on to bodyboardhq.co.uk to sell them there instead. We didn't ...
0
votes
0answers
213 views

Redirect using .htaccess for missing images

I have image file URLs getting generated by Drupal CMS as: ...file.pdf?itok=xbXNF I simply want to check till the .jpg part if it does not exist. If it does not exist then I want to do a 301 redirect ...