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

[Closed] How to replace the full url for login/registration?

5 Posts
3 Users
0 Reactions
2,299 Views
Posts: 30
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
(@civilenggnotes)
Eminent Member
Joined: 6 years ago
[#13549]

I am trying to create a popup login/registration form. Thus I found a plugin which may serve my purpose, but it needs to replace the full URL of the login/registration/forgot password ( https://siteurl.com/login) with some text. Here is an example for the link popup. So, how to change the full URL?? 

<a href="#cmreg-login-click">Login</a>

 

 1

Topic Tags
4 Replies
Alvina
Posts: 1857
Moderator
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
(@alvina)
Member
Joined: 7 years ago

Hi @civilenggnotes,

Please navigate to the Dashboard > Forums > Settings >  Members admin page, find and check the

" Custom Authorization URLs" options. 

More info here: https://wpforo.com/docs/root/wpforo-settings/members-settings/#custom-authorization


Posts: 30
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
(@civilenggnotes)
Eminent Member
Joined: 6 years ago

Hi @alvina,

I hope you read my question.. i know how to change slug. I am not talking about it. Instead of changing /login/, i want to change https://mysite.com/login/. Hope i am able to clear my need.. 


Robert
Posts: 10736
Admin
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
(@robert)
Support Team
Joined: 2 months ago

Hi @civilenggnotes,

Currently, there is no way to do this. You should change it manually. We'll add new hook in upcoming update to allow you to replace the login URL using that hook. At the moment you can do this in the  /wp-content/plugins/wpforo/wpf-includes/functions-template.php file.

Find:

return esc_url($wp_login_url);

Replace to:

return '#cmreg-login-click';

Once, the new version is released, just let us know, we'll provide update-safe hook code.


1 Reply
(@civilenggnotes)
Joined: 6 years ago

Eminent Member
Posts: 30
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

@robert

Thanks a lot..i must try this


Share: