Unexpected `One or more pages contain dead links` for `localhost` links
See original GitHub issueDescribe the bug
<!-- docs/guide/getting-started.md -->
This will start a local server and open the <http://localhost:3000> page in the browser.
(!) Found dead link http://localhost:3000 in file docs/guide/getting-started.md
Reproduction
N/A
Expected behavior
No error
System Info
System:
OS: macOS 13.0
CPU: (10) arm64 Apple M1 Max
Memory: 24.57 GB / 64.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.1 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/node
Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/yarn
npm: 8.12.1 - ~/Library/Caches/fnm_multishells/60250_1655730203758/bin/npm
Browsers:
Chrome: 102.0.5005.115
Firefox: 101.0.1
Safari: 16.0
npmPackages:
vitepress: ^1.0.0-alpha.2 => 1.0.0-alpha.2
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
Issue Analytics
- State:
- Created a year ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
How To Find Broken Links (404 Not Found) Within Your ...
Find and fix broken links by following tools before it affects your website SEO ranking. Broken links hurt SEO, and one should consider...
Read more >How to Find and Fix Broken Links in WordPress (Step by Step)
A broken link, also known as a dead link, is a link that no longer works. Broken links can happen for many reasons,...
Read more >Broken links after migrating files to a live server from localhost
The home page appears but all links to other pages are broken saying "The requested URL /node/2 was not found on this server....
Read more >Easily Find Broken Links With Broken Link Checker
Stream-parses local and remote HTML pages; Concurrently checks multiple links; Supports various HTML elements/attributes, not just <a href> ...
Read more >What are Broken Links? And How Do You Find and Fix Them?
A broken link is a web-page that can't be found or accessed by a user, for various reasons. Web servers will often return...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s getting autolinked IG. Pass it as a prop instead, or disable autolinking:
Additionally, the
1:1
workaround would be<a href="http://localhost:3000" target="_blank" rel="noreferrer noopener">http://localhost:3000</a>
.