301 is the HTTP status code for a permanent redirect.

learn more… | top users | synonyms (4)

4
votes
1answer
1k 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
10k 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
595 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 ...
7
votes
3answers
5k 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 ...
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
184 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: ...
4
votes
1answer
473 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 ...
4
votes
1answer
730 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 ...
3
votes
1answer
2k 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 ...
2
votes
1answer
315 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 ...
11
votes
3answers
23k views

Will putting the HTML from a 301 redirect page into a document perform the same function as a real 301 redirect?

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> ...
5
votes
1answer
156 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
197 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 ...
7
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 ...
3
votes
1answer
357 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
99 views

How to tell Google Webmaster that I combine 2 website?

I have an online store that is already around for 5 years – let's say the web address is oldsite.com. It has about 1,000-2,000 visitor/day, about 18,000 indexed page. But oldsite.com is using a very ...
2
votes
2answers
443 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
421 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
345 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 ...
2
votes
1answer
7k views

Help with 301 redirect from subdomain to root domain

I need to forward existing subdomain links to the root domain as the subdomain no longer exists. I have tried so many different lines of code in my .htaccess file and can not get the redirect to work. ...
2
votes
2answers
1k 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 ...
2
votes
2answers
296 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
176 views

Is redirecting to 404 ok for SEO?

There was an old website located at http://domain.com. Then it has been replaced by a new website, with a totally new url configuration, leaving old domain, but switching to https-only. So now all ...
10
votes
3answers
291 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 ...
23
votes
4answers
52k 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 ...
4
votes
1answer
16k 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 (.*) ...
1
vote
1answer
933 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 ^(.*)$ ...
7
votes
3answers
8k 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
4k 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. ...
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 ...
4
votes
1answer
71 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 ...
3
votes
2answers
127 views

Should I replace non-user friendly URLs with friendly ones, and if so, how?

I have just added my site to Google Web Master Tools and discovered that some links (for example: In the section "Search Query / Top pages") have a URL format like: example.com/page.php?id=1234 This ...
3
votes
1answer
1k views

I'm using a CNAME to send www. traffic to domain without www. Will this hurt my SEO? [duplicate]

Possible Duplicate: Does the “canonical name” in DNS make any difference to search engines? Mu understanding is that CNAME should be used for subdomains and www is just another ...
2
votes
1answer
449 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
202 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
643 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
831 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
534 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
4k 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
146 views

redirecting https to http

RewriteEngine on RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301] # WordPress Defaults RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} ...
4
votes
2answers
813 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
295 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
138 views

SEO impact of 301 permanent redirecting a domain to a sub-directory of another domain?

I had my own experience of 301 permanently redirecting a domain to another (every page mapped) and Google properly worked everything out and it never had any problem SEO-wise. However, what if I'm ...
3
votes
1answer
481 views

Rankings dropping after small URL-change WITH 301-redirect

Two weeks ago, we attempted to make the URLs of ca. 12 pages more search-engine friendly. We changed three things. 1. Make URLs more SEF from: /แอร์-ราคา/brandname.html (meaning: ...
3
votes
1answer
1k 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
255 views

Getting 301 redirect error in Google Webmaster Tools while using “change address”

So I'm moving my website from one domain to another. In this process I'm using the "change address" function in Google Webmaster Tools on my old-domain.com, "switching" it to / choosing my verified ...
2
votes
1answer
458 views

How long before Google counts my .htaccess 301 redirect links?

I have a friend who had around 2000 visitors per day to his website before a web designer with no SEO knowledge changed all his URLs. I've used the Wayback Machine and Google Analytics to determine ...