أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .

ارجو المساعدة في ضبط المنتدى ملف robots و .htaccess


مشاهدة المشاركة في الموضوع بالعرض العادي
look/images/icons/i1.gif ارجو المساعدة في ضبط المنتدى ملف robots و .htaccess
  16-02-2018 11:12 مساءً  
جنرال الحب
معلومات الكاتب
اشكرك على ردك اخي سليمان انا مره اضع هذا الكود في ملف .htaccess ومره ازيله اشك انه هو المشكله يريت تطلع عليه لانه اعتقد المشكلة في الكاش

CODE
# compression by GZIP
SetOutputFilter DEFLATE
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
SetEnvIfNoCase Request_URI \
\.(?:gif|jpe?g|png)$ no-gzip dont-vary

<ifModule mod_gzip.c>

mod_gzip_on Yes

mod_gzip_dechunk Yes

mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$

mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.*

mod_gzip_item_include mime ^application/x-javascript.*

mod_gzip_item_exclude mime ^image/.*

mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*

</ifModule>

<ifmodule mod_deflate.c>

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

</ifmodule>

<ifModule mod_headers.c>

  <filesMatch ".(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">

    Header set Cache-Control "max-age=604800, public"

  </filesMatch>

  <filesMatch ".(css)$">

    Header set Cache-Control "max-age=604800, public"

  </filesMatch>

  <filesMatch ".(js)$">

    Header set Cache-Control "max-age=604800, private"

  </filesMatch>

  <filesMatch ".(xml|txt)$">

    Header set Cache-Control "max-age=604800, public, must-revalidate"

  </filesMatch>
</ifModule>




يريت يكون في كود معتمد من قبلكم لتسريع المنتدى لاني قمت بتجمع هالكود من هنا وهناك


الساعة الآن 12:56 AM