Support for Envato Buyers Forums Mostore Issues with installation

Viewing 3 reply threads
  • Author
    Posts
    • #54583
      camazorro
      Participant

      I just installed the PWA on my site, but getting a 404 error loading config and js files. Here’s my htaccess

      <IfModule mod_rewrite.c>
      RewriteEngine On
      RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
      RewriteBase /
      RewriteRule ^index\.php$ – [L]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !^/(mobile|mobile/.*)$
      RewriteRule . /index.php [L]
      </IfModule>

    • #54603

      Hi

      How about delete RewriteCond %{REQUEST_URI} !^/(mobile|mobile/.*)$ ?

      You can post your site link and temporary login details via the private reply?

      Thanks

    • #54611
      camazorro
      Participant
      This reply has been marked as private.
    • #54781

      Hi

      I can’t find the reason that why the js file (config.js) can’t be accessed on your server, it seems JS file is denied within WordPress directory, maybe it’s a server configuration issue. So there are two solutions now without changing the server configuration.

      1. Remove “script src=”./config/config.95bd043663c81808df96e369b5eecf8d.js”/script” from mobile/index.html file, and add window.website_url = “https://wiperbladeoutlet.com/&#8221; to index.html. I already did, so now you can see the products are displayed as normal in the web app.

      2. You can move “mobile” folder out of the WordPress directory, and set it as a separate site with a subdomain name such as mobile.domain.com,
      then go to Mofect Mobile > Mobile Configuration page, turn on the “Custom URL” option, and change “Mobile APP URL” to https://mobile.domain.com

Viewing 3 reply threads
  • You must be logged in to reply to this topic.