Tutorial: Changing the account sign-in URL

Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

By default, the Sign In link on the Post a Job page takes users to the default WordPress sign-in URL, allowing them to sign in to your site before posting a job.

Screen Shot 2015-01-07 at 1.14.41 pm

However, you may want to change this to be a custom URL, like your site’s My Account page, for example.

To do so, add the following code to the ‘custom functions’ area of your functions.php file (or use a plugin like Code Snippets):

Notice on line 3 where the URL is http://mysite.com/my-account/ – you can change this to whatever you’d like or use some custom PHP.

There is also a filter for the ‘log-out’ URL – submit_job_form_logout_url.