title: Laravel API not found inside wordpress
body: <p>I am new to web development and even though i have looked around I am still stuck with this part which is to manage to make my api run on a server. Locally it runs perfectly but once I add my api inside my server it just says not found whenever i attempt to access it.</p>
  
  <p>This is the folder structure</p>
  
  <pre><code>-www
  --wp-admin
  --wp-content
  --wp-includes
  --ProjectApi
  ---app
  ---bootstrap
  ---config
  ---database
  ---public
  ----index.php
  ----.htaccess
  ---resources
  ---routes
  ---storage
  ---tests
  ---vendor
  </code></pre>
  
  <p>Locally i would just say <a href="http://localhost/ProjectApi/public/api/v1/hello" rel="nofollow noreferrer">http://localhost/ProjectApi/public/api/v1/hello</a> and this would call my api and do its function. But once it was added to the server when i do <a href="http://randomServerName.com/ProjectApi/public/api/v1/hello" rel="nofollow noreferrer">http://randomServerName.com/ProjectApi/public/api/v1/hello</a> It just gives me a 404 not found error.</p>