Prime Login Return

URL extensions - Prime Login Return

URL extensions

by Drakath » Sun Jul 01, 2018 1:05 pm

This extension does not work with hidden URL file extensions. For example www.example.com/page redirects to www.example.com/page.php/page
Drakath
Registered User
Posts: 109
Joined: Wed Aug 29, 2012 12:17 pm
Contact:

Re: URL extensions

by primehalo » Tue Aug 14, 2018 2:02 am

Can you provide more details? I just tried it out and didn't have a problem. I went to the server settings and set Enable URL Rewriting to YES, then I installed the official Pages extension, used it to create a page (Test Page 1), and went to that page. I then clicked the Login link, logged in, and afterward was successfully returned to Test Page 1. Next I clicked the logout link and was immediately returned to Test Page 1. I then disabled the Enable URL Rewriting to see how that worked and it worked the same except that instead of primeloginreturn/test-page-1 in the URL it was primeloginreturn/app.php/test-page-1.
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
primehalo
Former Team Member
Posts: 2833
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact:

Re: URL extensions

by Nick225 » Mon Aug 26, 2019 2:02 am

Using version 1.1. This is a great MOD. Thanks. Been looking for something like it.
A little glitch though.
It works great for all links inside the Root directory. (ie https://www.myboard.com/forum)
When a custom page residing in a sub-folder sends the user to log on, the redirection links is wrong.
It fails when redirecting to a sub-folder after login (i.e https://www.myboard.com/forum/football. In this case, the redirection link becomes https://www.myboard.com/football/football, which obviously doesn't exist. So we lose the 'forum' folder and the sub-folder 'football' is repeated.
Nick225
Registered User
Posts: 108
Joined: Sat Nov 24, 2018 7:48 pm
Contact:

Re: URL extensions

by primehalo » Fri Aug 30, 2019 1:55 am

Can you walk me through how to set up such a subfolder page so I can test this out?
Ken F. Innes IV
My Extensions | My MODs | My Topics | My Site: Absolute Anime
Experience the wonder of Japanese Animation!
User avatar
primehalo
Former Team Member
Posts: 2833
Joined: Fri May 06, 2005 5:58 pm
Location: Redding, CA
Contact: