antonyfal Posted September 23, 2011 Share Posted September 23, 2011 Hi, I am using joomla 1.5.23 i just upgraded from 1.5.22. Now in my urls i have ?lang=en. I want to remove this for my main component. I never had it before but now i can get rid of it.. Where can i find the file to edit? //some background: i have sh404sef installed but my component uses a router file. the file has always worked with 1.5.22. Now it seems that the url's is correct if i view the sh404sef url's manager. I can even remove the ?lang=en from the address bar and i can view the correct pages. it almost seems as if the ?lang=en is added as a after thought. example non sef url in sh404sef: index.php?option=com_component&Itemid=1&profile_uid=1&task=viewprofile&lang=en sef url in sh404sef: viewprofile/profilename/1.html actual site url: http.....com/subfolder/viewprofile/profilename/1.html?lang=en i tried enabling and dissabling the sef with mod rewrite in joomla main config... If i have to hard code the fix, i will do it. can some one tell me where to fix this problem? second question: more simple. When a user logs in to joomla, before they are redirected, where can i put the code to place a cookie? i want to place a cookie, so that only logged in users can view other specific files on my site, other wise they are redirected to main login register page. the files in question are not part of joomla code. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.