× Joomla Facebook Connect support forum

Topic-icon Redirects after logins

Active Subscriptions:

None
14 years 5 months ago #17766 by branic
Sorry if this topic has been covered already, I did a search but did not see this particular issue being covered.

After login using the JFBConnect and Jlinked I would like users to be redirect to a page that is for registered users only. The problem is that for some reason it redirects to the proper url but appends the item id at the end which I think is causing the problem.
So this would be the proper redirect:
mydomain.com/myredirect.html

Instead I get:
The requested URL /myredirect.html&Itemid=97 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I don't know why it adds the item ID because otherwise the url is correct.

Thanks for your help
The topic has been locked.
Support Specialist
14 years 5 months ago #17776 by alzander
Replied by alzander on topic Redirects after logins
Brandon,
It adds the Itemid because most SEF extensions need that to determine the properly SEF version of the URL to use. The Itemid is the menu item's database ID, which is what all modules trigger off to know what pages to appear on. It's a critical aspect of Joomla, and I"m not sure why you're seeing what you're seeing.

A couple of questions:
1) What type of menu item are you using? If it's an "External URL" or "Alias" type, I could see how this was happening. If that's the case, is there any way you can use the original menu item or a component menu item to link to?
2) If not, are you using a 3rd party SEF extension? Core Joomla SEF shouldn't be a problem, but sometimes other SEF extensions can cause conflicts. If so, I'm sure we can help you get around the problem.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17787 by branic
Replied by branic on topic Redirects after logins
Yes, it goes to an "External URL" menu item. The component I am using does not have a specific way to make a menu item for each page. What I think I will do is just build a welcome page and have everyone sent there after login/register. Thanks for the advice...

On a side not, I left reviews on the JED for both JFBConnect and Jlinked. However both of them did not appear and it won't let me re-add them. Is there some sort of delay or extended approval process for reviews?
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17789 by branic
Replied by branic on topic Redirects after logins
Alright, well I took the following steps from my previous post but now I have a new problem.

I have built a welcome page and set the redirection to that after login. However when someone logs in in using joomla credentials instead of facebook or linkedin, it sends the user to a completely different page. I have all the setting to redirect to the new page I created included the "Redirect on Joomla Login" setting in the configuration and modules. I cleared the cache, but its still an issue.

If I login using facebook or linkedin, I am properly redirected to the new welcome page. It's only when I use the joomla login, using the mod_sclogin that the problem occurs.
The topic has been locked.
Support Specialist
14 years 5 months ago #17795 by alzander
Replied by alzander on topic Redirects after logins
Brandon,
Reviews on the JED have to be approved by the JED team. While normally, this only takes a few days. They seem about a month behind at the moment, I'm sure due to a busy schedule and the holidays. It will be posted at some point, and we really do appreciate you leaving it!

As for your issue, that's definitely strange. Can you try enabling the standard Joomla login module and see if it has the same issue? Our SCLogin module is based off the Joomla login module, so it will help knowing if the issue is there too. Also, please test without SEF extensions enabled (or core-Joomla SEF), if enabled. Knowing if it's an SEF issue also helps narrow things down.

Thanks,
Alex
The topic has been locked.