Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 12 characters in body
Source Link
FFrewin
  • 19.8k
  • 10
  • 48
  • 101

I have a server with multiple websites in same place Scenario is as belows ABC/123 ABC/456 ABC/789

The 123 is pointed to www.123.com The 456 is pointed to www.456.com The 789 is pointed to www.789.com

now i want www.123.com redirected to 123.com.

i added below code in htaccess file

RewriteEngine On RewriteCond %{HTTP_HOST} ^www.123.com [NC] RewriteRule ^(.*)$ http://123.com/$1 [L,R=301]

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.123\.com [NC]
RewriteRule ^(.*)$ http://123.com/$1 [L,R=301]

But it says too many redirects detected.

Does any one have a solution to this Joomla version is 3.6.4

I have a server with multiple websites in same place Scenario is as belows ABC/123 ABC/456 ABC/789

The 123 is pointed to www.123.com The 456 is pointed to www.456.com The 789 is pointed to www.789.com

now i want www.123.com redirected to 123.com.

i added below code in htaccess file

RewriteEngine On RewriteCond %{HTTP_HOST} ^www.123.com [NC] RewriteRule ^(.*)$ http://123.com/$1 [L,R=301]

But it says too many redirects detected.

Does any one have a solution to this Joomla version is 3.6.4

I have a server with multiple websites in same place Scenario is as belows ABC/123 ABC/456 ABC/789

The 123 is pointed to www.123.com The 456 is pointed to www.456.com The 789 is pointed to www.789.com

now i want www.123.com redirected to 123.com.

i added below code in htaccess file

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.123\.com [NC]
RewriteRule ^(.*)$ http://123.com/$1 [L,R=301]

But it says too many redirects detected.

Does any one have a solution to this Joomla version is 3.6.4