How to create our profile url |
[eluser]frozenmaiden[/eluser]
I try your solution and it work well in sub domain, but why it raise 404 error on main domain? For example i have http://test.com and http://shop.test.com i want if people access http://test.com/myprofile it will redirect to http://shop.test.com/myprofile and http://shop.test.com/myprofile will redirect it to their user profile. hooks in http://shop.test.com/myprofile works like a charm, but hooks http://test.com/myprofile raise 404 errors. T_T Code: $_SERVER['REQUEST_URI'] = '/p/r'.$_SERVER['REQUEST_URI']; i try to change all that server variable,but nothing to change,please help.. EDIT: I solve the problems by myself, but get strange solution.. I change $config['uri_protocol'] on http://test.com to QUERY_STRING and it work perfectly. That make me confuse,because on http://shop.test.com i set $config['uri_protocol'] to AUTO, and no problems at all.:-S NOTE: http://test.com and http://shop.test.com each have their own CI. |
Messages In This Thread |
How to create our profile url - by El Forum - 04-09-2011, 03:48 AM
How to create our profile url - by El Forum - 04-09-2011, 05:33 AM
How to create our profile url - by El Forum - 04-09-2011, 06:14 AM
How to create our profile url - by El Forum - 04-09-2011, 03:34 PM
How to create our profile url - by El Forum - 04-10-2011, 10:23 PM
How to create our profile url - by El Forum - 04-10-2011, 11:02 PM
How to create our profile url - by El Forum - 04-11-2011, 12:46 AM
How to create our profile url - by El Forum - 04-11-2011, 01:21 AM
How to create our profile url - by El Forum - 04-11-2011, 01:37 AM
How to create our profile url - by El Forum - 04-11-2011, 01:54 AM
How to create our profile url - by El Forum - 04-11-2011, 03:24 AM
How to create our profile url - by El Forum - 04-11-2011, 03:54 AM
How to create our profile url - by El Forum - 04-11-2011, 05:14 AM
How to create our profile url - by El Forum - 04-12-2011, 02:48 AM
How to create our profile url - by El Forum - 05-04-2011, 01:24 AM
How to create our profile url - by El Forum - 07-04-2011, 09:31 AM
How to create our profile url - by El Forum - 07-08-2011, 02:04 AM
|