Revealed content
.htaccess dosyanıza şu kodları yapıştırın;
Kod:
RewriteEngine On
RewriteRule ^yeniYol/?$ /wp-login.php?white [R,L]
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
RewriteRule ^yeniYol/?$ /wp-login.php?white&redirect_to=/wp-admin/ [R,L]
RewriteRule ^yeniYol/?$ /wp-admin/?white [R,L]
RewriteCond %{SCRIPT_FILENAME} !^(.*)admin-ajax\.php
RewriteCond %{HTTP_REFERER} !^(.*)http://localhost/wordpress/wp-admin
RewriteCond %{HTTP_REFERER} !^(.*)http://localhost/wordpress/wp-login\.php
RewriteCond %{HTTP_REFERER} !^(.*)http://localhost/wordpress/yeniYol
RewriteCond %{QUERY_STRING} !^white
RewriteCond %{QUERY_STRING} !^action=logout
RewriteCond %{QUERY_STRING} !^action=rp
RewriteCond %{QUERY_STRING} !^action=postpass
RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in_.*$
RewriteRule ^.*wp-admin/?|^.*wp-login\.php /wordpress/izinYok [R,L]
RewriteCond %{QUERY_STRING} ^loggedout=true
RewriteRule ^.*$ /wp-login.php?white [R,L]