رفتن به مطلب

mohammadrezza

عضو تالار جوملا
  • تعداد ارسال ها

    6
  • تاریخ عضویت در سایت

  • آخرین بازدید

پست ها ارسال شده توسط mohammadrezza


  1. این کد به فایل htaccess اضافه کن

    RewriteCond %{REQUEST_URI} !^/index\.php

    # and the request is for something within the component folder,

    # or for the site root, or for an extensionless URL, or the

    # requested URL ends with one of the listed extensions

    RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]

    # and the requested path and file doesn't directly match a physical file

    RewriteCond %{REQUEST_FILENAME} !-f

    # and the requested path and file doesn't directly match a physical folder

    RewriteCond %{REQUEST_FILENAME} !-d

    # internally rewrite the request to the index.php script

    RewriteRule .* index.php [L]

    #

×
×
  • افزودن...