ظ…ط§ظ‡ظˆ ط§ظ„ظپط±ظ‚ ط¨ظٹظ† ط§ظ„ط§ظƒظˆط§ط¯



السلام عليكم





ماهو الفرق بين الكود codeين التاليين :

رمز PHP:
<code style="white-space:nowrap"> <code>


#SWITCH mod_rewrite ON

#OUR ABOVE CODE
RewriteEngine on

RewriteRule
^(.*)-(.*)-(.*)-(.*)\.html$ $1.php?action=$2&id=$3&p=$4
RewriteRule
^(.*)-(.*)-(.*)\.html$ $1.php?action=$2&id=$3
RewriteRule
^(.*)-(.*)\.html$ $1.php?action=$2
RewriteRule
^(.*)\.html$ $1.php
RewriteRule
^sitemap-(.*)-(.*)\.xml$ sitemap.php?action=$1&id=$2
RewriteRule
^sitemap-(.*)\.xml$ sitemap.php?action=$1
RewriteRule
^sitemap\.xml$ sitemap.php
RewriteRule
^rss2-(.*)-(.*)\.xml$ rss2.php?action=$1&id=$2
RewriteRule
^rss2-(.*)\.xml$ rss2.php?action=$1
RewriteRule
^rss2\.xml$ rss2.php
</code> </code>


رمز PHP:
<code style="white-space:nowrap"> <code>


#SWITCH mod_rewrite ON
Options +FollowSymLinks
RewriteEngine on
#OUR ABOVE CODE

RewriteRule ^(.*)-(.*)-(.*)-(.*)\.html$ $1.php?action=$2&id=$3&p=$4
RewriteRule
^(.*)-(.*)-(.*)\.html$ $1.php?action=$2&id=$3
RewriteRule
^(.*)-(.*)\.html$ $1.php?action=$2
RewriteRule
^(.*)\.html$ $1.php
RewriteRule
^sitemap-(.*)-(.*)\.xml$ sitemap.php?action=$1&id=$2
RewriteRule
^sitemap-(.*)\.xml$ sitemap.php?action=$1
RewriteRule
^sitemap\.xml$ sitemap.php
RewriteRule
^rss2-(.*)-(.*)\.xml$ rss2.php?action=$1&id=$2
RewriteRule
^rss2-(.*)\.xml$ rss2.php?action=$1
RewriteRule
^rss2\.xml$ rss2.php
</code> </code>


وماهي اهمية هذا الكود code :

رمز PHP:
<code style="white-space:nowrap"> <code> Options +FollowSymLinks
</code> </code>

ارجو الاجابة من الخبراء والمتاكد من اجابته فقط

هذه الاكواد في ملف الهتاكس

تحيتي









©المشاركات المنشورة تعبر عن وجهة نظر صاحبها فقط، ولا تُعبّر بأي شكل من الأشكال عن وجهة نظر إدارة المنتدى©