W3
Teacher
Explore
Browse by field
Artificial Intelligence
Accounting & Finance
Information Technology
Show all fields
Interview Q&A
All Interview Questions
Beginner
Intermediate
Advanced
Practice
MCQs
Quizzes
Mock Interviews
About
Light
Dark
Auto
Sign in
Get Started
Search interview questions
Search
9 questions for “Redirects & Rewrites Configuration”
Found in 1 field. Select a question to see its full answer.
Matching topics
Next.js
Redirects
&
Rewrites
Configuration
5
Information Technology
9 questions in 1 technology
#
Question
Technology
Topic
Level
1
What are best practices for managing a large number of
redirects
on a website that has gone through multiple redesigns over the years?
Next.js › Redirects & Rewrites Configuration
Next.js
Redirects
&
Rewrites
Configuration
Advanced
2
How do you set up a permanent redirect from an old URL to a new one in Next.js?
Next.js › Redirects & Rewrites Configuration
Next.js
Redirects
&
Rewrites
Configuration
Beginner
3
What is a rewrite in Next.js, and how is it different from a redirect?
Next.js › Redirects & Rewrites Configuration
Next.js
Redirects
&
Rewrites
Configuration
Beginner
4
How do you use dynamic parameters within a redirect or rewrite rule to handle a whole pattern of URLs at once?
Next.js › Redirects & Rewrites Configuration
Next.js
Redirects
&
Rewrites
Configuration
Intermediate
5
How would you conditionally redirect users based on something dynamic, like whether they are logged in, rather than a fixed rule in next.config.js?
Next.js › Redirects & Rewrites Configuration
Next.js
Redirects
&
Rewrites
Configuration
Intermediate
6
How can middleware help automatically detect a visitor's preferred language and redirect them accordingly?
Next.js › Internationalization (i18n) in Next.js
Next.js
Internationalization (i18n) in Next.js
Intermediate
7
How would you use middleware to redirect users based on their location or device type?
Next.js › Middleware
Next.js
Middleware
Intermediate
8
How do you rewrite a request to a different path using middleware without changing the URL the user sees?
Next.js › Middleware
Next.js
Middleware
Intermediate
9
How would you generate a sitemap and robots file to help search engines properly crawl a large Next.js website?
Next.js › Metadata API & SEO Optimization
Next.js
Metadata API & SEO Optimization
Advanced