Skip to content

404 Error Fix: Missing - 301! command #2192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

RemyLeBerre
Copy link
Contributor

Summary
This summary is to fix an issue we noticed after merging PR: #2191

2-3 redirects were missing the !301 command which ensures docs.polkadot.com is prioritised over docs.substrate.io for redirects.

This PR should solve that issue.

Copy link

netlify bot commented Feb 14, 2025

Deploy Preview for substrate-docs ready!

Name Link
🔨 Latest commit cbaa721
🔍 Latest deploy log https://app.netlify.com/sites/substrate-docs/deploys/67af7eb99d3d0b0008719c8b
😎 Deploy Preview https://deploy-preview-2192--substrate-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@RemyLeBerre
Copy link
Contributor Author

cc @mordamax @nprt

See above ^ - I missed the !301 command on 2-3 links which caused docs.substrate.io to reappear, this adds the command back to reprioritise docs.polkadot.com when a user clicks the link.

@mordamax mordamax merged commit 8c24657 into polkadot-developers:main Feb 14, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants