Seobility und Ahrefs 100/100 score fixes final
This commit is contained in:
@@ -2480,16 +2480,19 @@ export async function generateMetadata({ params }: { params: { slug: string } })
|
||||
export default function BlogPostPage({ params }: { params: { slug: string } }) {
|
||||
// Handle redirects for deprecated/legacy URLs
|
||||
if (params.slug === 'vcard-qr-code-generator') {
|
||||
permanentRedirect('/create');
|
||||
permanentRedirect('/tools/vcard-qr-code');
|
||||
}
|
||||
if (params.slug === 'qr-code-restaurant-menu') {
|
||||
permanentRedirect('/dynamic-qr-code-generator');
|
||||
permanentRedirect('/tools/url-qr-code');
|
||||
}
|
||||
if (params.slug === 'bulk-qr-code-generator') {
|
||||
permanentRedirect('/bulk-qr-code-generator');
|
||||
}
|
||||
if (params.slug === 'bulk-qr-codes-excel') {
|
||||
permanentRedirect('/blog/bulk-qr-code-generator-excel');
|
||||
}
|
||||
if (params.slug === 'qr-code-small-business') {
|
||||
permanentRedirect('/analytics');
|
||||
permanentRedirect('/signup');
|
||||
}
|
||||
|
||||
const post = blogPosts[params.slug];
|
||||
|
||||
Reference in New Issue
Block a user