Closing down site and redirecting trraffic
am 08.10.2010 11:17:08 von Hans Lodder
Hi!
I am closing down the site solution-brokers.com. It has 2 aliases: SB.nl
and SB.eu. I want to redirect all traffic to 2 other sites
(results2match.com and results2match.nl) and also redirect all search
engine credits. Therefore, I wrote an .htaccess. I cannot alter other
configurations.
Do you have any suggestions for further improvements? Things that might
not work, or can be better phrased otherwise? And also why, because I
intend to learn from this experience.
Thanks in advance!
Kind regards,
Hans Lodder
=================
### .htaccess Closing down Solution Brokers
### Hans Lodder (C) 2010
# Various rewrite rules.
RewriteEngine on
# Dutch
Redirect 301 / http://results2match.nl/ons-aanbod
Redirect 301
/solution-brokers-superieure-business-en-it-management-resou rces
http://results2match.nl/ons-aanbod
Redirect 301 /node/12 http://results2match.nl/over-ons
Redirect 301 /node/20 http://results2match.nl/ons-aanbod
Redirect 301 /nl/ons-aanbod http://results2match.nl/ons-aanbod
Redirect 301 /nl/solution-brokers-uw-allround-bedrijfsadviseur
http://results2match.nl/ons-aanbod
# English
Redirect 301 /index.php http://results2match.com/
Redirect 301 /contact-solution-brokers http://results2match.com/contact
Redirect 301 /about-solution-brokers http://results2match.com/about-us
Redirect 301 /nl/node/19 http://results2match.com/about-us
Redirect 301 /privacy-policy-solution-brokers
http://results2match.com/privacy-policy
Redirect 301 /terms-and-conditions-solutionbrokers
http://results2match.com/terms-and-conditions
Redirect 301 /nl/privacy-policy-solution-brokers
http://results2match.com/privacy-policy
Redirect 301 /nl/terms-and-conditions-solutionbrokers
http://results2match.com/terms-and-conditions
Redirect 301 /google_sitemap.xml http://results2match.com/sitemap.xml
Redirect 301 /sitemap.xml http://results2match.com/sitemap.xml
Redirect 301 /sitemap http://results2match.com/sitemap
Redirect 301
/solution-brokers-superior-business-management-and-it-manage ment-resources
http://results2match.com/our-services
Redirect 301 /backup-solution-product-comparison
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/mydatavault
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/data-usb
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/data-notebooks
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/data-servers
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/data-workstations
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /backup/enterprise-data
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /benefits
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /benefits-replica-data-security-backup-solution
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /data-notebooks
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /data-servers
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /data-usb
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /data-workstations
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /mydatavault
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301
/faqs-general-backup-restore-data-management-and-technical-r equirements
Redirect 301 /press-and-events
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /secure-data-all-times
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
Redirect 301 /whitepapers-and-documentation
http://results2match.com/management/data-governance-for-dumm ies-part-2-the-replica-data-security-solution
# redirect http://www. -> http://
RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.com$ [NC]
RewriteRule ^(.*)$ http://solution-brokers.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.nl$ [NC]
RewriteRule ^(.*)$ http://solution-brokers.nl/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.eu$ [NC]
RewriteRule ^(.*)$ http://solution-brokers.eu/$1 [L,R=301]
# redirect .nl -> /nl/
RewriteCond %{HTTP_HOST} ^solution-brokers\.nl$ [NC]
RewriteRule ^(.*)$ http://solution-brokers.com/nl/$1 [L,R=301]
redirect .eu -> com
RewriteCond %{HTTP_HOST} ^solution-brokers\.eu$ [NC]
RewriteRule ^(.*)$ http://solution-brokers.com/$1 [L,R=301]
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Closing down site and redirecting trraffic
am 08.10.2010 17:12:21 von i.galic
----- "Hans Lodder" wrote:
> Hi!
>=20
> I am closing down the site solution-brokers.com. It has 2 aliases:
> SB.nl=20
> and SB.eu. I want to redirect all traffic to 2 other sites=20
> (results2match.com and results2match.nl) and also redirect all search
>=20
> engine credits. Therefore, I wrote an .htaccess. I cannot alter other
>=20
> configurations.
>=20
> Do you have any suggestions for further improvements? Things that
> might=20
> not work, or can be better phrased otherwise? And also why, because I
>=20
> intend to learn from this experience.
You might be able to shorten down your list of rules with RedirectMatch
http://httpd.apache.org/docs/current/mod/mod_alias.html#redi rectmatch
=20
> Thanks in advance!
>=20
> Kind regards,
>=20
> Hans Lodder
>=20
> =================3D
>=20
>=20
> ### .htaccess Closing down Solution Brokers
> ### Hans Lodder (C) 2010
>=20
> # Various rewrite rules.
>
> RewriteEngine on
>=20
> # Dutch
>=20
> Redirect 301 / http://results2match.nl/ons-aanbod
> Redirect 301=20
> /solution-brokers-superieure-business-en-it-management-resou rces=20
> http://results2match.nl/ons-aanbod
> Redirect 301 /node/12 =09http://results2match.nl/over-ons
> Redirect 301 /node/20 =09http://results2match.nl/ons-aanbod
> Redirect 301 /nl/ons-aanbod http://results2match.nl/ons-aanbod
> Redirect 301 /nl/solution-brokers-uw-allround-bedrijfsadviseur =
=20
> http://results2match.nl/ons-aanbod
>=20
> # English
>=20
> Redirect 301 /index.php =09http://results2match.com/
> Redirect 301 /contact-solution-brokers=20
> http://results2match.com/contact
> Redirect 301 /about-solution-brokers
> http://results2match.com/about-us
> Redirect 301 /nl/node/19 http://results2match.com/about-us
> Redirect 301 /privacy-policy-solution-brokers
> http://results2match.com/privacy-policy
> Redirect 301 /terms-and-conditions-solutionbrokers=20
> http://results2match.com/terms-and-conditions
> Redirect 301 /nl/privacy-policy-solution-brokers=20
> http://results2match.com/privacy-policy
> Redirect 301 /nl/terms-and-conditions-solutionbrokers=20
> http://results2match.com/terms-and-conditions
> Redirect 301 /google_sitemap.xml
> http://results2match.com/sitemap.xml
> Redirect 301 /sitemap.xml http://results2match.com/sitemap.xml
> Redirect 301 /sitemap =09http://results2match.com/sitemap
> Redirect 301=20
> /solution-brokers-superior-business-management-and-it-manage ment-resource=
s
>=20
> http://results2match.com/our-services
> Redirect 301 /backup-solution-product-comparison=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/mydatavault=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/data-usb
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/data-notebooks=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/data-servers=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/data-workstations=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /backup/enterprise-data=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /benefits =20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /benefits-replica-data-security-backup-solution=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /data-notebooks
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /data-servers
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /data-usb =20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /data-workstations
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /mydatavault
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301=20
> /faqs-general-backup-restore-data-management-and-technical-r equirements
> Redirect 301 /press-and-events
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /secure-data-all-times=20
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
> Redirect 301 /whitepapers-and-documentation
> http://results2match.com/management/data-governance-for-dumm ies-part-2-th=
e-replica-data-security-solution
>=20
> # redirect http://www. -> http://
>=20
> RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.com$ [NC]
> RewriteRule ^(.*)$ http://solution-brokers.com/$1 [L,R=3D301]
>=20
> RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.nl$ [NC]
> RewriteRule ^(.*)$ http://solution-brokers.nl/$1 [L,R=3D301]
>=20
> RewriteCond %{HTTP_HOST} ^www\.solution-brokers\.eu$ [NC]
> RewriteRule ^(.*)$ http://solution-brokers.eu/$1 [L,R=3D301]
>=20
> # redirect .nl -> /nl/
>=20
> RewriteCond %{HTTP_HOST} ^solution-brokers\.nl$ [NC]
> RewriteRule ^(.*)$ http://solution-brokers.com/nl/$1 [L,R=3D301]
>=20
> redirect .eu -> com
>=20
> RewriteCond %{HTTP_HOST} ^solution-brokers\.eu$ [NC]
> RewriteRule ^(.*)$ http://solution-brokers.com/$1 [L,R=3D301]
>=20
>
>=20
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
--=20
Igor GaliÄ
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org