Take the 2-minute tour ×
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It's 100% free, no registration required.

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?

share|improve this question
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 Jun 10 at 15:52
    
<a href="{path='article/details'}">{title}</a>. will produce: wwww.url.com/index.php/article/details/article-name –  therooster Jun 10 at 16:18
    
@TRiG it appears that the changes you made to the question have hidden the issue. –  zzzzBov Jun 10 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 Jun 10 at 22:43
    
@TRiG, the revision history shows you changing wwww.url to www.example, which is why I called out the issue. –  zzzzBov Jun 10 at 23:15

2 Answers 2

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

Also check this in your config file.

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

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

share|improve this answer
    
You might mark foamcow's answer as the answer? –  Romans-8---31-39 Jun 10 at 21:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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