AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

How to make /sign-in redirect to the referring page.

1 Posts
1 Users
0 Reactions
466 Views
memphisguru
Posts: 23
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@memphisguru)
Eminent Member
Joined: 8 years ago
[#63695]

Since I'm using the wpForo login in place of the Wordpress one, any time a user logs in they end up on the forum or there profile, no matter where the /sign-in link was located.

So a user gets a link on a protected page like "you must sign in to do this", linked to the  /sign-in page and instead of going back to the page they were trying to interact with they end up in the forum.

Confusing, like what just happened, this isn't the page I wanted.

Can a link be crafted using redirect?

/sign-in/?redirect_to=[the page you came from]

Thanks


Share: