السلام عليكم و الرحمه
اخوكم بيعانى من مشكله غريبه والله جدا
انا مركب مولد الخرائط من فتره وكان تمام جدا مفيش اى مشاكل :app:
وبعدها ركبت هاك فى بى سيو 3.2.0 والحمد لله حول الروابط تمام وجميل جدا :app:
ؤمال المشكله فين
المشكله بكل بساطه هنا فى الـ .htaccess
.htaccess الى مع مولد الخرائط هوه الاتى
.htaccess الى مع فى بى سيو محول الروابط هوه الاتىكود:RewriteEngine On RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
وزى ما حضراتكم شايفين الكودين صح ميه الميه بس ازاى ادمج الاتنين مع بعضكود:# 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 # to your root vB folder (i.e. RewriteBase /forums/) #RewriteBase / #RewriteCond %{HTTP_HOST} !^www\.roo7-alby\.com #RewriteRule (.*) www.roo7-alby.com/forums/$1 [L,R=301] RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron) 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]
مع العلم انى غيرت السطر الخاص بالخريطه
لو تلاحظوا هنا فى شرطه مش موجوده فى الهات اكسس بتاع مولد الخريطه :con2:كود:RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
انا عملت كل الى اقدر عليه ياريت الى ربنا يقدره بحل وفهم مشكلتى يقولى الحل ايه
الله يكرمكم جميعا



رد مع اقتباس
