Deploy the Site WITHOUT SEO (Local Build)
This guide will walk you through deploying the News Web application without SEO optimization, using a local build approach.
Video Tutorial
Watch our video tutorial for a step-by-step guide on local build and deployment:
Deployment Steps
-
After making all the necessary changes, you are ready to deploy your Web application on a Live Server.
-
Open VS Code terminal by pressing:
- CTRL+J on Windows/Linux
- CMD+J on MacOS
Then execute the command:
npm run export
This will take a few seconds to build the optimized version of the web application.
-
After the process completes, go to the
out
folder and upload these files to your live server.ImportantOnly upload the
out
folder's files to your server. Do not upload any other files to the server. -
If you encounter any deployment-related issues, please refer to the official documentation: NextJs Deployment
After Deployment
After deploying using the local build method, don't forget to upload the .htaccess
file to your server as explained in the Upload .htaccess file section.