• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio 
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio  
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Login Link In Text Widget — Return To Current Page

Login Link In Text Widget — Return To Current Page

  • Unknown's avatar
    brotuulaan · Member · Jul 14, 2015 at 6:47 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I know that you can use the text widget to insert a link to log in to WordPress.com (pretty simple), but when I’ve inserted the plain login link using this method, it always takes me to my admin panel for my active blog.

    Is there a way to create a link that will allow someone to log in and then redirect to the current page, regardless of which page that is?

    I just copied the link from the comment section of one of my posts, and I’m wondering whether there’s a way to make it universal (referencing the page on which the link was clicked) rather than making it specific to the page:

    Watcha Gonna Do?

    The popup window is not an issue, so I suppose that would be fine if that were to need to be the case even on my blog’s homepage. Is this url unique to comments and impossible to adapt for general blog usage?

    I previously found this page, but it doesn’t seem to work. Perhaps I’m doing it wrong. I tried the previous method for inserting a hyperlink into the text widget, but when I pasted in the suggested text:

    ” title=”Login”>Login to view

    and hit the save button, it spat out this reduced result:

    Login to view

    This result is what it showed on both my admin page and what it showed on my blog. Is this outdated, or did he leave something generic in his text? It’s certainly not a standard url, but I’ve noticed that wordpress uses a sort of hybrid of html in creating posts and pages rather than true html. I also noticed that he has an extra set of parentheses, with not so much as a space between them. Was this an oversight on his part?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    brotuulaan · Member · Jul 14, 2015 at 6:49 pm
    • Copy link Copy link

    On the part where I say that it spat out a reduced result, it just reduced both of them again…

  • The topic ‘Login Link In Text Widget — Return To Current Page’ is closed to new replies.

Tags

  • login
  • redirect

About this topic

  • In: Support
  • 1 participant
  • 1 reply
  • Last activity 11 years
  • Latest reply from brotuulaan

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions