SOLVED Immediate Help Needed! I migrated my website and it doesn't work now. |
[eluser]caglarutkuguler[/eluser]
I recently migrated my CI website to a new server using a different domain name. The problem is that although the home page is displayed, none of the links work. I always get the same error message and no additional message: 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable. I searched the net but couldn't come up with any solutions. My URL: Click here to visit my CI Website My .htaccess file: Code: RewriteEngine on Please help me to overcome this problem. Thanks.
[eluser]Bart Mebane[/eluser]
On some servers you need to add a question mark after index.php, like this: Code: RewriteEngine on
[eluser]caglarutkuguler[/eluser]
[quote author="Bart Mebane" date="1291167372"]On some servers you need to add a question mark after index.php, like this: Code: RewriteEngine on I did what you advised right away, but didn't work. Please help me.
[eluser]Bart Mebane[/eluser]
Your links work if you include index.php in the url, so it's probably an htaccess problem. I'm not an htaccess expert, but this is the one I use: Code: RewriteEngine on
[eluser]caglarutkuguler[/eluser]
Thanks for the insight. At least you lit a light I tried your .htaccess but didn't work. Do you know any htaccess expert?
[eluser]Bart Mebane[/eluser]
Quote:Do you know any htaccess expert?No, but I'm sure there are some on the forum.
[eluser]Unknown[/eluser]
Hi everyone here.I am so glad to come in here,good to see you all.
[eluser]caglarutkuguler[/eluser]
SOLVED. I changed my server. It was a Windoes server with PHP support. I switched to a LINUX server and it is working now. Thanks for all your help. Especially thnx to teampoop and InsiteFX!
[eluser]mike7418[/eluser]
Ahh the Windows IIS server. rewrites are a bit more difficult on IIS. Linux Apache just has to have mod_rewrite installed |
Welcome Guest, Not a member yet? Register Sign In |