Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th April 2013, 10:09
carpman carpman is offline
Member
 
Join Date: Dec 2011
Posts: 50
Thanks: 4
Thanked 0 Times in 0 Posts
Default apaceh & google duplicate content

Hi, i wish to avoid google duplicate content issues with site so need to have redirect for

http://site.com
to
www.site.com

This can be done via htaccess, but is bit of a kludge, can also be done via Apache with:

Code:
<VirtualHost *>
  ServerName www.example.com
  Redirect 301 / http://example.com/
</VirtualHost>
In ispconfig where do i put this?

Does it need to be done for each domain or can i have general setting?

Also can it be added to a template for future domains?

thanks
Reply With Quote
Sponsored Links
Reply

Bookmarks

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
mx domains visible in google search causing duplicate content dynamind Installation/Configuration 9 30th March 2012 12:04
How-to Updating ISPConfig in a Multiserver System vaio1 General 13 26th November 2011 17:49
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Unknown MX record and Reverse PTR question for Google Apps email safoo Server Operation 1 31st March 2009 17:26


All times are GMT +2. The time now is 01:03.


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