Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { cookies } from "next/headers";
const GA_ID = process.env.NEXT_PUBLIC_GA_ID;

export const metadata = {
metadataBase: new URL("https://dsavisualizer.in"),
metadataBase: new URL("https://www.dsavisualizer.in"),
title: 'DSA Visualizer | Visualize & Learn DSA the Smart Way',
description: 'Master Data Structures and Algorithms with interactive visualizations. Perfect for students, beginners, and interview prep. Visualize Stack, Queue, Tree, Graph, Sorting & more.',
keywords: [
Expand All @@ -36,7 +36,7 @@ export const metadata = {
openGraph: {
title: 'DSA Visualizer | Visualize & Learn DSA the Smart Way',
description: 'Interactive platform to visualize and learn DSA concepts easily. Great for students and interview preparation.',
url: 'https://dsavisualizer.in/',
url: '/',
siteName: 'DSA Visualizer',
images: [
{
Expand Down
2 changes: 1 addition & 1 deletion next-sitemap.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function getAllPages(dir = 'app', prefix = '') {

/** @type {import('next-sitemap').IConfig} */
const config = {
siteUrl: 'https://dsavisualizer.in',
siteUrl: 'https://www.dsavisualizer.in',
generateRobotsTxt: true,
sitemapSize: 5000,
transform: async (config, path) => ({
Expand Down
4 changes: 2 additions & 2 deletions public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ User-agent: *
Allow: /

# Host
Host: https://dsavisualizer.in
Host: https://www.dsavisualizer.in

# Sitemaps
Sitemap: https://dsavisualizer.in/sitemap.xml
Sitemap: https://www.dsavisualizer.in/sitemap.xml
Loading