TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Links changed, SEO help

3 点作者 samayshamdasani超过 8 年前
Hey all,<p>I have a small site where I teach people to code by building projects (https:&#x2F;&#x2F;enlight.ml)<p>Recently, the links for each page changed as I redesigned the site form the ground up. However, Google still isn&#x27;t re-indexing the pages with the new links. In fact, google indexed the pages with new content - but ignores the new link for the old content. It still has the old links appearing in search results.<p>How can this be fixed? I tried submitting a sitemap and submitting the new links several times in the Search Console.<p>Is there a way to do redirects on sites hosted GitHub Pages?<p>Lastly, I need some SEO help. Aside from providing good content, how do page rankings work? My goal is for anyone to be able to find a project that they would be interested in easily if I was on the frontpage of that search.<p>Appreciate all your help :)

1 comment

jordhy超过 8 年前
Update your .htaccess file to redirect to the new links.<p>1. Refer to this guide: <a href="https:&#x2F;&#x2F;mediatemple.net&#x2F;community&#x2F;products&#x2F;grid&#x2F;204643080&#x2F;how-do-i-redirect-my-site-using-a-htaccess-file" rel="nofollow">https:&#x2F;&#x2F;mediatemple.net&#x2F;community&#x2F;products&#x2F;grid&#x2F;204643080&#x2F;ho...</a><p>2. Alternatively, you can use this generator: <a href="http:&#x2F;&#x2F;www.htaccessredirect.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.htaccessredirect.net&#x2F;</a>