This link has been bookmarked by 373 people . It was first bookmarked on 26 May 2006, by Sascha.
-
07 Mar 16
-
18 Jan 16
-
12 Sep 15
-
11 Aug 15
-
26 May 15
-
19 Nov 13
-
ethod for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages aroun
-
-
04 Oct 13
-
01 May 13
-
29 Oct 12
-
05 Sep 12
-
301 Redirect
-
301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".
-
-
29 Aug 12
-
15 May 12
-
14 Apr 12
-
13 Apr 12
-
30 Mar 12
-
10 Mar 12
Dimitrios Delaroshttps://support.google.com/webmasters/bin/answer.py?hl=en&answer=93633
-
25 Feb 12
-
24 Feb 12
-
Tracy Ridge"Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] " -
16 Feb 12
-
27 Jan 12
-
17 Jan 12
-
02 Dec 11
-
28 Nov 11
-
18 Nov 11
-
17 Nov 11
-
30 Oct 11
-
14 Oct 11
-
28 Sep 11
-
27 Sep 11
-
26 Sep 11
-
15 Aug 11
-
eader( "HTTP/1.1 301 Moved Permanently" );
-
-
14 Aug 11
-
11 Aug 11
-
22 Jun 11
-
27 May 11
-
13 May 11
-
05 May 11
-
18 Apr 11
-
26 Mar 11
-
18 Mar 11
-
04 Mar 11
-
Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]Please REPLACE domain.com and www.newdomain.com with your actual domain name.
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
-
-
23 Feb 11
-
13 Feb 11
-
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
-
-
29 Jan 11
-
27 Jan 11
-
28 Dec 10
-
25 Dec 10
-
20 Dec 10
-
14 Dec 10
-
10 Dec 10
-
01 Dec 10
-
30 Nov 10
-
29 Nov 10
-
20 Nov 10
-
17 Nov 10
-
12 Nov 10
-
11 Nov 10
-
01 Nov 10
-
20 Sep 10
-
13 Sep 10
-
11 Sep 10
-
30 Aug 10
-
24 Aug 10
-
02 Aug 10
-
15 Jul 10
-
12 Jul 10
-
10 Jul 10
-
05 Jul 10
-
28 Jun 10
-
25 Jun 10
-
17 Jun 10
-
26 May 10
-
25 May 10
-
04 May 10
david solanoOptions +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] -
13 Apr 10
-
04 Apr 10
-
31 Mar 10
-
13 Mar 10
-
05 Mar 10
-
28 Feb 10
-
25 Feb 10
-
08 Feb 10
-
04 Feb 10
-
20 Jan 10
-
15 Jan 10
-
07 Jan 10
-
07 Dec 09
-
02 Dec 09
-
13 Nov 09
-
30 Sep 09
-
21 Sep 09
Adam Stankus<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?> -
14 Sep 09
-
03 Sep 09
-
22 Aug 09
-
19 Aug 09
-
14 Aug 09
-
16 Jul 09
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.