{"id":2159,"date":"2026-06-17T06:41:25","date_gmt":"2026-06-17T06:41:25","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/"},"modified":"2026-06-17T07:09:00","modified_gmt":"2026-06-17T07:09:00","password":"","slug":"cum-se-activeaza-lscache-pentru-wordpress","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/","title":{"rendered":"Cum se activeaza LSCache pentru WordPress ?"},"content":{"rendered":"<p>Pentru activarea LSCache adaugati codul urmator la inceputul fisierului .htaccess din folderul in care este instalat WordPress:<\/p>\n<pre><code>&lt;IfModule LiteSpeed&gt;  \nCacheEnable public \/  \nRewriteEngine on  \nRewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$  \nRewriteCond %{REQUEST_URI} !^(wp-admin|wp-login.php|wp-cron.php)  \nRewriteRule .* - [E=Cache-Control:max-age=120]  \n&lt;\/IfModule&gt;\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Pentru activarea LSCache adaugati codul urmator la inceputul fisierului .htaccess din folderul in care este instalat WordPress: &lt;IfModule LiteSpeed&gt; CacheEnable public \/ RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(HEAD|GET)$ RewriteCond %{REQUEST_URI} !^(wp-admin|wp-login.php|wp-cron.php) RewriteRule .* &#8211; [E=Cache-Control:max-age=120] &lt;\/IfModule&gt;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":401,"footnotes":""},"doc_category":[212],"doc_tag":[267,224,227,295,350],"class_list":["post-2159","docs","type-docs","status-publish","hentry","doc_category-litespeed-ws","doc_tag-htaccess","doc_tag-cache","doc_tag-configurare","doc_tag-litespeed","doc_tag-wordpress"],"year_month":"2026-08","word_count":46,"total_views":"20","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"LiteSpeed WS","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/litespeed-ws\/"}],"doc_tag_info":[{"term_name":".htaccess","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/htaccess\/"},{"term_name":"cache","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/cache\/"},{"term_name":"configurare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/configurare\/"},{"term_name":"LiteSpeed","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/litespeed\/"},{"term_name":"WordPress","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/wordpress\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX<\/title>\n<meta name=\"description\" content=\"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-17T07:09:00+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-se-activeaza-lscache-pentru-wordpress\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-se-activeaza-lscache-pentru-wordpress\\\/\",\"name\":\"Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T06:41:25+00:00\",\"dateModified\":\"2026-06-17T07:09:00+00:00\",\"description\":\"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-se-activeaza-lscache-pentru-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-se-activeaza-lscache-pentru-wordpress\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-se-activeaza-lscache-pentru-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum se activeaza LSCache pentru WordPress ?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX","description":"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/","og_locale":"ro_RO","og_type":"article","og_title":"Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX","og_description":"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.","og_url":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-06-17T07:09:00+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/","url":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/","name":"Cum se activeaz\u0103 LSCache pentru WordPress - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T06:41:25+00:00","dateModified":"2026-06-17T07:09:00+00:00","description":"Activeaz\u0103 LSCache pentru WordPress ad\u0103ug\u00e2nd cod specific \u00een fi\u0219ierul .htaccess. Ghid pas cu pas pentru optimizarea caching-ului site-ului t\u0103u.","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-se-activeaza-lscache-pentru-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum se activeaza LSCache pentru WordPress ?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2159","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=2159"}],"version-history":[{"count":1,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2159\/revisions"}],"predecessor-version":[{"id":2203,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/2159\/revisions\/2203"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=2159"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=2159"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=2159"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}