![]() |
removing index.php in urls with 1and1.com hosting - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: removing index.php in urls with 1and1.com hosting (/showthread.php?tid=13666) |
removing index.php in urls with 1and1.com hosting - El Forum - 12-01-2008 [eluser]loopymonkey[/eluser] Just wanted to post for anyone else trying to solve this if you're using 1and1 hosting: For this example I have codeigntiter in a directory called 'dev'. So http://mysite.com/dev/ .htaccess file located in dev root: Code: Options -MultiViews ** notice the RewriteBase /dev above, be sure to change the name to whatever directory your codeigniter is in or it won't work. Then be sure to edit: config.php Code: $config['index_page'] = ""; That's it. removing index.php in urls with 1and1.com hosting - El Forum - 01-25-2010 [eluser]zool2005[/eluser] Thanks a lot, your solution worked like a charm ! removing index.php in urls with 1and1.com hosting - El Forum - 02-11-2011 [eluser]easternsolo[/eluser] hi, I have problem running CodeIgniter with 1 & 1, I have tried every solution ….but getting the same “404 Page Not Found , The page you requested was not found” page my default folder is qapp for codeigniter http://www.qhangers.com/qapp The last setting .htaccess as follow (but still getting same result) Code: RewriteEngine On Please help!! removing index.php in urls with 1and1.com hosting - El Forum - 07-27-2011 [eluser]Onema[/eluser] I'm experiencing a similar issue with a 404 error message. I'm using CI 2.0.2 and I have a basic shared hosting with 1and1, and my .htaccess located in my website root (/mywebsite/.htaccess) directory and it looks like this Code: <IfModule mod_rewrite.c> In my config.php file I have the following: Code: $config['base_url'] = 'http://mywebsite.com'; It doesn't matter what I do I keep getting the 404 page not found error : http://d.pr/F2KR Help is greatly appreciated. |