• Resolved 3Lancer

    (@3lancer)


    During ‘Better WP Security’ versions, I had the ‘wp-admin’ URL protected and renamed to something else.

    With the ‘iTheme Security’ update, this URL stopped working, then I realised it’s simply got back to using ‘wp-admin’ as the URL.

    I see an option to rename ‘wp-content’ folder and database ‘wp-‘ rename is still there working, however has the ‘wp-admin’ rename been removed or something? I can’t find it anymore…

    https://ww.wp.xz.cn/plugins/better-wp-security/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter 3Lancer

    (@3lancer)

    I’ve found it, under ‘Hide Backend’… just needed to tick ‘Enable the hide backend feature’ again and type in the new URL.

    However, this has lead to a problem, which didn’t occur in the older version.

    Seem the new URL works fine, but if you go to the old ‘wp-admin’ URL, it will show the WordPress custom 404 (not found) page, but also contains error dumps.

    Error dump as follows:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wc_products_rss_feed' was given in .../wp-includes/plugin.php on line 429
    
    Warning: Invalid argument supplied for foreach() in .../wp-content/plugins/easy-fancybox/easy-fancybox-class.php on line 25
    
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'wc_body_class' was given in .../wp-includes/plugin.php on line 199
    
    Warning: join() [function.join]: Invalid arguments passed in .../wp-includes/post-template.php on line 394
    
    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'woocommerce_demo_store' was given in .../wp-includes/plugin.php on line 429

    How can I fix this or at least prevent it from displaying to the visitor?

    Same errors here.

    Here as well, can’t wait for the next update, really looking forward to it!

    Thread Starter 3Lancer

    (@3lancer)

    Just confirming this has been nicely fixed in the updates.

    Cheers on the great work, marked resolved.

    I have having almost same kind of issue. I have enabled the hidebackend feature and having the admin url like.

    http://www.abc.com/myadmin

    But now I need to install another wordpress in the directory say

    http://www.abc.com/videos/

    But its giving me the error at the time of creating the wp-config file. I then disabled the plugin and installed it and reactivated the plugin. But when i tried to login the http://www.abc.com/video/admin it gives me error.

    I know its because of the security settings of the plugin. So can anyone help me on this. Because i really want to use that plugin for security.

    Thanks

    @abdul.mannan,
    First let us know where your wp files physically reside? after looking at your issue, in our understanding wp installed in its own directory “Video” instead of the root directory. If that is the case better give a read at Giving_WordPress_Its_Own_Directory
    In simple, follow the steps as
    Step 1. copy index.php file from your custom directory or folder “video” to the root directory. in that change the last line of code
    from
    require( dirname( __FILE__ ) . '/wp-blog-header.php' );
    to
    require( dirname( __FILE__ ) . '/video/wp-blog-header.php' );

    Step 2. create a .htaccess file in root directory. Now copy last lines of codes form .htaccess file in the folder “video” to this new .htaccess file in the root directory. The code similar to the following

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /your-root-directory/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /your-root-directory/index.php [L]
    </IfModule>
    # END WordPress

    Note: Don’t delete the above code from the .htaccess file in your custom directory or folder “video”. It should be the same in both the .htaccess files in root directory and custom directory.
    Hope this will resolve your issues.

    @b.V thanks for the reply.

    I am actually having 2 wordpress installed. One on root and other on /videos.

    As I mentioned earlier, it was the issue of the security settings. So I just logged in from the root admin panel and update few things and then tried to login at http://www.abc.com/video/admin and it worked fine.

    Thanks for your support:-)

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Admin URL change?’ is closed to new replies.