所以我的问题是我需要该链接,因为 example.com/page/id/325 指向 example.com/home/page/index.php?id=325 以及所有在 https< 下工作的内容/strong> 规则。 用户看到第一个 url 很重要,这必须是一个隐藏的重定向。
我是 Nginx 的新手,所以我不明白错误在哪里。
这是我用来执行此操作的代码(不起作用)。
<header>
<input type='text' placeholder='type here, page scrolls' />
</header>
<main>
<article>
<p><a href='#anchor-point'>click me to skip down to the lower section</a></p>
</article>
<article>
<p>some useless text just to fill up vertical space and allow for scrolling</p>
</article>
<article>
<p>some useless text just to fill up vertical space and allow for scrolling</p>
</article>
<div id='anchor-point'>
I also want to link to here. This section should not get cut off by the sticky header. The entire thing should be visible.
</div>
<article>
<p>some useless text just to fill up vertical space and allow for scrolling</p>
</article>
<article>
<p>some useless text just to fill up vertical space and allow for scrolling</p>
</article>
<article>
<p>some useless text just to fill up vertical space and allow for scrolling</p>
</article>
</main>
附注。抱歉英语不好。