المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ممكن شرح طريقة ملف .htaccess هذا والله رجني



said
11-01-2013, بتوقيت غرينيتش 05:58 PM
السلام عليكم

اخواني هذا ملف الهتاكسس حقي حق موقعي وانا مركب هاك product في بي سيو


رمز PHP:

<code style="white-space:nowrap"> <code> # 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\.fofo-vb\.com
#RewriteRule (.*) http://www.fofo-vb.com/vb/$1 &#91;L,R=301&#93;

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 &#91;L&#93;

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php &#91;L,QSA&#93;

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php &#91;L,QSA&#93;

RewriteEngine On
#RewriteBase /vb/
#RewriteCond %{HTTP_HOST} !^www\.fofo-vb\.com
#RewriteRule (.*) http://www.fofo-vb.com$1 &#91;L,R=301&#93;


RewriteEngine On
RewriteCond %{HTTP_HOST} ^fofo-vb.com/vb/ &#91;NC&#93;
RewriteRule ^(.*)$ http://www.fofo-vb.com/vb$1 &#91;L,R=301&#93;
</code> </code>



وهذا ملف الهتاكسس حق خويي وش الفرق هو ارشفته اكثر مني ماشاءالله عليه


رمز PHP:

<code style="white-space:nowrap"> <code> # 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 /vb/



RewriteCond %{HTTP_HOST} !^www\.girl-vb\.com
RewriteCond %{REQUEST_URI} /vb
RewriteRule (.*) http://www.girl-vb.com/vb/$1 &#91;L,R=301&#93;

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 &#91;L&#93;



RewriteCond %{QUERY_STRING} !vbseourl=

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)

RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 &#91;L,QSA&#93;



RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$

RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 &#91;L,QSA&#93;



RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/

RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 &#91;L,QSA&#93;





####Expires

<IfModule mod_expires.c>

ExpiresActive On




ExpiresByType image/gif A2592000

ExpiresByType image/jpeg A2592000

ExpiresByType image/png A2592000

ExpiresByType application/x-shockwave-flash A2592000

ExpiresByType text/css A2592000

ExpiresByType application/x-javascript A2592000

</IfModule>



RewriteEngine On

RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 &#91;L&#93;
</code> </code>




انتظركم




https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-ash4/482113_236967293114455_1193518507_n.png (http://www.dzbatna.com)
©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى (http://www.dzbatna.com)©

استعمل مربع البحث في الاسفل لمزيد من المواضيع


سريع للبحث عن مواضيع في المنتدى