Title: reactpress error directroy
Last modified: September 15, 2022

---

# reactpress error directroy

 *  Resolved [ritarodev](https://wordpress.org/support/users/ritarodev/)
 * (@ritarodev)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/)
 * I have a problem when trying this plugin. it’s the same problem with this thread
   
   [https://wordpress.org/support/topic/reactpress-breaks-website/](https://wordpress.org/support/topic/reactpress-breaks-website/)
 * Warning: include(C:UsersrizatLocal Sitesreactwpapppublicwp-contentpluginsreactpress/
   templates/react-page-template.php): failed to open stream: No such file or directory
   in C:\Users\rizat\Local Sites\reactwp\app\public\wp-includes\template-loader.
   php on line 106
 * I’m using LocalWp. it’s a fresh wordpress instalation. could you please help 
   me with it? thankyou

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

 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16014482)
 * Hey [@ritarodev](https://wordpress.org/support/users/ritarodev/),
 * unfortunately, it is very hard for me to debug Windows installations. I can only
   run Windows in a VM. Anyway, let’s give it a try.
 * Could you please post your configuration?
 * OS: I guess Windows
    Plugin version: ? Do you have other plugins activated?
 * Also, could you install WP Debugging, and look into wp-debug log?
    -  This reply was modified 3 years, 8 months ago by [rockiger](https://wordpress.org/support/users/rockiger/).
 *  Thread Starter [ritarodev](https://wordpress.org/support/users/ritarodev/)
 * (@ritarodev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16032653)
 * I think I’ve found the problem. localwp instalation folder is named “Local Sites”.
   I think because of it has “space” character in the name, makes the template loader
   getting error.
 * in my local instalation, the page loader stream for
    **C:UsersrizatLocal Sitestoomansv4apppublicwp-
   contentpluginsreactpress/templates/react-page-template.php**
 * which it’s supposed to be
    **C:Users/rizat/Local Sites/toomansv4/app/publicwp-
   content/plugins/reactpress/templates/react-page-template.php**
 * do you have any possible solution for it?
 *  Thread Starter [ritarodev](https://wordpress.org/support/users/ritarodev/)
 * (@ritarodev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16032955)
 * or maybe you can share a way to hardcode it?
 *  Thread Starter [ritarodev](https://wordpress.org/support/users/ritarodev/)
 * (@ritarodev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16035480)
 * I can finally solved my problem. simply by using another template provided by
   wordpress. Curently I use plugin named “blank” which provide fully blank page
   so I can display the react app without any elements from wordpress.
 * but I’m curious what is the different of using your default template compared
   the already available template? because right now I noticed that there’s another
   problem occur, when I use Router, it works when I access the url route from the
   react pages. but when I copy the link and access it directly on search bar, it
   shows the wordpress 404 page. I wonder if your default page can solve this problem.
 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16036022)
 * Great!
 * I can’t tell you why the included template makes problems. I never had this issue
   in my tests. If you care, you could write a bug report at: [https://github.com/rockiger/reactpress/issues](https://github.com/rockiger/reactpress/issues)
 * To get the router working, refer to [https://rockiger.com/en/reactpress/client-side-routing/](https://rockiger.com/en/reactpress/client-side-routing/).
   You probably have to set the `baseUrl`.
 *  Thread Starter [ritarodev](https://wordpress.org/support/users/ritarodev/)
 * (@ritarodev)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16036465)
 * I already put the basename and my routing already works. but the problem is it’s
   only works when I access it through the react app. when I access the routing 
   url directly via browser it shown the 404 error page from wordpress.
 * even the react pages only work if I access the url > mysite.com/[app-slug] from
   wordpress menu navigation. but when I refresh the page it also shown the 404 
   error page from wordpress. I think it’s a huge problem since we often refresh
   page.
 * yup, I will write the bug report on your github.
 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16036735)
 * Thx

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

The topic ‘reactpress error directroy’ is closed to new replies.

 * ![](https://ps.w.org/reactpress/assets/icon-256x256.png?rev=2471443)
 * [ReactPress - Create React App for Wordpress](https://wordpress.org/plugins/reactpress/)
 * [Support Threads](https://wordpress.org/support/plugin/reactpress/)
 * [Active Topics](https://wordpress.org/support/plugin/reactpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reactpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reactpress/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [rockiger](https://wordpress.org/support/users/rockiger/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/reactpress-error-directroy/#post-16036735)
 * Status: resolved