-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEO-Related Issues #111
Comments
Alright well I made a few changes and realized I could adjust the i18n keys to add to/change the list for how it appeared, so we're good there. I realized if I made a duplicate page of an existing page but didn't specify keys for title or description it would just re-use the main page's information. So we're good there! The mysterious |
I'll look into it |
Appreciate that! Something else I was wondering, is there a way I can make it so the first "page" of blog posts is still the homepage, but pages 2, 3, etc. are rendered on I know this is relatively niche, but figured it's worth sharing! In my own sitemap({
filter: (page) => {
// Exclude URLs that start with /page/ or /archive/tag/
const excludePatterns = [
'https://davidvkimball.com/page/',
'https://davidvkimball.com/archive/tag/',
'https://davidvkimball.com/archive/category/'
];
return !excludePatterns.some(pattern => page.startsWith(pattern));
}
}), This way, it won't list any of these types of pages in search engines. Just a thought! |
I am struggling with this still. 😅 I tried to set a conditional Here are the remaining higher-priority items I'm trying to figure out:
I tried using Any assistance would be much appreciated, as finding solutions to these issues would help anyone else using the template as well! |
OK, I believe I solved this problem completely. Basically I created two interface Props: I modified
I don't have pages on Just glad the rest is resolved! |
To add on to this, it seems like every single image is lazy loaded, I wonder if there's a way to take like the top 3 blog posts and disable lazy loading on their cover images? There's also issues with the confluent paint, which I don't quite understand nor know how to fix. It added a pretty significant delay on Google's PageSpeed mobile test. |
Tag Pages
Tag pages have three different issues:
This is according to Semrush.
To circumvent this, I'd like to just exclude tag pages (and maybe category pages) from being indexed in search engines. Is there an elegant way to not index the tags pages in search engines?
I tried modifying
\src\pages\archive\tag\[tag].astro
but couldn't find a straightforward way to add<meta name="robots" content="noindex, follow">
to it. I'm not even sure if that's the correct approach here. 😅Special Pages
Currently, I want to make more "normal" pages like About, but I'm doing it in a hacky way.
Is there a straightforward way to add another one? Right now I have a "Projects" and a 404 page that are just derivatives of the About page, so unfortunately they share meta descriptions.
Broken Internal JS and CSS
This last issue I can't easily explain, so here's a screenshot:
I'm wanting to use this full time, but until these issues are sorted I'm not sure if it's feasible yet.
Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: