Title: private page
Last modified: February 18, 2021

---

# private page

 *  [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/)
 * hi
 * a few month ago you made the plugin availbale for private page
    using this plugin
   [https://wordpress.org/plugins/specific-content-for-mobile/](https://wordpress.org/plugins/specific-content-for-mobile/)
 * i just loaded a new site using private page but your plugin wont fetch assets
   anymore on private pages
 * can you make private post available too and send me back zip?
    or let me know
   the php update to do
 * thks

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

 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068357)
 * [@fredericlegrand](https://wordpress.org/support/users/fredericlegrand/) I just
   re-checked the plugin and it does fetch fine the CSS/JS for private pages. Just
   a reminder that you have to use the “Direct” fetch method and not the “WP Remote
   Post” (from the following location: “Settings” -> “Manage in the Dashboard”).
 * The AJAX call needs to be made while the admin is logged-in via “Direct”, otherwise,
   the page would be accessed as a visitor and because it’s private, it won’t work
   via “WP Remote Post”.
 * Also, can you access the page via “Manage in the front-end?”? There it should
   work 100% as you always have to be logged in to view the CSS & JS manager list.
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068652)
 * thks i did switch to direct
 * Step 1: Fetch the assets is complet
    but Step 2: Build the list is stuck
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068686)
 * [@fredericlegrand](https://wordpress.org/support/users/fredericlegrand/) are 
   you saying the list is not stuck whenever you access published pages? As long
   as the private pages show up fine for you, everything should work fine. When 
   you check the browser’s console (try to have it open and reload the edit post/
   page so you can view the AJAX calls how they are made) and let me know if there
   are any errors there.
 * What about “Manage in the front-end”? Does it work fine? At least we know that
   the list of CSS/JS is fetched and printed on that page.
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068719)
 * on public pages have no issues fetching the list
 * Uncaught ReferenceError: xhr is not defined
    d /wp-content/plugins/wp-asset-clean-
   up-pro/assets/script.min.js?wpacuversion=1613641862:1 c /wp-content/plugins/wp-
   asset-clean-up-pro/assets/script.min.js?wpacuversion=1613641862:1
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068735)
 * [@fredericlegrand](https://wordpress.org/support/users/fredericlegrand/) I just
   tested it with the plugin you mentioned and because there’s a 301 redirect whenever
   the mobile URL is accessed (it redirects to the original page, most likely it
   will load fine on mobile view), it will not fetch the assets list. Now, can you
   check if this plugin will work smoothly when cached pages are accessed?
 * This is a more tricky thing as if it’s not done properly if someone on mobile
   accessed a cached page, they can load a page meant for the desktop view (the 
   original one in this case).
 * I need to understand how the plugin works, how it does the 301 redirects, and
   then offer some compatibility (as currently, there isn’t one) OR you can try 
   and unload CSS/JS on the original page (not the mobile version), and see if it
   also applies on the mobile page (e.g. if you test this on Google PageSpeed Insights
   or another tool).
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068819)
 * cache or no chache same thing
 * you can change viewport and it will load mobile
    i also tried to fetch from front
   end but same thing
 * the unload js/css from descktop page does not transport to mobile pages
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068840)
 * Do you think you will have time to look at it new week?
 *  Plugin Author [Gabe Livan](https://wordpress.org/support/users/gabelivan/)
 * (@gabelivan)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068864)
 * [@fredericlegrand](https://wordpress.org/support/users/fredericlegrand/) yes,
   I could allocate some time and once I understand how the plugin works, a compatibility
   fix would be released. In the worst case, I would contact the guys behind the
   plugin, in case I feel their code is overwhelming to understand. Remind me on
   the weekend about it, please!
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068887)
 * I will
 * I saw the dev site his cool and i think he s solid
    but here is the issue he 
   has a similar plugin than yours [https://josemortellaro.com/](https://josemortellaro.com/)
   [https://wordpress.org/plugins/freesoul-deactivate-plugins/](https://wordpress.org/plugins/freesoul-deactivate-plugins/)
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14068908)
 * look at the feature list of his plugin
    you may find a few points to add to yours
 *  [Jose Mortellaro](https://wordpress.org/support/users/giuse/)
 * (@giuse)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14069072)
 * Hello Frederic and Gabe
 * Freesoul Deactivate Plugins and Asset CleanUp don’t do the same thing, and sometimes
   I even suggest installing Asset CleanUp instead of Freesoul Deactivate Plugins.
   
   Asset CleanUp disables the assets of a plugin, Freesoul Deactivate Plugins disables
   the entire plugin. If you need the PHP code of a plugin of course better Asset
   CleanUp. For example. If you have the cart icon added by WooCommerce you can’t
   disable entirely WooCommerce.
 * If you need to disable the entire plugin, so including the PHP code and the database
   queries, of course, I suggest my plugin.
    You can also use them together.
 * And even if they did exactly the same thing, it would not be a problem for me
   to speak with Gabe 🙂 Indeed I am happy to speak with the author of a so amazing
   plugin.
 * About Specific Content For Mobile, it’s a plugin that works only on the server-
   side. You can create a mobile page similarly as you create a translated page 
   in the case of a plugin for translations. The difference is that SCFM will replace
   the desktop content with the content of the mobile page if the page is visited
   by a mobile device.
    So it’s very important the caching system distinguishes 
   between mobile and desktop. The choice of having mobile pages in the backend 
   is due to the fact you can use whatever page builder. But on the frontend, the
   mobile page must not exist. In another case, you would have problems with SEO.
   This is why the mobile pages are forced to be private If it wasn’t so, SEO plugins
   would create site maps including the mobile pages. The page is always reachable
   at the same URL, and the content replacement is done on the server. This plugin
   has nothing to do with responsiveness and so on. It doesn’t load any asset on
   the frontend and does nothing client side. I hope it can help to understand what’s
   going on.
 * [@fredericlegrand](https://wordpress.org/support/users/fredericlegrand/) [@gabelivan](https://wordpress.org/support/users/gabelivan/)
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14071980)
 * Hi Jose
 * Thank you for the education, I agree and understand all
 * Great job on that plugin, there is not a lot that will detect viewport to switch
   content [https://wordpress.org/plugins/specific-content-for-mobile/](https://wordpress.org/plugins/specific-content-for-mobile/)
   
   You should also build a pro version and monetize it
 * I am waiting for [@gabelivan](https://wordpress.org/support/users/gabelivan/)
   to make asset cleaner compatible so i can load specific content
 * Have a look to what that guy is doing
    [https://codecanyon.net/item/mobile-smart-pro-mobile-switcher-mobilespecific-content-menus-and-more/3671362](https://codecanyon.net/item/mobile-smart-pro-mobile-switcher-mobilespecific-content-menus-and-more/3671362)
 * Did not try it but features are maybe worth a try on your side as paid version
 * Mobile-specific menus
    disable widgets on mobile and tablet domain switching
 * Also have a look at what he is saying, Google SEO Compatible
 * be well
 * Fred
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14105372)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/)
    [@giuse](https://wordpress.org/support/users/giuse/)
 * Hi guys,
 * I think i found the solution to make asset cleaner 100% compatible with specific-
   content-for-mobile plugin (private page) without toomuch mod on [@gabelivan](https://wordpress.org/support/users/gabelivan/)
   side.
 * The only thing missing on asset cleaner part is being able to target viewport
   for all assets like the function you allready have here [https://nimb.ws/e5M8Oq](https://nimb.ws/e5M8Oq).
 * Since only content from mobile private pages get loaded to descktop page and 
   not assets rules then if we could mod viewport on descktop page version it will
   be golden.
 * let me kow what you think
 *  Thread Starter [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * (@fredericlegrand)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14168047)
 * [@gabelivan](https://wordpress.org/support/users/gabelivan/) did you had time
   to look?

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

The topic ‘private page’ is closed to new replies.

 * ![](https://ps.w.org/wp-asset-clean-up/assets/icon-256x256.png?rev=1981952)
 * [Asset CleanUp: Page Speed Booster](https://wordpress.org/plugins/wp-asset-clean-up/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-asset-clean-up/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-asset-clean-up/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-asset-clean-up/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-asset-clean-up/reviews/)

## Tags

 * [Private page](https://wordpress.org/support/topic-tag/private-page/)

 * 14 replies
 * 3 participants
 * Last reply from: [Frederic Legrand](https://wordpress.org/support/users/fredericlegrand/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/private-page-7/#post-14168047)
 * Status: not resolved