Jump to content

2 joomla questions - 1st= ?lang=n in url and other is a login question


antonyfal

Recommended Posts

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.