Posted by: Glitchmaster_PE - Thursday, 5 September 2013 03:13:29
Hi, I would begin by saying that I really like your all's forums! They are very clean and easy to use. Here is my question: I have a site made using WordPress ( [url=http://pecrafters.com]http://pecrafters.com[/url] ) and I have my forums set up using YAF ( [url=http://pecrafters.com/forums/]http://pecrafters.com/forums/[/url] ). I want my login to redirect to: [url=http://pecrafters.com/?page_id=28]http://pecrafters.com/?page_id=28[/url] I have this entered in the redirect url field: http://pecrafters.com/?page_id=28?returnurl=%2fforums%2f , it takes you to the login page, but does not then redirect you back to the forums. Any help is apprectiated!
Glitchmaster_PE
Posted by: Glitchmaster_PE - Sunday, 8 September 2013 21:46:56
help please?
Posted by: johnk - Monday, 9 September 2013 03:02:56
Try changing
[quote]http://pecrafters.com/?page_id=28?returnurl=%2fforums%2f[/quote]
to
[quote]http://pecrafters.com/?page_id=28&returnurl=%2fforums%2f[/quote]
Posted by: Glitchmaster_PE - Monday, 9 September 2013 22:28:36
It didnt work :(
Posted by: johnk - Tuesday, 10 September 2013 00:26:58
There should only be one question mark in the url.
[quote]http://pecrafters.com/?page_id=28&returnurl=/forums/[/quote]
Posted by: Glitchmaster_PE - Thursday, 12 September 2013 00:50:02
It didnt work :(
Posted by: tha_watcha - Thursday, 12 September 2013 13:22:28
[quote=Glitchmaster_PE;60971]Hi, I would begin by saying that I really like your all's forums! They are very clean and easy to use. Here is my question: I have a site made using WordPress ( [url=http://pecrafters.com]http://pecrafters.com[/url] ) and I have my forums set up using YAF ( [url=http://pecrafters.com/forums/]http://pecrafters.com/forums/[/url] ). I want my login to redirect to: [url=http://pecrafters.com/?page_id=28]http://pecrafters.com/?page_id=28[/url] I have this entered in the redirect url field: http://pecrafters.com/?page_id=28?returnurl=%2fforums%2f , it takes you to the login page, but does not then redirect you back to the forums. Any help is apprectiated!
Glitchmaster_PE[/quote]
Which login page did you mean, the one in wordpress or the one in yaf, where the redirect url doesnt work?
With wordpress nobody here can help you here because we only do .NET and not PHP here.
But if you mean the yaf login page, there is a bug in the urlrewriter.config. Which prevents the redirecturl parameter to not work. This issue can be fixed if you update your urlrewriter.config. replace the line...
with that line...
Posted by: Glitchmaster_PE - Thursday, 12 September 2013 13:37:08
Thank you, I will try that
Posted by: Glitchmaster_PE - Thursday, 12 September 2013 22:29:22
No, I believe it is a problem with the WordPress redirect, thank you all for trying to help :)