Tagged Questions
2
votes
2answers
32 views
URL Mod Rewriting
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 urls with that ...
0
votes
1answer
25 views
Codeigniter route
I have this url
http://mysite.local/awesome-shirts.html
I want to route it to
http://mysite.local/category/shirts/awesome-shirts.html
The third segment of the url is dynamic.
Does anyone knows ...
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
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 ...
-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 ...
0
votes
2answers
37 views
How to remove WWW prefix, add https and rewrite for codeigniter mod_rewrite?
I'm having headache trying to setup a virtualhost in Apache to work with codeigniter.
I'd like to :
- Remove www (if present)
- Redirect to https
- Rewrite the request header to redirect to ...
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, ...
-2
votes
1answer
97 views
How to redirect and remove index.php in Codeigniter [duplicate]
I'm using below htaccess to remove index.php from my url in Codeigniter.
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
The problem is that ...
0
votes
0answers
40 views
codeigniter .htaccess not working to hosting [closed]
How change "RewriteBase /www.myweb.net/" to web hosting for working ?
RewriteEngine On
RewriteBase /www.myweb.net/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
...
0
votes
3answers
130 views
How to remove index.php from codeigniter in UBUNTU [duplicate]
I know this question is being ask already, i tried all those but still unable to remove index.php from url.
Here are my details
Ubuntu 12.10
PHP : 5.4.6
Mod_rewrite in on
CI verson: 2.1
.htacess ...
0
votes
2answers
84 views
htaccess redirection in codeigniter
I have the following code in my .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /annsenglishmediumschool
RewriteCond %{HTTP_HOST} shops.annsenglishmediumschool.com
...
0
votes
3answers
110 views
Using .htaccess to redirect /sitemap.xml to /index.php/sitemap/
I'm using codeigniter to generate a page that contains XML data. The URL of the file is located at /index.php/sitemap, but I want the URL to be accessed via /sitemap.xml
My .htaccess file is already ...
0
votes
3answers
75 views
Redirect Url in codeigniter
I want to redirect a url in my lcalhost ,as when user types : mystring.localhost/CI to localhost/CI/Mycontroller/Myaction/mystring in codeigniter .its now showing Server not found and says browser ...
0
votes
1answer
83 views
codeigniter rewrite rule leads to infinite loop
I'm using CodeIgniter, and I'm getting a 500 server error when I try to visit my page.
(https://test_page.com) which redirects to
(https://test_page.com/auth/login).
Notice how
...
1
vote
1answer
71 views
404 issue with XAMPP/Windows 7
Ok guys this is really driving me nuts....
I have a legacy codeigniter application which used to work perfectly fine in Win XP for many years. Yesterday all our desktops were updated to Win7. I ...