How can i make Codeigniter allowing subfolders subfolders? |
[eluser]Lacsap[/eluser]
Not working. Every url is now opening mainpage. mysite.com/xyz opens mainpage and mysite/uuu opens maingpage
[eluser]toopay[/eluser]
Use the first htaccess, but with [L] flag, at the last line Code: RewriteRule ^(.*) index.php?/$1 [L]
[eluser]toopay[/eluser]
What inside 'blog', is there an 'index.php'? Specify what you have in that folder!
[eluser]Lacsap[/eluser]
Wordpress. blog/index.php directs me first time to blog/wp-admin/install.php. here i get CI 404
[eluser]toopay[/eluser]
Okey, let's clarify somethings 1. are you access your controller like 'http://yoursite.com/controllername/functionname' or 'http://yoursite.com/index.php/controllername/functionname' 2. 404 generates by CI or apache?
[eluser]Lacsap[/eluser]
1. Using http://yoursite.com/controllername/functionname 2. Ci generates 404
[eluser]toopay[/eluser]
Try replace the last line with this Code: RewriteRule ^.* index.php?/$1 [L] And what server you're running at?
[eluser]Lacsap[/eluser]
Sorry doesnt work. Opening everytime CI Mainpage now. I realy dont know what i should google to solve this problem Sorry Thanks for your help.
[eluser]Lacsap[/eluser]
I have to ask someone for: "And what server you’re running at?" moment please |
Welcome Guest, Not a member yet? Register Sign In |