Add host-level canonical redirects to Netlify domain#14
Add host-level canonical redirects to Netlify domain#14harbourviewcompany-create wants to merge 1 commit into
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for wurx-can ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for wurx-otta ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| https://vailrenovations.com/* https://vail-renovations.netlify.app/:splat 301! | ||
| https://www.vailrenovations.com/* https://vail-renovations.netlify.app/:splat 301! |
There was a problem hiding this comment.
🚩 Redirect direction sends traffic from custom domain to netlify.app subdomain
The added redirects send vailrenovations.com traffic to vail-renovations.netlify.app, which is the reverse of the typical Netlify pattern (where the netlify.app subdomain redirects to the custom domain). This is consistent with the rest of the site — all canonical URLs, sitemap.xml, and robots.txt already reference the netlify.app subdomain — so it appears intentional. However, if the plan is to eventually use vailrenovations.com as the primary domain, these redirects and all canonical URLs/sitemap entries would need to be reversed.
Was this helpful? React with 👍 or 👎 to provide feedback.
Motivation
https://vail-renovations.netlify.app.Description
_redirectsthat maphttps://vailrenovations.com/*andhttps://www.vailrenovations.com/*tohttps://vail-renovations.netlify.app/:splatusing301!to preserve path/query./start-a-project,/fix-list-builder,/maintenance-plans,/inspection-report-repairs, and/thank-yourules) below the host rules.<link rel="canonical">host values inhandyman-services.htmlandrenovations.htmlto usehttps://vail-renovations.netlify.app.sitemap.xmlunchanged because it already referenced the canonical Netlify host.Testing
rg -n "rel=\"canonical\"" *.htmlto verify canonical tags now point tohttps://vail-renovations.netlify.app, which succeeded._redirectswithcat _redirectsto confirm the new301!host rules were added, which succeeded.sitemap.xmlwithcat sitemap.xmland confirmed URLs already use the canonical host, which succeeded._redirects,handyman-services.html, andrenovations.html, which succeeded.Codex Task