Exclude Url's From Yii

The website I’m working on is cecilia-aarsele.be.

In the past they used picture galleries from the host firm.

They have URL’s like doc.cecilia -aarsele.be or cecilia.cecilia -aarsele.be.

But since I use Yii for the website those URL’s lead me straight back to site/index.

Is there a fix for this problem? URLManager or .htaccess or?

If you want to see the project, it’s on github.com/NielsDM/kmsca.

And my mother tongue is not English, so sorry for the mistakes.

Are the files still available at the original URLs?

Yes, nothing is changed at those directories.

This rewrite condition may be the problem:




RewriteCond %{HTTP_HOST} !^www.cecilia-aarsele.be$ [NC]



Try temporarily commenting out that and the related RewriteRule and check whether the image URLs start working correctly.

I will try it, thank you.