-
January 21st, 2017, 14:42
#1
عضو انجمن
نوشتن کد htaccess برای زیر شاخه ها
سلام و خسته نباشید
sitemap-pt-post-2013-07.xml
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Rewriterule ^sitemap.xml$ sitemap2.php [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
این محتویات فایل htaccess من هست
که وقتی کاربر فایل sitemap.xml میزنه فایل index.php ؤو اجرا میکنه...
sitemap-pt-post-2013-07.xml
ولی وقتی کاربر اینو بزنه نمی تونه اجرا کنه یه کد لازم هست اضافه کنم به Htaccess
میشه راهنمائیم بفرمائید؟
ویرایش توسط iroo : January 21st, 2017 در ساعت 14:57
-
-
January 21st, 2017 14:42
# ADS
-
January 21st, 2017, 16:14
#2
عضو انجمن
پاسخ : نوشتن کد htaccess برای زیر شاخه ها
-