السلام عليكم ورحمة الله وبركاته
قمت بالأمس بتركيب هاك vb seo 3.3.0 gold وقمت باستيراد الإعدادات بشكل كامل
ولكن واجهتني في ملف .htaccess حاول تعديله بكل الطرق ولكن لم ينفع
قمت بالأمس بتركيب هاك vb seo 3.3.0 gold وقمت باستيراد الإعدادات بشكل كامل
ولكن واجهتني في ملف .htaccess حاول تعديله بكل الطرق ولكن لم ينفع
حيث اني ما ان اقوم برفع مل الـ هتكس يتعطل المنتدى عن العمل ويعطيني صفحة بيضاء.
عطلت هاك vb seo ورجعت الهتكس القديم واشتغل تمام .
عدت مرة اخرى وفعلت الهاك ورفعت ملف الهتكس الموجود مع الهاك مع تغيير اللازم ولكن نفس المشكلة.
المشكلة ان كل الشروحات تتكلم عن تعديل ملف الهتكس عندما يكون المنتدى مركب على مجلد vb ليس على الـ puplic_html كما هو الحال عندي.
ملاحظات:
نسخة المنتدى الحالية 3.8.4
المنتدى منصب على مجلد الـ puplic_html
ملف .htaccess القديم هذا هو:
المشكلة اللتي اتوقع انها السبب هي في الكود البرتقالي
الكود الأزرق هو لإعادة تحويل الروابط لكي لا افقد الأرشفة حيث اني كنت مركب الهاك قبل ترقية نسخة المنتدى
كود:
[LEFT]# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
[COLOR=darkorange]# to your root vB folder (i.e. RewriteBase /vb/)
#RewriteBase /[/COLOR]
[COLOR=darkorange]#RewriteCond %{HTTP_HOST} !^www\.domain\.com
#RewriteRule (.*) [/COLOR][URL="http://www.domain.com/vb/$1"][COLOR=darkorange]http://www.domain.com/vb/$1[/COLOR][/URL][COLOR=darkorange] [L,R=301][/COLOR]
[COLOR=blue]RewriteRule ^t(.*).html showthread.php?t=$1 [L]
RewriteRule ^f(.*).html forumdisplay.php?f=$1 [L]
RewriteRule ^u(.*).html member.php?u=$1 [L]
RewriteRule ^t(.*)-next-thread.html showthread.php?t=$1&goto=nextnewest [L]
RewriteRule ^f(.*).html?pagenumber=(.*) forumdisplay.php?f=$1&pagenumber=$2 [L]
RewriteRule ^(.*)-(.*)-post.html showpost.php?p=$1&postcount=$2 [L][/COLOR]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
# Set up caching on media files for 1 year (forever?)
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A29030400
Header append Cache-Control "public"
</FilesMatch>
# Set up caching on media files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A604800
Header append Cache-Control "public"
</FilesMatch>
# Set up 2 Hour caching on commonly updated files
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A7200
Header append Cache-Control "proxy-revalidate"
</FilesMatch>
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>[/LEFT]
أتمنى أن أجد الحل عندكم لمن لديه الخبرة الكافية .
ملف الهتكس الحالي موجود بالمرفقات
وشكرا مقدمًا