NEW

WP Frontend Admin now integrates with Wildcloud, enabling platform creation without WP Multisite or WP Ultimo. Benefits include improved performance, admin workflow, security, and reliability. Check out our free course on how to create a multitenant platform.

We have build everything needed to run an online stores platform, so in this lesson we’ll restrict wp-admin access.

This means that only super administradors will have access to wp-admin.

Store administrators will have to use the frontend dashboard to manage their online stores.

For this to work correcly, all the URLs that will be used on the frontend dashboard need to be added to the access restriction settings of WP Frontend Admin.

Go to Network Admin > WP Frontend Admin > Settings > Access Restrictions.

Paste the following relative URLs on the Access restriction: What wp-admin pages can be viewed on the frontend field:

edit.php?post_type=page
post-new.php?post_type=page
users.php
user-new.php
wp-admin/profile.php
options-general.php
admin.php?page=wc-reports
edit.php?post_type=product
post-new.php?post_type=product
edit-tags.php?taxonomy=product_cat&post_type=product
edit-tags.php?taxonomy=product_tag&post_type=product
edit.php?post_type=product&page=product_attributes
edit.php?post_type=shop_coupon
post-new.php?post_type=shop_coupon
edit.php?post_type=shop_order
post-new.php?post_type=shop_order
admin.php?page=wc-admin&path=%2Fcustomers
admin.php?page=wc-settings
themes.php
nav-menus.php
customize.php
admin.php?page=wu-my-account

Finally, click on Save changes.

Important. In case there are some frontend dashboard pages that get the ?vgfa_blacklisted_url=1 fragment on their URLs and do not load correctly, you need to manually add the URL of the wp-admin content you want to show on the frontend to the Access restriction: What wp-admin pages can be viewed on the frontend field.

This is also useful if you’re displaying any other wp-admin page on the frontend that was not included on our frontend dashboard.

In the next lesson, we’ll do a course recap.

Download the whole platform

If you have a premium license of WP Frontend Admin, you can download the full backup of our platform and import it on your site, so everything shown in this course will be already configured for you. It will save you a lot of time.

Note – You need WP Ultimo 2.x.

Close