Part of the EllisLab Network
   
 
redirect()
Posted: 09 November 2006 08:58 PM   [ Ignore ]  
Summer Student
Total Posts:  12
Joined  09-18-2006

i find this rather confusing or it is a bug:
URI PROTOCOL config setting: QUERY_STRING

but when i do a redirect it still append a /

so a quick dirty solution is appending a “?” in the first redirect parameter.
when redirected “index.php/?blah/blah” appears in the URL

sam

Profile
 
 
Posted: 10 November 2006 04:24 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  254
Joined  10-04-2006

I am not sure to understand your issue.
How do you create your link ?
How did you configure your query string ?
Do you configure your .htaccess file ?

Take a look at the dosc if you did not

 Signature 

Sylvain Gourvil
PHP Developer
French scuba divingMotivation and team building

Profile
 
 
Posted: 10 November 2006 04:38 AM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  481
Joined  03-08-2006

[quote author=“Documentation”]Please note: If you are using query strings you will have to build your own URLs, rather than utilizing the URL helpers (and other helpers that generate URLs, like some of the form helpers) as these are designed to work with segment based URLs.

 Signature 

Flickr | Last.fm | Del.icio.us

Profile
 
 
Posted: 10 November 2006 05:28 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  12
Joined  09-18-2006

i think i missed this part on the config
$config[‘enable_query_strings’] = FALSE;
it still is false but surprisingly it was working on segment based and query string.

take a look at http://www.estetika-design.com

and thanks for the reply.
sam

Craig - 10 November 2006 04:38 AM

[quote author=“Documentation”]Please note: If you are using query strings you will have to build your own URLs, rather than utilizing the URL helpers (and other helpers that generate URLs, like some of the form helpers) as these are designed to work with segment based URLs.

Profile
 
 
Posted: 10 November 2006 05:46 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  254
Joined  10-04-2006

ok, you have to set it to true to use query string.

By you were not using query string at all.
‘?’ does not mean that it use query string.

For using query string, you will have to construct you own url with index.php?c=controller&m=method&...
If you want better url, use url rewriting if you host enbale it

 Signature 

Sylvain Gourvil
PHP Developer
French scuba divingMotivation and team building

Profile
 
 
   
 
 
‹‹ oci8 & 1.5.0.1      query in CI 1.5.0.1 ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 66430 Total Logged-in Users: 28
Total Topics: 84795 Total Anonymous Users: 8
Total Replies: 455066 Total Guests: 246
Total Posts: 539861    
Members ( View Memberlist )
Newest Members:  Dylan1978X_franbaguasllogocsaturkeyPeter BryanttherendStudioGeorgiaJZeerfedeghe