Tagged Questions
0
votes
1answer
18 views
htaccess css path relative to index.php
I run CodeIgniter on local LAN.
Since I have Wordpress, Drupal,... and they should not conflict I need to run them as subfolder. For example:
http://192.168.1.101/CodeIgniter/
My css is placed in:
...
0
votes
2answers
17 views
htaccess file for codeigniter on subdomain virtualhost
i have problem about .htaccess file for my codeigniter installation.
On localhost this work fine, when i upload online its rewrite URL but the website not work.
this is my htaccess on localhost:
...
0
votes
0answers
45 views
codeigniter posting form data not working on linux server
I recently changed my website Go-Daddy hosting to Dedicated Server which is LINUX server.
But, there is some problem on POST FORM Data...
I tried many ways on changing .ht-access.
There is no ...
1
vote
2answers
852 views
Forcing HTTPS on entire CodeIgniter driven site creates request loops… why?
I have a pretty basic CodeIgniter setup for a site that now needs to be run entirely on SSL. So, I figured I need to force https by some .htaccess rules as that seems to be the most intuitive and ...
1
vote
2answers
28 views
Rewriting and redirecting my urls with ? that has been indexed by google
So here's how it is, i am using codeigniter for my website, and before theres always that index.php? on my every url or links, for example mysite.com/index.php?/about
Google has indexed all of my ...
-1
votes
5answers
217 views
Can 2 .htaccess files block URL rewriting
I have a codeigniter project inside the b1 folder in my public_html folder:
mydomain.com/b1/controller/function
I want to change it to:
mydomain.com/controller/function
in the browser bar using ...
-6
votes
0answers
24 views
internal server error in godaddy for 301 redirects [closed]
I am getting internal server error in godaddy for 301 redirects in .htaccess. I have used CodeIgniter framework to build the website. I tried redirecting my old url (which is in html) to new one.. It ...
0
votes
3answers
932 views
codeigniter problem - site redirects to localhost after migrating
i just copied the CI files from server to my localhost and I am having problem running the site.
Whenever i click the site link in WAMP
http://localhost/CmpOnline/
it shows me the same folderlist as ...
1
vote
1answer
31 views
Codeigniter mod_rewrite for both root and subdirectory
I have:
root/.htaccess
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
it works perfectly send all ...
0
votes
1answer
24 views
Not able to call class function from URL
I'm VERY new to CodeIgniter and am having trouble calling a function from within my default class.
Controller
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class ...
0
votes
2answers
2k views
CodeIgniter Mod_Rewrite issues
Having issues removing index.php? from the URL:
http://localhost/index.php?/reset_password
With htaccess file:
# Customized error messages.
ErrorDocument 404 /index.php
# Set the default handler.
...
0
votes
4answers
356 views
CodeIgniter mod_rewrite gives 404 error
I have written a CodeIgniter application and I want to use mod_rewrite to clean up my URL's. I have installed the CodeIgniter application in htdocs/ci-intro/
Here is my .htaccess file:
<IfModule ...
3
votes
4answers
3k views
Force https://www. for Codeigniter in htaccess with mod_rewrite
I'm using Codeigniter and following these instructions to force ssl but all requests are being redirected to
http://staging.example.com/index.php/https:/staging.example.com
My .htaccess is:
### ...
0
votes
1answer
20 views
.htaccess RewriteRule for remapping folder in CodeIgniter doesn't work
I want users to see what's in /index.php?events/ when they type /prefiltered/. So, I don't want their browsers to display /index.php?events/. I think it's called remapping.
I'm using CodeIgniter, ...
0
votes
3answers
1k views
Code Igniter gives 404 when accessing pages without index.php
I'm getting 404 errors when accessing via:
http://www1.example.me/z/account/login
Although these work fine:
http://www1.example.me/z/index.php/account/login
http://www1.example.me/z/
.htaccess - got ...