ngrok / ngrok-docs

ngrok's official documentation
https://ngrok.com/docs
MIT License
46 stars 1.22k forks source link

SEO: Page has links to broken URLs #724

Open blyonng opened 1 month ago

blyonng commented 1 month ago

The following spreadsheet has a list of pages with content that links to URLs with a 4xx status code.

https://docs.google.com/spreadsheets/d/1muMvNuDORYbKffWiKQWrU4nxGj0-ebWVKGT_0ofmOcA/edit?usp=sharing

Suggested solution:

salilsub commented 1 month ago

@blyonng Some of these links point to dashboard pages which are valid, but require authentication. Removing them is not practical since we need to point customers to those links. Is there a way we could keep the links without impacting SEO?

blyonng commented 1 month ago

@blyonng Some of these links point to dashboard pages which are valid, but require authentication. Removing them is not practical since we need to point customers to those links. Is there a way we could keep the links without impacting SEO?

@salilsub good question. There are typically two options.

  1. Add a rel="nofollow" attribute to the HTML anchor tag for the impacted hyperlinks. This will instruct search engines to ignore the link.
  2. Add a logged out version of the authentication page that doesn't result in an error.

Given the effort involved, I suggest the first option. In the long run, the second option might be helpful from a UX perspective, but it doesn't feel it's necessary at this time.