Re: Closing down site and redirecting trraffic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- "Hans Lodder" <hans.lodder@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> 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.

You might be able to shorten down your list of rules with RedirectMatch
http://httpd.apache.org/docs/current/mod/mod_alias.html#redirectmatch
 
> Thanks in advance!
> 
> Kind regards,
> 
> Hans Lodder
> 
> =================
> 
> 
> ### .htaccess Closing down Solution Brokers
> ### Hans Lodder (C) 2010
> 
> # Various rewrite rules.
> <IfModule mod_rewrite.c>
>    RewriteEngine on
> 
>    # Dutch
> 
>    Redirect 301 /				http://results2match.nl/ons-aanbod
>    Redirect 301 
> /solution-brokers-superieure-business-en-it-management-resources 
> 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-management-resources
> 
> http://results2match.com/our-services
>    Redirect 301 /backup-solution-product-comparison 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/mydatavault 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/data-usb	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/data-notebooks 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/data-servers 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/data-workstations 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /backup/enterprise-data 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /benefits		 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /benefits-replica-data-security-backup-solution 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /data-notebooks	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /data-servers	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /data-usb		 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /data-workstations	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /mydatavault	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 
> /faqs-general-backup-restore-data-management-and-technical-requirements
>    Redirect 301 /press-and-events	 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /secure-data-all-times 
> http://results2match.com/management/data-governance-for-dummies-part-2-the-replica-data-security-solution
>    Redirect 301 /whitepapers-and-documentation	 
> http://results2match.com/management/data-governance-for-dummies-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]
> 
> </IfModule>
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux