Title: Static site error
Last modified: March 15, 2022

---

# Static site error

 *  [mhmadfarooq](https://wordpress.org/support/users/mhmadfarooq/)
 * (@mhmadfarooq)
 * [4 years ago](https://wordpress.org/support/topic/static-site-error/)
 * Thanks for this plugin
 * I already installed it and it’s working great…
    But when I convert my site into
   static html using Simply Static plugin, the favorite list isn’t working showing
   an error. The add to favorite button works fine and add the post id to local 
   storage, but favorite list isn’t showing.
 * Can u solve this problem?
    -  This topic was modified 4 years ago by [mhmadfarooq](https://wordpress.org/support/users/mhmadfarooq/).

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

 *  Plugin Author [Takashi Matsuyama](https://wordpress.org/support/users/takashimatsuyama/)
 * (@takashimatsuyama)
 * [4 years ago](https://wordpress.org/support/topic/static-site-error/#post-15463269)
 * Hello, [@mhmadfarooq](https://wordpress.org/support/users/mhmadfarooq/)
    Thank
   you for your question.
 * Unfortunately, however, it may be difficult to solve this problem completely.
   
   Because basically this plugin’s favorites list requires PHP (“WP_Query”) and 
   does not work with static HTML.
 * I just tested it using “Simply Static”.
 * If there is a possibility, that the logged in users cannot be handled, but that
   the folder and index.html of the favorites list can be placed on the same level
   as “/wp-admin/” in the domain where WordPress (“/wp-admin/admin-ajax.php”) resides(/
   favorites/index.html).
    In addition, the HTML code for “/favorites/index.html”
   needs to be adjusted.
 * `var CCC_MY_FAVORITE_LIST = {"api": "https://your_wordpress_domain/admin-ajax.
   php",`
 * In my case, after exporting with “Simply Static”, the “://” was missing, as in
 * `var CCC_MY_FAVORITE_LIST = {"api": "httpsyour_wordpress_domain",`
 * , so I had to fix it.
 * Static HTML needed to run on the same domain and root as WordPress (`https://
   your_wordpress_domain`).
 * In my brief testing, these methods seem to work, albeit in a limited way.
 * Thanks
 *  Thread Starter [mhmadfarooq](https://wordpress.org/support/users/mhmadfarooq/)
 * (@mhmadfarooq)
 * [4 years ago](https://wordpress.org/support/topic/static-site-error/#post-15463520)
 * Good… thank you.
    I will give it a try.
 * Thank for ur time.

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

The topic ‘Static site error’ is closed to new replies.

 * ![](https://ps.w.org/my-favorites/assets/icon.svg?rev=2459439)
 * [My Favorites](https://wordpress.org/plugins/my-favorites/)
 * [Support Threads](https://wordpress.org/support/plugin/my-favorites/)
 * [Active Topics](https://wordpress.org/support/plugin/my-favorites/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-favorites/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-favorites/reviews/)

## Tags

 * [static html](https://wordpress.org/support/topic-tag/static-html/)

 * 2 replies
 * 2 participants
 * Last reply from: [mhmadfarooq](https://wordpress.org/support/users/mhmadfarooq/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/static-site-error/#post-15463520)
 * Status: not resolved