পণ্যের অংশে চলে যান
LCPanelলাইসেন্স সেন্টার প্যানেল
BXP BoxPuff টি অধ্যায়

BoxPuff ডকুমেন্টেশন

SEO ও অ্যানালিটিক্স

SEO & Analytics সেটিং আর প্রতিটি পেজ যে ট্যাগ ছাপে: টাইটেল, বিবরণ, canonical, robots, Open Graph, Twitter card, hreflang, JSON-LD, Search Console ও Bing কোড, Google Analytics 4 ও Tag Manager; সার্চ ইঞ্জিনের বাইরে কী থাকে, সাইটম্যাপ ও robots.txt।

স্টোরেজ, আয় ও চেহারা হালনাগাদ ৬ নভে ২০২৬ ১৪ / ৫০

Search engines and social networks decide how your site looks in their results from a handful of tags in each page's <head>. BoxPuff prints them for you on every public page, whatever theme is active, and the SEO & Analytics group of Admin → Configuration → Site Settings holds the switches and texts behind them, together with the codes for Google Search Console, Bing, Google Analytics 4 and Tag Manager. Nothing here is a plugin: it is part of the core and works from the first page view.

Who it is for

Every site that wants to be found. A file host lives on its public file pages, so the two decisions that matter are whether those pages may be indexed (they are, by default) and whether the engines can read a sitemap that lists them.

The settings

Admin → Configuration → Site Settings → SEO & Analytics (see Site settings). Every key, in the order of the page:

Setting (key)What it does
Home page title (seo_home_title)The <title> of the home page. Empty gives Site name - Site tagline (both from Site Options).
Add the site name to every title (seo_title_suffix, on)Other pages are titled Page name - Site name; off leaves the page name alone.
Meta keywords (seo_keywords)Comma separated. Google ignores them; some engines still read them. Empty prints no tag.
Share picture (Open Graph) (seo_og_image)Address of a 1200x630 picture shown when a page is shared on Facebook, WhatsApp or X. Empty uses the site logo (the PNG of the default logo when you have not uploaded your own).
X (Twitter) account (seo_twitter_site)For example @boxpuff; the @ is added when missing.
Canonical links (seo_canonical, on)A <link rel="canonical"> on every indexable page, so a page reached by two addresses counts once.
Let search engines index file pages (seo_index_files, on)Off: public file, folder and share pages carry noindex too. Private ones always do.
Structured data (JSON-LD) (seo_jsonld, on)WebSite and Organization data on the home page.
Language links (hreflang) (seo_hreflang, on)Tells search engines about every language the site is offered in.
robots.txt (robots_txt)Your own text. Empty serves the built-in one (below).
Sitemap (sitemap_enabled, on)Serves /sitemap.xml. Off answers The sitemap is switched off.
Files in the sitemap (sitemap_files, on)Lists public files.
Files in the sitemap at most (sitemap_max_files, 5000)A sitemap may hold 50,000 addresses; the number is capped there.
Google Search Console code (google_site_verification)The content of the google-site-verification meta tag (the HTML tag method).
Bing Webmaster code (bing_site_verification)The content of the msvalidate.01 meta tag.
Google Analytics 4 id (google_analytics_id)G-XXXXXXXXXX.
Google Tag Manager id (google_tag_manager_id)GTM-XXXXXXX.
Other analytics code (google_analytics_code)Any other statistics code with its script tags (Matomo, Plausible, Clarity ...).

What every page prints

Every public page gets, in <head>, in this order:

  • the title and the description (the page's own, else the Site description of Site Options);
  • the keywords, when set;
  • the robots tag: index, follow, max-image-preview:large, or noindex, nofollow on a page that must stay out;
  • the canonical link - the page's own address without its query string, unless the page names another - on indexable pages when Canonical links is on;
  • Open Graph: og:type (website), og:site_name, og:title, og:description, og:url and og:image;
  • the Twitter card: summary_large_image when there is a picture, else summary, with title, description and image, and twitter:site when the account is set;
  • the verification tags for Google and Bing, when their codes are set;
  • the hreflang alternates, when Language links is on, the site offers more than one language and the page is indexable: one per language, pointing at the language switch for that language, and an x-default for the page itself;
  • the Google Analytics 4 loader (gtag.js, with IP anonymisation on), when the id looks like G-… (UA-, AW- and DC- ids are accepted too);
  • the Tag Manager snippet when the id looks like GTM-…; its <noscript> fallback goes with the scripts at the foot of the page;
  • on the home page only, the JSON-LD: a WebSite with a search box that points at /search?q=…, and an Organization with your name, web address and logo.

The other analytics code is added at the foot of every public page. Plugins can add their own tags through the bp_seo_head filter.

What stays out of the engines

A page is marked noindex - and then prints no canonical and no hreflang - when it is:

  • the sign-in, registration, forgotten-password, reset, two-step code, report, message and password-gate pages, the download step in front of a file, and everything in the member's account;
  • the page of a private file, or of a file with a password;
  • any file, folder or share page while Let search engines index file pages is off.

The admin panel carries noindex too, and the REST API answers with an X-Robots-Tag: noindex header. A page written for a plugin can do the same by calling seo_noindex(), optionally with the address it wants canonical.

The sitemap

/sitemap.xml lists the home, search, upgrade, FAQ, contact, terms, privacy, What's New, registration and sign-in pages, every active page you wrote under Pages, and - when Files in the sitemap is on - the public files without a password, newest first, each with the date it last changed, up to Files in the sitemap at most. A site with millions of files lists only the newest ones; raise the number as far as your server's patience goes. Give the address to Google Search Console and Bing Webmaster Tools once.

robots.txt

Empty, the setting serves the built-in text: every robot may crawl, except /admin, /account, /dl/ and /api/ (with the site's sub-folder in front when it lives in one), and the line Sitemap: with the address of the sitemap. Type your own text into robots.txt and it is served as it is instead, so keep a Sitemap: line in it - the Google AdSense checklist looks for one.

Search Console, Bing and the statistics

  1. In Google Search Console choose the HTML tag method, copy the part inside content="…" into Google Search Console code, save, and press Verify. Bing Webmaster Tools works the same way with Bing Webmaster code.
  2. Submit https://your-site/sitemap.xml in both.
  3. For statistics, paste the Google Analytics 4 id; or the Tag Manager id if you run your tags from there; or the snippet of another service into Other analytics code.

Tips

  • Fill in Home page title, the site description and a Share picture first; they are what people see in a result and in a shared link.
  • Use either the GA4 id or Tag Manager for the same property, not both, or visits are counted twice.
  • The tags are printed for every visitor: the cookie notice is only a notice and blocks nothing. If your law needs consent first, load your tags from Tag Manager with its consent settings.
  • Keep Let search engines index file pages on for a site that lives on shared downloads; switch it off only for a private or members-only site.
  • After changing a setting, look at the page source (view-source:) of the home page and a file page; the tags are plain text.
এটি কি কাজে লেগেছে?
এই অধ্যায়টি শেয়ার করুন