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];
|
||||
|
||||
@@ -55,7 +55,7 @@ const blogPosts = [
|
||||
readTime: '12 Min',
|
||||
category: 'Restaurant',
|
||||
image: '/blog/restaurant-qr-menu.png',
|
||||
link: '/dynamic-qr-code-generator',
|
||||
link: '/tools/url-qr-code',
|
||||
},
|
||||
{
|
||||
slug: 'vcard-qr-code-generator',
|
||||
@@ -65,7 +65,7 @@ const blogPosts = [
|
||||
readTime: '10 Min',
|
||||
category: 'Business Cards',
|
||||
image: '/blog/vcard-qr-code.png',
|
||||
link: '/create',
|
||||
link: '/tools/vcard-qr-code',
|
||||
},
|
||||
{
|
||||
slug: 'qr-code-small-business',
|
||||
@@ -75,6 +75,7 @@ const blogPosts = [
|
||||
readTime: '14 Min',
|
||||
category: 'Business',
|
||||
image: '/blog/small-business-qr.png',
|
||||
link: '/signup',
|
||||
},
|
||||
{
|
||||
slug: 'qr-code-print-size-guide',
|
||||
|
||||
Reference in New Issue
Block a user