Update meta tag for robots to allow indexing and link following, enhancing SEO and site visibility.

This commit is contained in:
Torsten Schulz (local)
2025-11-28 09:20:50 +01:00
parent 451bda8f28
commit da5f415e0b

View File

@@ -64,7 +64,8 @@ App::~App() {
void App::setMetaTags() {
removeMetaHeader(Wt::MetaHeaderType::Meta, "robots");
addMetaHeader("keywords", "chat,single chat,images,no registration,anonymous,direct chat,search,searchable,international,free,no cost,private chat,private");
addMetaHeader(Wt::MetaHeaderType::Meta, "robots", "index,nofollow");
// Erlaube Indexierung und das Folgen von Links (u.a. für /partners)
addMetaHeader(Wt::MetaHeaderType::Meta, "robots", "index,follow");
addMetaHeader(Wt::MetaHeaderType::Meta, "google-adsense-account", "ca-pub-1104166651501135");
}