Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

URL without www. at beginning cause error 500
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 3 (Joomla 1.5 compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: URL without www. at beginning cause error 500

URL without www. at beginning cause error 500 14 years, 10 months ago #10320

Hi,

As said in tittle when i type www.mydomain.com it run perfect.

If i type mydomain.com fronpage is ok (no redirect) but every link lead to an error 500 from server with this message in apache log :

Request exceeded the limit of 10 internal redirects due to probable configuration error. ...

An idea ?

Thx
Pascal
The topic has been locked.

Re:URL without www. at beginning cause error 500 14 years, 10 months ago #10321

Or perharps there is a way to redirect domain.com to www.domain.com ...

In virtual host or dns options ... ??
The topic has been locked.

Re:URL without www. at beginning cause error 500 14 years, 10 months ago #10322

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

This means there is some problem with configuration in .htaccess file. As regards the non-www to www redirection, there is plenty of sources on the internet: www.google.com/search?q=non+www+to+www+redirect

You can for example use this in your .htaccess file:
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) www.example.com/$1 [R=301,L]

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:URL without www. at beginning cause error 500 14 years, 10 months ago #10323

Thx for your answer.

this one work well :

RewriteCond %{HTTP_HOST} ^yourdomain.com
RewriteRule ^(.*)$ www.yourdomain.com/$1 [L,R=301]

with http:// before www

in fact the same as your but the url replacement have hidden http://
Last Edit: 14 years, 10 months ago by Pascal_Netenvie.
The topic has been locked.
  • Page:
  • 1
User Login Empty