Support the ongoing development of Laravel.io →
Installation Configuration

Hi,

I have a weird problem and can't seem to figure it out.

First of all, im using laravel 4 and the project is hosted in hostgator. The laravel core is located outside the "www" and only the public laravel folder is located in the "www" (it seems it's the best practice when we put a laravel project live).

Website: www.igoldenvisa.com

It seems that if i use the domain without the www part, it works 100%, nothing fails, but if i use the www part not everything works properly, and the host returns the Error 500.

Normally the error occurs using these links:

http://www.igoldenvisa.com/properties/Portugal/Algarve http://www.igoldenvisa.com/properties/Portugal/Lisboa http://www.igoldenvisa.com/properties

And sometimes only gives the Error 500 when i login and go to those links.

No idea if it is the htaccess (for me doesnt make sense because it seems to only affect the "properties" urls); the code seems to be "normal"... it's too damn weird :S

Need help please :)

Thanks, Luís Gonçalves

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.