Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10th May 2013, 16:08
SupuS SupuS is offline
HowtoForge Supporter
Join Date: May 2006
Posts: 202
Thanks: 68
Thanked 14 Times in 12 Posts
Default How to prevent search engine from indexing of Website auto alias domains


I use Website auto alias in ISPConfig and I've found that search engines are indexing domain aliases. This is not desired status. So I decided to use X-Robots-Tag HTTP header (more info on developers.google.com for example). When you have in Website auto alias for example:


so you can put this directive to apache directive settings:

# Prevent search engine indexing on temporary domain sites:
<IfModule setenvif_module>
  <IfModule headers_module>
    SetEnvIf Host test\.domain\.ltd$ temporary_domain 
    Header set X-Robots-Tag "noindex, nofollow" env=temporary_domain
Apache mod headers and mod setenvif has to be activated for properly work.

It would be nice if this functioin was included in ISPConfig directly as optional

Reply With Quote
The Following 2 Users Say Thank You to SupuS For This Useful Post:
mattltm (24th June 2013), till (11th May 2013)
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alias Domains creating Trailing Slash Vamiris Installation/Configuration 1 3rd December 2012 10:55
howto Domain module, mail domains limit & mail alias unlimited ? radim_h Tips/Tricks/Mods 1 20th April 2011 12:24
alias domains vwpete Installation/Configuration 2 4th April 2011 13:23
Exim Gateway with mailwatch (Unable to receive emails) siul0_0 HOWTO-Related Questions 10 9th May 2009 00:00
postfix domains alias alxgomz Installation/Configuration 0 5th March 2007 13:53

All times are GMT +2. The time now is 11:46.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.