ritarodev
Forum Replies Created
-
Sorry. it turns out works well in one of the server. means the problem lays on the server, not the plugin. I’ll try to fix it myself. thankyou
I have tried in two different wordpress instalation in different server and it still shows blank setting page. I think there’s a problem with the plugin
on local I’m using localwp, windows, nginx webserver, php 7.4
on live site wordpress cpanel instalation, apache webserver, php 7.4
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyI 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.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyI 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.
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyor maybe you can share a way to hardcode it?
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] reactpress error directroyI 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.phpwhich it’s supposed to be
C:Users/rizat/Local Sites/toomansv4/app/publicwp-content/plugins/reactpress/templates/react-page-template.phpdo you have any possible solution for it?
Forum: Plugins
In reply to: [ReactPress - Create React App for Wordpress] Remove default wordpress themeYou can simply use blank templates for your react page. edit your page and set it to blank template