fix(blog): rename building to blogs with redirect#1604
Merged
waleedlatif1 merged 1 commit intostagingfrom Oct 11, 2025
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
Greptile Overview
Summary
This PR successfully renames the /building route to /blog with comprehensive backward compatibility. The changes include:
- Permanent 301 redirect from
/building/:path*to/blog/:path*in Next.js config, ensuring existing links and bookmarks continue to work - Route restructure moving blog content from
app/(landing)/building/toapp/(landing)/blog/directory - Consistent updates across footer navigation, sitemap, and theme provider
- Blog post migration moving the OpenAI vs n8n vs Sim comparison article to the new path
- Server-side redirect at
/blogindex that routes to the main blog post
The implementation is clean and thorough. All references to the old path have been updated, and the permanent redirect ensures SEO preservation and unbroken user experience for existing links.
Confidence Score: 5/5
- This PR is safe to merge with no identified issues
- The changes are straightforward and complete: a simple route rename with proper redirect configuration. All references have been consistently updated across the codebase (footer, sitemap, theme provider), and the permanent 301 redirect ensures backward compatibility for SEO and existing links. The implementation follows Next.js best practices for redirects.
- No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| apps/sim/next.config.ts | 5/5 | Added permanent redirect from /building/:path* to /blog/:path* for legacy URL support |
| apps/sim/app/(landing)/blog/page.tsx | 5/5 | New blog index page that redirects to the OpenAI vs n8n vs Sim blog post |
| apps/sim/app/(landing)/blog/layout.tsx | 5/5 | New blog layout with navigation, main content area, and full-width footer |
| apps/sim/app/(landing)/components/footer/footer.tsx | 5/5 | Updated footer link from "Building" to "Blog" with corresponding href change |
| apps/sim/app/sitemap.ts | 5/5 | Updated blog post URL from /building/ to /blog/ and refreshed lastModified date |
| apps/sim/app/theme-provider.tsx | 5/5 | Updated theme provider to apply light theme to /blog path instead of /building |
Sequence Diagram
sequenceDiagram
participant User
participant Next.js
participant BuildingRoute as /building/*
participant BlogRoute as /blog/*
participant BlogPost as /blog/openai-vs-n8n-vs-sim
Note over User,BlogPost: Legacy URL Support Flow
User->>Next.js: Request /building/openai-vs-n8n-vs-sim
Next.js->>BuildingRoute: Match /building/:path*
BuildingRoute->>Next.js: Apply permanent redirect (301)
Next.js->>BlogRoute: Redirect to /blog/openai-vs-n8n-vs-sim
BlogRoute->>BlogPost: Route to blog post
BlogPost->>User: Return blog content
Note over User,BlogPost: Direct Blog URL Flow
User->>Next.js: Request /blog
Next.js->>BlogRoute: Route to /blog page
BlogRoute->>BlogPost: Server-side redirect
BlogPost->>User: Return blog content
Note over User,BlogPost: Theme & Footer Updates
User->>Next.js: Access /blog route
Next.js->>Next.js: Apply light theme (theme-provider)
Next.js->>User: Render with updated footer link
9 files reviewed, no comments
waleedlatif1
added a commit
that referenced
this pull request
Oct 12, 2025
waleedlatif1
added a commit
that referenced
this pull request
Oct 12, 2025
waleedlatif1
added a commit
that referenced
this pull request
Oct 12, 2025
* improvement(performance): remove unused source/target indices, add index on snapshot id (#1603) * fix(blog): rename building to blogs with redirect (#1604) * improvement(privacy-policy): updated privacy policy for google (#1602) * updated privacy policy for google * update terms, privacy, and emails to incl address and update verbiage * feat(guardrails): added guardrails block/tools and docs (#1605) * Adding guardrails block * ack PR comments * cleanup checkbox in dark mode * cleanup * fix supabase tools * fix(inference-billing): fix inference billing when stream is true via API, add drag-and-drop functionality to deployed chat (#1606) * fix(inference): fix inference billing when stream is true via API * add drag-and-drop to deployed chat * feat(mistal): added mistral as a provider, updated model prices (#1607) * feat(mistal): added mistral as a provider, updated model prices * remove the ability for a block to reference its own outluts * fixed order of responses for guardrails block * feat(versions): added the ability to rename deployment versions (#1610) * fix(vulns): fix various vulnerabilities and enhanced code security (#1611) * fix(vulns): fix SSRF vulnerabilities * cleanup * cleanup * regen docs * remove unused deps * fix failing tests * cleanup * update deps * regen bun lock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of Change
Testing
NA
Checklist