Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

178
Views
When the page is reload, first "/" is redirected and then the reloaded page is uploading

When the /about or /any page is reloaded, it is first directed to the index("/) page, and then the reloaded page is loaded. How can I ensure that only the reloaded page opens without a redirect?

example nextjs page structure

XML

<?xml version="1.0"?>
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="NextJs Routes" stopProcessing="true">
                    <match url=".*" />
                    <conditions logicalGrouping="MatchAll">
                        <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                    </conditions>
                    <action type="Rewrite" url="/" />
                </rule>
            </rules>
        </rewrite>
    </system.webServer>
</configuration>

this url

<action type="Rewrite" url="/" />

when I change it with a new url

<action type="Rewrite" url="/someurl" />

This time, when reloading the "/somepage" page, it first redirects to the "/someurl" page and then loads "/somepage".

Is the problem here in the config settings that's in the picture or is it due to the existing code structure in our project?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!