<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rajat Tiwari</title>
    <description>The latest articles on DEV Community by Rajat Tiwari (@rajat_tiwari).</description>
    <link>https://dev.to/rajat_tiwari</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4231479%2Fb00a3260-603d-4963-8ff7-432f3e5ef858.png</url>
      <title>DEV Community: Rajat Tiwari</title>
      <link>https://dev.to/rajat_tiwari</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rajat_tiwari"/>
    <language>en</language>
    <item>
      <title>How I build and Optimized a Custom E-commerce Site for a Wellness Brand</title>
      <dc:creator>Rajat Tiwari</dc:creator>
      <pubDate>Sat, 07 Nov 2026 04:58:55 +0000</pubDate>
      <link>https://dev.to/rajat_tiwari/how-i-build-and-optimized-a-custom-e-commerce-site-for-a-wellness-brand-51li</link>
      <guid>https://dev.to/rajat_tiwari/how-i-build-and-optimized-a-custom-e-commerce-site-for-a-wellness-brand-51li</guid>
      <description>&lt;p&gt;When I started my digital marketing project, I decided to build a custom e-commerce website from scratch for a hypothetical Ayurvedic brand called &lt;em&gt;Shuddhi&lt;/em&gt;. &lt;/p&gt;

&lt;p&gt;Instead of using a heavy CMS like WordPress or Shopify, I built the site using pure HTML, CSS, and vanilla JavaScript. This gave me complete control over the code and allowed me to implement advanced technical SEO from the ground up.&lt;/p&gt;

&lt;p&gt;Here is a breakdown of the tech stack, the technical challenges I faced, and how I optimized the site for search engines.&lt;/p&gt;

&lt;h3&gt;
  
  
  🛠️ The Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;em&gt;Frontend:&lt;/em&gt; Semantic HTML5, CSS3 (custom branding), Vanilla JS.&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Hosting/Deployment:&lt;/em&gt; Vercel (connected via GitHub for continuous deployment).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;AI Coding Assistant:&lt;/em&gt; Cursor (which massively sped up the HTML generation).&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Design:&lt;/em&gt; Canva (for generating product mockups and brand assets).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🚧 Technical Challenges &amp;amp; Fixes
&lt;/h3&gt;

&lt;p&gt;&lt;em&gt;1. The Vercel Edge Cache Issue&lt;/em&gt;&lt;br&gt;
Early on, I made changes to my canonical tags in the code, but the live site wasn't updating. I discovered that Vercel was serving a cached version from the Edge network. I had to learn how to bypass the build cache and force a fresh deployment to ensure Google was reading the most up-to-date HTML.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;2. Fixing Canonical Tags&lt;/em&gt;&lt;br&gt;
As a new domain, avoiding duplicate content was critical. I wrote a script to ensure every single page (index.html, shop.html, journal.html) has a self-referencing canonical tag pointing to the &lt;strong&gt;&lt;code&gt;https://www.shuddhi.space/&lt;/code&gt;&lt;/strong&gt; domain.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;3. Implementing Structured Data&lt;/em&gt;&lt;br&gt;
To get Rich Snippets in Google search results, I injected JSON-LD schemas directly into the  of the HTML files:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;LocalBusiness schema to link the site to the Google Business Profile.&lt;/li&gt;
&lt;li&gt;Product schema to display prices and stock status.&lt;/li&gt;
&lt;li&gt;FAQPage schema to target "People Also Ask" search results.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📈 The SEO Strategy
&lt;/h3&gt;

&lt;p&gt;To prove the site worked, I wrote a highly researched, science-backed article about the benefits of copper water bottles. &lt;/p&gt;

&lt;p&gt;I wanted to ensure this content ranked well and was safe for AI search engines (like ChatGPT and Perplexity). So, I created a custom llms.txt file and updated the robots.txt to explicitly allow AI crawlers to read the content.&lt;/p&gt;

&lt;h3&gt;
  
  
  🚀 The Final Result
&lt;/h3&gt;

&lt;p&gt;If you want to see the final product (and the science article I wrote to test the SEO), you can check it out here:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;[Copper Water Bottle Benefits: What Science Really Says]&lt;/strong&gt;&lt;code&gt;(https://www.shuddhi.space/copper-bottle-benefits-science.html)&lt;/code&gt;****&lt;/p&gt;

&lt;p&gt;Building a site from scratch and optimizing it technically has been an incredible learning experience. If you are building a static e-commerce site, my biggest tip is to focus on your core web vitals and structured data early. &lt;/p&gt;

&lt;p&gt;Have you ever built an e-commerce site without a CMS? Let me know your experience in the comments!&lt;/p&gt;

</description>
      <category>seo</category>
      <category>showdev</category>
      <category>marketing</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
