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.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th May 2014, 02:27
RedBeard RedBeard is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default nginx rewrite on ISPConfig3

Hi,
I'm trying to find the best way to make the "www.mydomain.com" rewrite to "mydomain.com" using ISPConfig under nginx.

I can do it setting Sites/Domain/Auto-subdomain to NONE and adding a new subdomain with Host 'www' redirecting to http://mydomain.com.

Is this the best (or only) way?

The goal is to have only one address to improve SEO score.

Best Regards from Brazil (sorry my poor english)

RedBeard
Reply With Quote
Sponsored Links
  #2  
Old 27th May 2014, 07:25
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,266 Times in 4,129 Posts
Default

Why dont you use the rewrite option that exists for that purpose on the rewrite tab of the website?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th May 2014, 15:33
RedBeard RedBeard is offline
Junior Member
 
Join Date: Feb 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Oops... my fault. (I knew there was a easy way to do this... )
I was thinking that Rewrite tab was used only to move a entire website to a new location.
I will try that now.
Thank you for the reply and for the amazing software.
B.R.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig 3, nginx, rewrite, seo

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
Migration from ISPConfig3 Apache to ISPConfig3 nginx? zenny Installation/Configuration 3 3rd December 2013 20:24
Please help convert htaccess to nginx ababneh HOWTO-Related Questions 6 5th April 2013 00:19
permission issues with ISPConfig3, nginx and cakephp ItsDom Installation/Configuration 2 30th December 2012 13:18
How setup nginx as frontend to apache with full support for nginx ISPConfig3? beliashou Installation/Configuration 8 30th November 2011 12:14
amavis rejects all inbound emails aclhkaclhk Installation/Configuration 5 28th February 2010 04:24


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


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