I used to have tutorial for this bookmarked but I cant find it now. All the plugin and htaccess things I tried simply redirect to wp-login.php after entering the new url. Is there an easy way to do this adding something to functions.php?
hello there,
in fact there is a lot of ways to hide this folders… you can follow this : Hide Wp-Login and Wp-Admin In Wordpress
You have a choice between using a plugin to secure your worpdress website or a simple function to hide the wp-admin folder…
Goodluck
For those who do not know the coding is better to use better security plugin. Although the function is great solution. Thanks for the link.
helo bro !
Into Settings-> the General screen on a a single location installation on of WordPress there two field names wordpress url and Site url . Theis are also know such as the setting of site url, home and. Adjustments are significant since they control’s where WordPress think that your site is located. They check displaying the URL in the administration section of this page well as the front and they are used throughout WordPress code.
The home fit is the address that you wants people to enter in your browser to reach their WordPress blog.
The settingsSite url is the address his WordPress core files resides.
The Better Wordpress Security Plugin would do the trick except for it requires the rewrite rules be translated if running Nginx instead of Apache. They state this but do not give any direction on what to do.