<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[HolyAustin's Blog]]></title><description><![CDATA[HolyAustin's Blog]]></description><link>https://holyaustin.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 19 Sep 2026 07:04:18 GMT</lastBuildDate><atom:link href="https://holyaustin.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Vite.js React Build Not Redirecting url On Netlify And Vercel]]></title><description><![CDATA[Problem
Vite.js projects deployed on netlify or vercel shows 404 error whenever a link is called directly like http://mydomain.com/books but works when an internal link I click to redirect to the url. 
Solution:
As a front-end or full stack developer...]]></description><link>https://holyaustin.hashnode.dev/vitejs-react-build-not-redirecting-url-on-netlify-and-vercel</link><guid isPermaLink="true">https://holyaustin.hashnode.dev/vitejs-react-build-not-redirecting-url-on-netlify-and-vercel</guid><category><![CDATA[vite.js, vercel, netlify 404 error url path not showing react.js]]></category><dc:creator><![CDATA[Augustine Onuora]]></dc:creator><pubDate>Mon, 12 Sep 2022 14:01:50 GMT</pubDate><content:encoded><![CDATA[<p>Problem
Vite.js projects deployed on netlify or vercel shows 404 error whenever a link is called directly like http://mydomain.com/books but works when an internal link I click to redirect to the url. </p>
<p>Solution:</p>
<p>As a front-end or full stack developer, you might have used vite.js which is a very fast framework to deploy and build your project. When the project is deployed online to either vercel or netlify, you observed that directly calling up a path from the browser emits 404 error but when you click from the menu back or another link from the project, the path opens.
This is not a problem with vite.js but due to a missing configuration file for vercel which is added by default to the existing templates. For a single page application, the html files for the routes created with react router don't exist, so the server creates rewrites to ensure every request points at '/' or index.html. In Vercel this can be done by adding a rewrite to config file in the root of the project called vercel.json</p>
<p>Procedure</p>
<ol>
<li>Create a file named vercel.json or netlify.json in the root of your project.</li>
<li>add the code snippet below if it is a single-page vite project. If it is multiple pages use the next code.</li>
</ol>
<p>{
  "rewrites": [{ "source": "/(.*)", "destination": "/" }]
}</p>
<ol>
<li>This example is for a five-page vite.js project. Edit to suit your url naming.</li>
</ol>
<p>{
    "rewrites": [
      { "source": "/", "destination": "/" },
      { "source": "/(.*)", "destination": "/"},
      { "source": "/create", "destination": "/create" },
      { "source": "/live", "destination": "livel" },
      { "source": "/dashboard", "destination": "/dashboard" },
      { "source": "/profile", "destination": "/profile" },
    ]
  }</p>
<p>Source: https://vercel.com/docs/configuration</p>
]]></content:encoded></item><item><title><![CDATA[My 2021 BlockChain Motivation]]></title><description><![CDATA[Each time i wake up in the morning, i know that there are inherent potentials and skills in me that God Almighty want me to use to affect my World. i know i have much to offer my immediate computing world. The world of blockchain Technology as a nich...]]></description><link>https://holyaustin.hashnode.dev/my-2021-blockchain-motivation</link><guid isPermaLink="true">https://holyaustin.hashnode.dev/my-2021-blockchain-motivation</guid><dc:creator><![CDATA[Augustine Onuora]]></dc:creator><pubDate>Thu, 11 Feb 2021 13:02:51 GMT</pubDate><content:encoded><![CDATA[<p>Each time i wake up in the morning, i know that there are inherent potentials and skills in me that God Almighty want me to use to affect my World. i know i have much to offer my immediate computing world. The world of blockchain Technology as a niche in this changing technological times will definitely <strong>get this hands</strong>. Blockchain Programming Here i am.</p>
]]></content:encoded></item></channel></rss>