<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Help with Login URL - wpDiscuz				            </title>
            <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 17 Jun 2026 01:14:18 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22663</link>
                        <pubDate>Sat, 02 May 2020 10:22:50 +0000</pubDate>
                        <description><![CDATA[@guillermorivr,
Please remove the code provided above and use the following one and you&#039;ll be redirected to the same post page.
add_filter (&#039;login_url&#039;, &#039;my_login_linkchanger&#039;);   function...]]></description>
                        <content:encoded><![CDATA[<p>@guillermorivr,</p>
<p>Please remove the code provided above and use the following one and you'll be redirected to the same post page.</p>
<pre>add_filter ('login_url', 'my_login_linkchanger');<br />   function my_login_linkchanger ($link) {<br />   global $post;<br />   $redirect_to = '';<br />   if (!empty($post-&gt;ID)) {<br />      $redirect_to = '?redirect_to=' . get_permalink($post-&gt;ID);<br />   }<br />      return home_url ('/my-login-page/' . $redirect_to);<br />}</pre>
<p>Save, delete all caches, and check again.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>Elvina</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22663</guid>
                    </item>
				                    <item>
                        <title>RE: Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22638</link>
                        <pubDate>Fri, 01 May 2020 16:15:02 +0000</pubDate>
                        <description><![CDATA[@tomson 
 
Well now, thanks! One last question, how can I be redirected to the article after login?]]></description>
                        <content:encoded><![CDATA[<p>@tomson </p>
<p> </p>
<p>Well now, thanks! One last question, how can I be redirected to the article after login?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>GuillermoRivR</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22638</guid>
                    </item>
				                    <item>
                        <title>RE: Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22632</link>
                        <pubDate>Fri, 01 May 2020 14:13:01 +0000</pubDate>
                        <description><![CDATA[@guillermorivr,
I updated the code, please change it. The wrong part was copied from your post. So that too.]]></description>
                        <content:encoded><![CDATA[<p>@guillermorivr,</p>
<p>I updated the code, please change it. The wrong part was copied from your post. So that too.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>Tom</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22632</guid>
                    </item>
				                    <item>
                        <title>RE: Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22625</link>
                        <pubDate>Fri, 01 May 2020 12:27:36 +0000</pubDate>
                        <description><![CDATA[I have inserted the code at the end of the functions.php file (I see this file appears in wp-includes and in my theme directory). I modify the file that is inside the directory of my theme....]]></description>
                        <content:encoded><![CDATA[<p>I have inserted the code at the end of the functions.php file (I see this file appears in wp-includes and in my theme directory). I modify the file that is inside the directory of my theme.</p>
<p>After doing this, now when I go to view the content of an article, an error appears.</p>
<p>Have I misplaced the code or what is happening?</p>
<p>Attached images.</p>
4400
<p> </p>
4402
<p> </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>GuillermoRivR</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22625</guid>
                    </item>
				                    <item>
                        <title>RE: Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22623</link>
                        <pubDate>Fri, 01 May 2020 12:09:13 +0000</pubDate>
                        <description><![CDATA[Hi @guillermorivr,
First you should have a login page. Do you have  a login page other than the default WordPress wp-login.php? If you don&#039;t have any other login page then you don&#039;t have an...]]></description>
                        <content:encoded><![CDATA[<p>Hi @guillermorivr,</p>
<p>First you should have a login page. Do you have  a login page other than the default WordPress wp-login.php? If you don't have any other login page then you don't have any URL to change.</p>
<p>In case if you have one, and the URL of that page is <span style="color: #0000ff">example.com/<span style="color: #ff0000">my-login-page/</span></span> , the inserted code should look like this:</p>
<pre>add_filter ('login_url', 'my_login_linkchanger');<br />function my_login_linkchanger ($link) {<br />      return home_url ('/my-login-page/');<br />}</pre>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>Tom</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22623</guid>
                    </item>
				                    <item>
                        <title>Help with Login URL</title>
                        <link>https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22619</link>
                        <pubDate>Fri, 01 May 2020 11:43:55 +0000</pubDate>
                        <description><![CDATA[Hello, I am using the WPDiscuz plugin.
I want to modify the URL of “Please LOGIN to comment”.
I have added this code in the functions.php file of my WordPress theme (Magnitude) but it does...]]></description>
                        <content:encoded><![CDATA[<p>Hello, I am using the WPDiscuz plugin.</p>
<p>I want to modify the URL of “Please LOGIN to comment”.</p>
<p>I have added this code in the functions.php file of my WordPress theme (Magnitude) but it doesn’t work, I am always redirected to wp-login.php.</p>
<p>add_filter (‘login_url’, ‘my_login_linkchanger’);<br />function my_login_linkchanger ($ link) {<br />/ * what to do with the link * /<br />   return home_url (‘/ login’);<br />}</p>
<p>I need your help because it is very important to change the URL for me.</p>
<p>Thanks and regards.</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpdiscuz-comment-plugin-support/">wpDiscuz</category>                        <dc:creator>GuillermoRivR</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpdiscuz-comment-plugin-support/help-with-login-url/#post-22619</guid>
                    </item>
							        </channel>
        </rss>
		