1

I have a weird problem: my EE URLs are generated with an extra "W". For instance, on http://www.example.com,

<a href="{path='article/details'}">{title}</a>

will produce (notice that www becomes wwww):

wwww.example.com/index.php/article/details/article-name

I can't find anything in the admin where I may have typed in the URL wrong.

Does anyone have an idea for how to solve this?

6
  • 1
    Can you provide more information. Where is the 'W'? Can you show some template code that displays a url with the extra 'W'? You haven't really given us much to go on.
    – foamcow
    Commented Jun 10, 2014 at 15:52
  • <a href="{path='article/details'}">{title}</a>. will produce: wwww.url.com/index.php/article/details/article-name
    – therooster
    Commented Jun 10, 2014 at 16:18
  • @TRiG it appears that the changes you made to the question have hidden the issue.
    – zzzzBov
    Commented Jun 10, 2014 at 21:51
  • @zzzzBov, in the original question, both mentions of the domain were wwww. Perhaps that was a mistake. (The domain appeared only once in the rendered question, because of a Markdown error, but it was there in the source with a four-w prefix.)
    – TRiG
    Commented Jun 10, 2014 at 22:43
  • @TRiG, the revision history shows you changing wwww.url to www.example, which is why I called out the issue.
    – zzzzBov
    Commented Jun 10, 2014 at 23:15

2 Answers 2

5

Check the site url for your site in Admin->General Configuration

Also check this in your config file.

2
  • yep, i did. no go. also this is a msm site. the default site works fine. its the 2nd site that has problems.
    – therooster
    Commented Jun 10, 2014 at 16:42
  • found the issue. see my answer above...
    – therooster
    Commented Jun 10, 2014 at 17:03
2

Found it. the issue was in the 2nd sites index.php file. the url was type wrong. Thanks foamcow for the help!!

1
  • You might mark foamcow's answer as the answer? Commented Jun 10, 2014 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.