By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Tech Daily TimeTech Daily Time
Notification
Latest News
Smart Business Communication: Trends Shaping the Future of Connectivity
Smart Business Communication: Trends Shaping the Future of Connectivity
Business
Modern Solutions for Thinning Hair: New Advances and Everyday Strategies
Modern Solutions for Thinning Hair: New Advances and Everyday Strategies
Health
How Belt Press Rentals Can Improve Wastewater Management Efficiency
How Belt Press Rentals Can Improve Wastewater Management Efficiency
Tech News
A Guide to Selecting Microwave Moisture Analyzers
A Guide to Selecting Microwave Moisture Analyzers
Gadgets Lifestyle
Revolutionizing the Creator Economy and E-commerce with AI Cloning
The Revolution of AI Cloning in the Creator Economy and E-commerce
Artificial Intelligence
Aa
  • Tech News
  • Gadgets
    • Computers
    • Mobiles
  • Internet
  • Softwares
  • Artificial Intelligence
  • Digital Marketing
  • Business
  • Reviews
  • Lifestyle
    • Fashion
    • Health
    • Education
    • Home improvement
    • Sports
    • Travel
Reading: HOW TO MAKE A GREAT SITEMAP FOR YOUR NEXT.JS WEBSITE TO PROMOTE SBXHRL!
Share
Aa
Tech Daily TimeTech Daily Time
Search
Have an existing account? Sign In
Follow US
© 2022 Tech Dailt Time. All Rights Reserved.
Tech Daily Time > Tech News > HOW TO MAKE A GREAT SITEMAP FOR YOUR NEXT.JS WEBSITE TO PROMOTE SBXHRL!
Tech News

HOW TO MAKE A GREAT SITEMAP FOR YOUR NEXT.JS WEBSITE TO PROMOTE SBXHRL!

Admin
Last updated: 2023/02/09 at 5:18 AM
Admin
Share
sbxhrl
SHARE

Step 1:

There are many things that can be done to improve your sbxhrl. One of the best is to create a sitemap.

Contents
Step 1:Step 2:Step 3:Step 4:

Using Nextjs-sitemap-generator, you can create a simple JavaScript file and run it to create an XML file. Later, you can add it to your Google Search Console to make it easier for Google to find you.

Since my own website is The-Ship-Of-Theseus.com, I will use it as an example.

You need to get the package first, so run it:

npm i nextjs-sitemap-generator

Step 2:

The JavaScript code that you need to add to a blank JavaScript file looks like this:

const sitemap = required (‘nextjs-sitemap-generator’)

const fs = required (‘fs’)

const path = required (‘path’)

Sitemap (

baseUrl: ‘https://www.the-ship-of-theseus.com’,

Directory pages: path.resolve (__ dirname, ‘../public/’),

destinationdir: path.resolve (__ dirname, ‘../public/’),

Ignored extensions: [‘js’, ‘map’, ‘json’, ‘xml’, ‘png’, ‘jpg’, ‘jpeg’, ‘svg’],

Ignored paths: [‘[alternate]’],

Allow file extension: true,

Ignored routes: [“404”, “Favicon”, “Ship”, “Scene”, “All”],

extraPaths: [“/”])

Change the base URL to your own URL.

What the code does is it ignores routes sbxhrl like “Favi Con” and other things that are in my own project.

You can change the ignored routes from the sitemap to anything you need to ignore, or you can remove it altogether.

Step 3:

And to run it you need to add sbxhrl:

“generate: sitemap”: “node ./scripts/generate-sitemap.js”

It needs to be included in your package.json file within “Scripts”.

So easy process:

npm run generate: sitemap

In your terminal. You should then have the SiteMap.XML file.

Step 4:

Now that you have it, all you have to do is add it to your Google Search Console.

Congratulations, you now have a sitemap in your sbxhrl Google Search Console.

I hope you enjoyed this quick tutorial.

For more information, please visit friday night funkin unblocked games 911.

You Might Also Like

How Belt Press Rentals Can Improve Wastewater Management Efficiency

Fix Mac Outlook Error Code 19723

Cisco CCIE vs CCDE

Technologies That Moviematric Changed the Art of Cinema

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Admin May 18, 2022
Share this Article
Facebook Twitter Copy Link Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Paper Bag Manufacturing Plant Paper Bag Manufacturing Project Report 2022-2027: Manufacturing Process, Plant Cost, Raw Materials, Business Plan, Plant Setup, Industry Trends, Machinery Requirements – Syndicated Analytics
Next Article How to Choose Your Employee Nametags
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow
banner banner
Create an Amazing Newspaper
Discover thousands of options, easy to customize layouts, one-click to import demo and much more.
Learn More

Latest News

Smart Business Communication: Trends Shaping the Future of Connectivity
Smart Business Communication: Trends Shaping the Future of Connectivity
Modern Solutions for Thinning Hair: New Advances and Everyday Strategies
Modern Solutions for Thinning Hair: New Advances and Everyday Strategies
How Belt Press Rentals Can Improve Wastewater Management Efficiency
How Belt Press Rentals Can Improve Wastewater Management Efficiency
A Guide to Selecting Microwave Moisture Analyzers
A Guide to Selecting Microwave Moisture Analyzers

We influence 20 million users and is the number one business and technology news network on the planet

Recent Posts

  • Smart Business Communication: Trends Shaping the Future of Connectivity
  • Modern Solutions for Thinning Hair: New Advances and Everyday Strategies
  • How Belt Press Rentals Can Improve Wastewater Management Efficiency
  • A Guide to Selecting Microwave Moisture Analyzers
  • The Revolution of AI Cloning in the Creator Economy and E-commerce

Navigation

  • Write for Us
  • Contact
  • Disclaimer
  • Privacy Policy
Tech Daily TimeTech Daily Time

© 2023 Tech Daily Time. All Rights Reserved.

  • Write for Us
  • Contact
  • Disclaimer
  • Privacy Policy

Removed from reading list

Undo
Welcome Back!

Sign in to your account

Lost your password?