Broken links once uploaded to host

While URL Manager is enabled on my localhost it works fine, but once I upload it to a shared host on godaddy the links are broken. But if I disable it once uploaded, the links are fine.

exactly how did you configure urlManager?

if choosed not to show the script name that may be the reason.

you have to make sure that you loaded the .htaccess file too and also make sure that on your host mod rewrite is enabled


I didn’t configure anything, I just uncommented it to enable it. I guess I have to look into configuring it. This is what urlManager looks like now








This is what the .htaccess file looks like now

Options +FollowSymLinks

IndexIgnore */*

RewriteEngine on

# if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php

RewriteRule ^.*$ /index.php [L]

RewriteBase /ballpop

ok, if you want to get rid of the index.php part of your url you are supposed to use showScriptName => false inside your urlManager settings.

anyway, if you re-enable it what kind of error do you get on your production server exactly?

if you won’t give us more info is gonna be hard for us help you out