thinkdiff
May 17th, 2015, 11:32
با سلام و عرض ادب
من یک سایت دارم به آدرس http://setpark.ir که فروشگاه کالای لوکس هست. حالا ی بخشی هم داریم ویدیو های آموزشی آرایش که برای اون ی دارکتوری ساختم به نام gallery و ی وردپرس دیگه تو اون نصب کردم و قالب گالری ویدیو ها رو آوردم بالا. یعنی یک وردپرس در داخل یک وردپرس دیگه. قبلا خیلی این کارو کردم مشکلی نبوده والا.
اما الان مشکل اینه که گالری رو برای بعضی ها باز نمی کنه http://setpark.ir/gallery . برای خودم و یکی از دوستام باز میشه ولی. قالبو تغییر دادم حل نشد. به نظرم احتمالا ایراد از htaccess هست. برای هر کدوم یدونه htaccess ساخته.
من اومدم htaccess گالری رو پاک کردم حل نشد. مال خود سایت اصلی رو هم ادیت کردم یعنی gzip و اینا رو حذف کردم بازم درست نشد. سند حرفم هم اینه که تو سایت http://gtmetrix.com/ آدرس http://setpark.ir/gallery رو آنالیز که می کنم نمیتونه سایت رو فتچ کنه. سایت هم رو vps خودمه که ایرانه و دایرکت ادمینه . خیلی ممنون میشم اگر کمک کنید برای راح حلش
این هم کد های سایت اصلی :
##################### Cache #
####################
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
###################
# Rewrite Mode #
###################
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
####################
# GZIP COMPRESSION #
####################
# compress text, HTML, JavaScript, CSS, and XML
<ifmodule mod_deflate.c>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
#Header append Vary User-Agent
</ifmodule>
redirect 301 /g http://setpark.ir/gallery/
- - - Updated - - -
دوستان کسی نیست به این سوال من پاسخ بده؟
من یک سایت دارم به آدرس http://setpark.ir که فروشگاه کالای لوکس هست. حالا ی بخشی هم داریم ویدیو های آموزشی آرایش که برای اون ی دارکتوری ساختم به نام gallery و ی وردپرس دیگه تو اون نصب کردم و قالب گالری ویدیو ها رو آوردم بالا. یعنی یک وردپرس در داخل یک وردپرس دیگه. قبلا خیلی این کارو کردم مشکلی نبوده والا.
اما الان مشکل اینه که گالری رو برای بعضی ها باز نمی کنه http://setpark.ir/gallery . برای خودم و یکی از دوستام باز میشه ولی. قالبو تغییر دادم حل نشد. به نظرم احتمالا ایراد از htaccess هست. برای هر کدوم یدونه htaccess ساخته.
من اومدم htaccess گالری رو پاک کردم حل نشد. مال خود سایت اصلی رو هم ادیت کردم یعنی gzip و اینا رو حذف کردم بازم درست نشد. سند حرفم هم اینه که تو سایت http://gtmetrix.com/ آدرس http://setpark.ir/gallery رو آنالیز که می کنم نمیتونه سایت رو فتچ کنه. سایت هم رو vps خودمه که ایرانه و دایرکت ادمینه . خیلی ممنون میشم اگر کمک کنید برای راح حلش
این هم کد های سایت اصلی :
##################### Cache #
####################
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
###################
# Rewrite Mode #
###################
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
####################
# GZIP COMPRESSION #
####################
# compress text, HTML, JavaScript, CSS, and XML
<ifmodule mod_deflate.c>
SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
#Header append Vary User-Agent
</ifmodule>
redirect 301 /g http://setpark.ir/gallery/
- - - Updated - - -
دوستان کسی نیست به این سوال من پاسخ بده؟