Seobility und Ahrefs 100/100 score fixes final
This commit is contained in:
parent
4fc1dcd7d8
commit
fa538b8bec
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -4,18 +4,16 @@ export default function robots(): MetadataRoute.Robots {
|
|||
const baseUrl = 'https://www.qrmaster.net';
|
||||
|
||||
return {
|
||||
rules: [
|
||||
{
|
||||
userAgent: '*',
|
||||
allow: '/',
|
||||
disallow: [
|
||||
'/api/',
|
||||
'/dashboard/',
|
||||
'/create/',
|
||||
'/settings/',
|
||||
],
|
||||
},
|
||||
],
|
||||
rules: {
|
||||
userAgent: '*',
|
||||
allow: ['/', '/_next/static/', '/_next/image/'],
|
||||
disallow: [
|
||||
'/api/',
|
||||
'/dashboard/',
|
||||
'/create/',
|
||||
'/settings/',
|
||||
],
|
||||
},
|
||||
sitemap: `${baseUrl}/sitemap.xml`,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ export function Footer({ variant = 'marketing', t }: FooterProps) {
|
|||
<h3 className={`font-semibold mb-4 ${isDashboard ? 'text-gray-900' : ''}`}>{translations.legal}</h3>
|
||||
<ul className={`space-y-2 ${isDashboard ? 'text-gray-500' : 'text-gray-400'}`}>
|
||||
<li><Link href="/privacy" className={isDashboard ? 'hover:text-primary-600' : 'hover:text-white'}>{translations.privacy_policy}</Link></li>
|
||||
<li><Link href="/qr-code-erstellen" className={isDashboard ? 'hover:text-primary-600' : 'hover:text-white'}>QR Code Erstellen (DE)</Link></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue