Welcome! Log In Create A New Profile

Advanced

Restrict access to page from referrer?

Posted by tsl 
tsl
Restrict access to page from referrer?
January 28, 2011 04:32AM
Hi, I have an issue I have not yet resolved with nginx.
I have a wordpress mu install and I want to restrict access to the wp-login.php page.

On the main blog I have a login form on the frontpage. I only want to allow access to wp-login.php from the frontpage and not directly. Possible?

Reason is I want people to login from the frontpage and not directly on the wp-login.php page. Direct access to wp-login.php should give a 403 or something

So, the frontpage is http://somedomain.tld
Disable all direct access to http://*.somedomain.tld/wp-login.php except from http://somedomain.tld/*

Thanks in advance
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 264
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready