روی خود سایت هم همینطوری هست یعنی روی ایکون دانلود که کلیک میکنم مستقیم دانلود نمیشه این صفحه میاد
احتمال میدم کدی داخل هاست دانلودم هست که موزیک رو پخش میکنه و مستقیم دانلود نمیکنه
روی خود سایت هم همینطوری هست یعنی روی ایکون دانلود که کلیک میکنم مستقیم دانلود نمیشه این صفحه میاد
احتمال میدم کدی داخل هاست دانلودم هست که موزیک رو پخش میکنه و مستقیم دانلود نمیکنه
تو هاست دانلود، یه فایل .htaccess درست کنین و کد زیر رو بزارید توش:
AddType application/octet-stream .mp3
حالا مثلا اگه فرمت فایل دیگه می خواین دانلود رو اجباری کنین جای پخش، .mp3 رو با فرمت دلخواه تغییر بدین. مثلا اگر دو فرمت mp3 و mp4 رو می خواین دانلودی کنین، کد زیر رو بزارید:
AddType application/octet-stream .mp3
AddType application/octet-stream .mp4
به همین ترتیب…
این فایل وجود داره و این کدا توشه
<Limit GET HEAD POST>
# update :
order deny,allow
allow from 64.4.0.0/18
allow from 65.52.0.0/14
allow from 131.253.21.0/24
allow from 131.253.22.0/23
allow from 131.253.24.0/21
allow from 131.253.32.0/20
allow from 157.54.0.0/15
allow from 157.56.0.0/14
allow from 157.60.0.0/16
allow from 207.46.0.0/16
allow from 207.68.128.0/18
allow from 207.68.192.0/20
allow from 8.12.144.0/24
allow from 66.196.64.0/18
allow from 66.228.160.0/19
allow from 67.195.0.0/16
allow from 68.142.192.0/18
allow from 72.30.0.0/16
allow from 74.6.0.0/16
allow from 98.136.0.0/16
allow from 202.160.176.0/20
allow from 209.191.64.0/18
allow from 64.18.0.0/20
allow from 74.125.148.0/22
allow from 74.125.244.0/22
allow from 207.126.144.0/20
allow from 5.231.0.0/16
allow from 5.232.0.0/16
allow from 5.233.0.0/16
allow from 5.234.0.0/16
allow from 5.235.0.0/16
allow from 5.236.0.0/16
allow from 5.237.0.0/16
allow from 5.238.0.0/16
allow from 5.239.0.0/16
allow from 2.144.0.0/14
allow from 2.176.0.0/12
allow from 5.22.0.0/17
allow from 5.22.192.0/19
allow from 5.23.112.0/21
allow from 5.28.32.0/21
allow from 5.34.192.0/19
allow from 5.52.0.0/16
allow from 5.53.32.0/19
allow from 5.56.128.0/22
allow from 5.56.132.0/24
allow from 5.56.135.0/24
allow from 5.57.32.0/21
allow from 5.61.24.0/23
allow from 5.61.26.0/24
allow from 5.61.29.0/24
allow from 5.61.30.0/23
allow from 5.61.72.0/21
allow from 5.62.160.0/19
allow from 5.63.8.0/21
allow from 5.72.0.0/15
allow from 5.74.0.0/16
allow from 5.75.0.0/17
allow from 5.78.0.0/16
allow from 5.102.32.0/20
allow from 5.106.0.0/16
allow from 5.112.0.0/12
allow from 5.134.128.0/18
allow from 5.144.128.0/21
allow from 5.145.112.0/21
allow from 5.159.48.0/21
allow from 5.160.0.0/15
allow from 5.190.0.0/16
allow from 5.198.160.0/19
allow from 5.200.64.0/18
allow from 5.200.128.0/17
allow from 5.201.128.0/17
allow from 5.202.0.0/16
allow from 5.208.0.0/12
allow from 5.226.48.0/21
allow from 5.232.0.0/13
allow from 5.250.0.0/17
allow from 31.2.128.0/17
allow from 31.7.64.0/18
allow from 31.7.128.0/20
allow from 31.14.80.0/20
allow from 31.14.112.0/20
allow from 31.14.144.0/20
allow from 31.24.204.0/22
allow from 31.24.232.0/21
allow from 31.25.88.0/21
allow from 31.25.104.0/21
allow from 31.25.128.0/21
allow from 31.25.232.0/21
allow from 31.29.32.0/19
allow from 31.40.0.0/21
allow from 31.47.32.0/19
allow from 31.56.0.0/14
allow from 31.130.176.0/20
allow from 31.170.48.0/20
allow from 31.171.216.0/21
allow from 31.184.128.0/18
allow from 31.193.112.0/21
allow from 31.193.144.0/20
allow from 31.217.208.0/21
allow from 37.9.248.0/21
allow from 37.10.64.0/22
allow from 37.19.80.0/20
allow from 37.27.0.0/16
allow from 37.32.0.0/19
allow from 37.32.32.0/20
allow from 37.32.112.0/20
allow from 37.44.56.0/21
allow from 37.49.144.0/21
allow from 37.63.128.0/17
allow from 37.75.240.0/21
allow from 37.98.0.0/17
allow from 37.98.200.0/21
allow from 37.114.192.0/18
allow from 37.123.192.0/21
allow from 37.128.240.0/20
allow from 37.129.0.0/16
allow from 37.130.200.0/21
allow from 37.137.0.0/16
allow from 37.143.144.0/21
allow from 37.152.160.0/19
allow from 37.153.128.0/22
allow from 37.153.176.0/20
allow from 37.156.0.0/22
allow from 37.156.8.0/21
allow from 37.156.16.0/20
allow from 37.156.48.0/20
allow from 37.156.100.0/22
allow from 37.156.112.0/20
allow from 37.156.128.0/20
allow from 37.156.144.0/22
allow from 37.156.152.0/21
allow from 37.156.160.0/21
allow from 37.156.176.0/22
allow from 37.156.212.0/22
allow from 37.156.232.0/21
allow from 37.156.240.0/22
allow from 37.156.248.0/22
allow from 37.191.64.0/19
allow from 37.221.0.0/18
allow from 37.235.16.0/20
allow from 37.254.0.0/15
allow from 46.18.248.0/21
allow from 46.21.80.0/20
allow from 46.28.72.0/21
allow from 46.32.0.0/19
allow from 46.34.96.0/19
allow from 46.34.160.0/19
allow from 46.36.96.0/19
allow from 46.38.128.0/19
allow from 46.41.192.0/18
allow from 46.51.0.0/17
allow from 46.62.128.0/17
allow from 46.100.0.0/16
allow from 46.102.120.0/21
allow from 46.102.128.0/20
allow from 46.102.184.0/22
allow from 46.143.0.0/16
allow from 46.148.32.0/20
allow from 46.164.64.0/18
allow from 46.167.128.0/19
allow from 46.209.0.0/16
allow from 46.224.0.0/15
allow from 46.245.0.0/17
allow from 46.248.32.0/19
allow from 46.249.96.0/24
allow from 46.249.98.0/23
allow from 46.249.100.0/22
allow from 46.249.104.0/22
allow from 46.249.112.0/23
allow from 46.249.120.0/21
allow from 46.251.160.0/19
allow from 46.255.216.0/21
allow from 57.88.80.0/20
allow from 62.32.49.128/26
allow from 62.32.49.192/27
allow from 62.32.49.224/29
allow from 62.32.49.240/28
allow from 62.32.50.0/24
allow from 62.32.53.64/26
allow from 62.32.53.168/29
allow from 62.32.53.224/28
allow from 62.32.61.96/27
allow from 62.32.61.224/27
allow from 62.32.63.128/26
allow from 62.60.128.0/17
allow from 62.102.128.0/20
allow from 62.145.92.128/25
allow from 62.145.109.0/24
allow from 62.193.0.0/19
allow from 62.220.96.0/19
allow from 63.243.185.0/24
allow from 64.214.116.16/32
allow from 67.16.178.147/32
allow from 67.16.178.148/31
allow from 67.16.178.150/32
allow from 77.36.128.0/17
allow from 77.77.64.0/18
allow from 77.81.32.0/20
allow from 77.81.76.0/22
allow from 77.81.80.0/22
allow from 77.81.128.0/21
allow from 77.81.144.0/20
allow from 77.81.192.0/19
allow from 77.95.219.0/24
allow from 77.95.220.0/24
allow from 77.104.64.0/18
allow from 77.237.64.0/19
allow from 77.237.160.0/19
allow from 77.238.176.0/23
allow from 77.238.182.0/23
allow from 77.238.188.0/23
allow from 77.245.224.0/20
allow from 78.38.0.0/15
allow from 78.109.192.0/20
allow from 78.110.112.0/20
allow from 78.111.0.0/20
allow from 78.154.32.0/19
allow from 78.157.32.0/19
allow from 78.158.160.0/19
allow from 79.127.0.0/17
allow from 79.132.192.0/19
allow from 79.143.84.0/23
allow from 79.174.160.0/21
allow from 79.175.128.0/19
allow from 79.175.160.0/22
allow from 79.175.164.0/23
allow from 79.175.166.0/24
allow from 79.175.167.0/25
allow from 79.175.167.128/30
allow from 79.175.167.132/31
allow from 79.175.167.144/28
allow from 79.175.167.160/27
allow from 79.175.167.192/26
allow from 79.175.168.0/22
allow from 79.175.172.0/25
allow from 79.175.172.128/26
allow from 79.175.173.0/24
allow from 79.175.174.0/23
allow from 79.175.176.0/20
allow from 80.66.176.0/20
allow from 80.69.240.0/20
allow from 80.71.112.0/20
allow from 80.75.0.0/20
allow from 80.191.0.0/16
allow from 80.242.0.0/20
allow from 80.250.192.0/20
allow from 80.253.128.0/19
allow from 81.12.0.0/17
allow from 81.28.32.0/19
allow from 81.29.240.0/20
allow from 81.31.160.0/19
allow from 81.31.224.0/19
allow from 81.90.144.0/20
allow from 81.91.128.0/19
allow from 81.163.0.0/21
allow from 82.97.224.0/22
allow from 82.97.228.0/24
allow from 82.97.229.0/26
allow from 82.97.229.80/28
allow from 82.97.229.96/27
allow from 82.97.229.128/25
allow from 82.97.230.0/23
allow from 82.97.232.0/21
allow from 82.97.240.0/20
allow from 82.99.192.0/18
allow from 82.115.0.0/21
allow from 82.115.8.0/22
allow from 82.115.12.0/23
allow from 82.115.14.0/24
allow from 82.115.16.0/22
allow from 82.115.20.0/23
allow from 82.115.29.0/24
allow from 82.115.30.0/23
allow from 82.138.140.0/25
allow from 83.120.0.0/14
allow from 83.147.192.0/18
allow from 83.170.26.0/24
allow from 83.170.34.96/27
allow from 83.170.34.160/27
allow from 83.170.34.192/27
allow from 84.17.168.32/27
allow from 84.39.176.0/21
allow from 84.47.192.0/20
allow from 84.47.212.0/22
allow from 84.47.216.0/21
allow from 84.47.224.0/19
allow from 84.233.149.241/32
allow from 84.241.0.0/18
allow from 84.246.71.128/28
allow from 84.246.71.168/29
allow from 84.246.71.176/32
allow from 85.9.64.0/18
allow from 85.15.0.0/18
allow from 85.133.128.0/17
allow from 85.185.0.0/16
allow from 85.198.0.0/18
allow from 85.204.30.0/23
allow from 85.204.76.0/23
allow from 85.204.80.0/20
allow from 85.204.104.0/23
allow from 85.204.128.0/22
allow from 85.204.208.0/20
allow from 85.239.192.0/19
allow from 86.55.0.0/16
allow from 86.57.0.0/17
allow from 86.104.32.0/20
allow from 86.104.80.0/20
allow from 86.104.96.0/20
allow from 86.104.232.0/21
allow from 86.104.240.0/21
allow from 86.105.40.0/21
allow from 86.105.128.0/20
allow from 86.106.24.0/23
allow from 86.106.192.0/21
allow from 86.107.0.0/20
allow from 86.107.80.0/20
allow from 86.107.144.0/20
allow from 86.107.172.0/22
allow from 86.107.208.0/20
allow from 86.109.32.0/19
allow from 87.107.0.0/16
allow from 87.247.160.0/19
allow from 87.248.96.0/23
allow from 87.248.128.0/19
allow from 88.135.32.0/20
allow from 89.32.0.0/19
allow from 89.32.96.0/20
allow from 89.32.196.0/23
allow from 89.33.18.0/23
allow from 89.33.100.0/22
allow from 89.33.128.0/23
allow from 89.33.204.0/23
allow from 89.33.234.0/23
allow from 89.33.240.0/23
allow from 89.34.20.0/23
allow from 89.34.32.0/19
allow from 89.34.88.0/23
allow from 89.34.94.0/23
allow from 89.34.128.0/19
allow from 89.34.168.0/23
allow from 89.34.176.0/23
allow from 89.34.200.0/23
allow from 89.34.248.0/21
allow from 89.35.58.0/23
allow from 89.35.64.0/21
allow from 89.35.120.0/22
allow from 89.35.132.0/23
allow from 89.35.156.0/23
allow from 89.35.176.0/23
allow from 89.35.180.0/22
allow from 89.35.194.0/23
allow from 89.36.16.0/23
allow from 89.36.48.0/20
allow from 89.36.96.0/20
allow from 89.36.176.0/20
allow from 89.36.194.0/23
allow from 89.36.226.0/23
allow from 89.36.252.0/23
allow from 89.37.0.0/20
allow from 89.37.30.0/23
allow from 89.37.42.0/23
allow from 89.37.102.0/23
allow from 89.37.144.0/21
allow from 89.37.152.0/22
allow from 89.37.168.0/22
allow from 89.37.198.0/23
allow from 89.37.208.0/22
allow from 89.37.218.0/23
allow from 89.37.240.0/20
allow from 89.38.24.0/23
allow from 89.38.80.0/20
allow from 89.38.102.0/23
allow from 89.38.184.0/21
allow from 89.38.192.0/21
allow from 89.38.212.0/22
allow from 89.38.242.0/23
allow from 89.38.244.0/22
allow from 89.39.8.0/22
allow from 89.39.186.0/23
allow from 89.40.38.0/23
allow from 89.40.78.0/23
allow from 89.40.90.0/23
allow from 89.40.106.0/23
allow from 89.40.110.0/23
allow from 89.40.128.0/23
allow from 89.40.152.0/21
allow from 89.40.240.0/20
allow from 89.41.8.0/21
allow from 89.41.16.0/21
allow from 89.41.32.0/23
allow from 89.41.40.0/22
allow from 89.41.58.0/23
allow from 89.41.184.0/22
allow from 89.41.192.0/19
allow from 89.41.224.0/20
allow from 89.41.240.0/21
allow from 89.42.32.0/23
allow from 89.42.44.0/22
allow from 89.42.56.0/23
allow from 89.42.68.0/23
allow from 89.42.96.0/21
allow from 89.42.136.0/22
allow from 89.42.150.0/23
allow from 89.42.184.0/21
allow from 89.42.196.0/22
allow from 89.42.228.0/23
allow from 89.43.0.0/20
allow from 89.43.36.0/23
allow from 89.43.70.0/23
allow from 89.43.88.0/21
allow from 89.43.96.0/21
allow from 89.43.144.0/21
allow from 89.43.182.0/23
allow from 89.43.188.0/23
allow from 89.43.204.0/23
allow from 89.43.216.0/21
allow from 89.43.224.0/21
allow from 89.44.112.0/23
allow from 89.44.118.0/23
allow from 89.44.128.0/21
allow from 89.44.146.0/23
allow from 89.44.176.0/21
allow from 89.44.190.0/23
allow from 89.44.202.0/23
allow from 89.44.240.0/22
allow from 89.45.48.0/20
allow from 89.45.68.0/23
allow from 89.45.80.0/23
allow from 89.45.112.0/21
allow from 89.45.126.0/23
allow from 89.45.152.0/21
allow from 89.45.230.0/23
allow from 89.46.44.0/23
allow from 89.46.60.0/23
allow from 89.46.94.0/23
allow from 89.46.184.0/21
allow from 89.46.216.0/22
allow from 89.47.64.0/20
allow from 89.47.128.0/19
allow from 89.47.196.0/22
allow from 89.47.200.0/22
allow from 89.144.57.31/32
allow from 89.144.57.32/28
allow from 89.144.128.0/18
allow from 89.165.0.0/17
allow from 89.184.192.0/19
allow from 89.196.0.0/16
allow from 89.198.0.0/15
allow from 89.219.64.0/18
allow from 89.219.192.0/18
allow from 89.221.80.0/20
allow from 89.235.64.0/18
allow from 91.98.0.0/15
allow from 91.106.64.0/19
allow from 91.107.128.0/17
allow from 91.108.128.0/19
allow from 91.108.194.0/23
allow from 91.108.196.0/23
allow from 91.108.208.0/21
allow from 91.133.128.0/17
allow from 91.147.64.0/20
allow from 91.184.64.0/19
allow from 91.185.128.0/19
allow from 91.186.192.0/19
allow from 91.206.122.0/23
allow from 91.207.138.0/23
allow from 91.208.165.0/24
allow from 91.209.242.0/24
allow from 91.212.16.0/24
allow from 91.212.252.0/24
allow from 91.216.4.0/24
allow from 91.217.64.0/23
allow from 91.220.79.0/24
allow from 91.222.196.0/22
allow from 91.222.204.0/22
allow from 91.224.110.0/23
allow from 91.224.176.0/23
allow from 91.225.52.0/22
allow from 91.226.224.0/23
allow from 91.227.84.0/22
allow from 91.228.189.0/24
allow from 91.229.214.0/23
allow from 91.230.32.0/24
allow from 91.232.64.0/22
allow from 91.232.68.0/23
allow from 91.232.72.0/22
allow from 91.233.56.0/22
allow from 91.236.168.0/23
allow from 91.237.254.0/23
allow from 91.238.0.0/24
allow from 91.239.14.0/24
allow from 91.239.54.0/23
allow from 91.239.108.0/22
allow from 91.239.214.0/24
allow from 91.240.60.0/22
allow from 91.240.180.0/22
allow from 91.241.20.0/23
allow from 91.241.92.0/24
allow from 91.242.44.0/23
allow from 91.243.126.0/23
allow from 91.243.160.0/20
allow from 91.244.120.0/22
allow from 91.247.66.0/23
allow from 91.250.224.0/20
allow from 91.251.0.0/16
allow from 92.42.48.0/21
allow from 92.50.0.0/18
allow from 92.61.176.0/20
allow from 92.62.176.0/20
allow from 92.114.16.0/20
allow from 92.114.48.0/22
allow from 92.114.64.0/20
allow from 92.242.192.0/19
allow from 93.110.0.0/16
allow from 93.113.224.0/20
allow from 93.114.16.0/20
allow from 93.114.104.0/21
allow from 93.115.120.0/21
allow from 93.115.144.0/21
allow from 93.115.216.0/21
allow from 93.115.224.0/20
allow from 93.117.0.0/19
allow from 93.117.32.0/20
allow from 93.117.96.0/19
allow from 93.117.176.0/20
allow from 93.118.96.0/19
allow from 93.118.128.0/19
allow from 93.118.160.0/20
allow from 93.118.180.0/22
allow from 93.118.184.0/22
allow from 93.119.32.0/19
allow from 93.119.64.0/19
allow from 93.119.208.0/20
allow from 93.126.0.0/18
allow from 93.170.24.0/24
allow from 93.190.24.0/21
allow from 94.24.0.0/20
allow from 94.24.16.0/21
allow from 94.24.80.0/20
allow from 94.24.96.0/21
allow from 94.74.128.0/18
allow from 94.101.128.0/20
allow from 94.101.176.0/20
allow from 94.101.240.0/20
allow from 94.139.160.0/19
allow from 94.176.8.0/21
allow from 94.176.16.0/20
allow from 94.176.32.0/21
allow from 94.176.48.0/20
allow from 94.176.80.0/20
allow from 94.177.72.0/21
allow from 94.182.0.0/15
allow from 94.184.0.0/16
allow from 94.232.168.0/21
allow from 94.241.128.0/22
allow from 94.241.135.0/24
allow from 94.241.136.0/21
allow from 94.241.144.0/22
allow from 94.241.152.0/21
allow from 94.241.160.0/19
allow from 95.38.0.0/16
allow from 95.64.0.0/17
allow from 95.80.128.0/18
allow from 95.81.64.0/18
allow from 95.82.0.0/17
allow from 95.130.56.0/21
allow from 95.130.240.0/21
allow from 95.142.224.0/20
allow from 95.162.0.0/16
allow from 95.215.160.0/22
allow from 95.215.173.0/24
allow from 103.231.136.0/22
allow from 109.72.192.0/20
allow from 109.74.224.0/20
allow from 109.95.56.0/21
allow from 109.95.64.0/21
allow from 109.108.160.0/19
allow from 109.109.32.0/19
allow from 109.110.160.0/19
allow from 109.111.32.0/22
allow from 109.111.39.0/24
allow from 109.111.40.0/21
allow from 109.111.48.0/20
allow from 109.122.192.0/18
allow from 109.125.128.0/18
allow from 109.162.128.0/17
allow from 109.201.0.0/19
allow from 109.203.128.0/18
allow from 109.225.128.0/18
allow from 109.230.64.0/18
allow from 109.232.0.0/21
allow from 109.238.176.0/20
allow from 109.239.0.0/20
allow from 128.65.160.0/19
allow from 128.140.0.0/17
allow from 130.185.72.0/21
allow from 130.244.79.126/32
allow from 130.255.192.0/18
allow from 145.249.0.0/18
allow from 146.66.128.0/23
allow from 151.216.36.0/22
allow from 151.232.0.0/14
allow from 151.238.0.0/15
allow from 151.240.0.0/13
allow from 158.58.0.0/17
allow from 158.58.184.0/21
allow from 159.20.96.0/20
allow from 159.255.32.0/21
allow from 164.138.16.0/21
allow from 164.138.128.0/18
allow from 164.215.40.0/21
allow from 164.215.56.0/21
allow from 164.215.128.0/17
allow from 173.237.208.200/29
allow from 176.12.64.0/20
allow from 176.46.128.0/19
allow from 176.56.144.0/20
allow from 176.62.144.0/21
allow from 176.65.160.0/19
allow from 176.65.192.0/18
allow from 176.67.64.0/20
allow from 176.101.32.0/20
allow from 176.101.48.0/21
allow from 176.102.224.0/19
allow from 176.110.108.0/22
allow from 176.122.210.0/23
allow from 176.123.64.0/18
allow from 176.124.64.0/22
allow from 176.221.16.0/20
allow from 176.221.64.0/21
allow from 176.223.80.0/21
allow from 178.21.40.0/21
allow from 178.21.160.0/21
allow from 178.22.72.0/22
allow from 178.22.76.0/23
allow from 178.22.120.0/21
allow from 178.131.0.0/16
allow from 178.157.0.0/18
allow from 178.173.128.0/17
allow from 178.215.0.0/18
allow from 178.216.248.0/21
allow from 178.219.224.0/20
allow from 178.236.32.0/20
allow from 178.238.192.0/20
allow from 178.239.144.0/20
allow from 178.248.40.0/21
allow from 178.251.208.0/21
allow from 178.252.128.0/18
allow from 178.253.0.0/18
allow from 179.60.151.0/24
allow from 185.2.12.0/22
allow from 185.3.124.0/22
allow from 185.3.200.0/22
allow from 185.3.212.0/22
allow from 185.4.0.0/22
allow from 185.4.16.0/22
allow from 185.4.28.0/22
allow from 185.4.104.0/22
allow from 185.4.220.0/22
allow from 185.5.156.0/22
allow from 185.8.172.0/23
allow from 185.8.174.0/32
allow from 185.10.72.0/22
allow from 185.11.68.0/22
allow from 185.11.88.0/22
allow from 185.11.176.0/22
allow from 185.12.60.0/22
allow from 185.12.100.0/23
allow from 185.12.102.0/24
allow from 185.13.228.0/22
allow from 185.14.80.0/22
allow from 185.14.160.0/22
allow from 185.16.232.0/22
allow from 185.18.212.0/22
allow from 185.20.160.0/22
allow from 185.21.68.0/22
allow from 185.21.76.0/22
allow from 185.22.28.0/22
allow from 185.23.128.0/22
allow from 185.24.136.0/22
allow from 185.24.148.0/22
allow from 185.24.228.0/22
allow from 185.24.252.0/22
allow from 185.26.32.0/22
allow from 185.26.208.0/22
allow from 185.26.232.0/22
allow from 185.29.220.0/22
allow from 185.30.4.0/22
allow from 185.30.76.0/22
allow from 185.31.124.0/22
allow from 185.32.128.0/22
allow from 185.34.160.0/22
allow from 185.36.192.0/22
allow from 185.37.52.0/22
allow from 185.39.180.0/22
allow from 185.40.224.0/22
allow from 185.40.240.0/22
allow from 185.41.0.0/22
allow from 185.42.24.0/22
allow from 185.42.212.0/22
allow from 185.42.224.0/22
allow from 185.44.36.0/22
allow from 185.44.64.0/22
allow from 185.44.100.0/22
allow from 185.44.112.0/22
allow from 185.45.188.0/22
allow from 185.46.0.0/22
allow from 185.46.108.0/22
allow from 185.46.216.0/22
allow from 185.47.48.0/22
allow from 185.49.84.0/22
allow from 185.49.96.0/22
allow from 185.49.104.0/22
allow from 185.50.37.0/24
allow from 185.50.38.0/23
allow from 185.51.40.0/22
allow from 185.51.200.0/22
allow from 185.55.224.0/22
allow from 185.56.92.0/22
allow from 185.56.96.0/22
allow from 185.57.132.0/22
allow from 185.57.164.0/22
allow from 185.57.200.0/22
allow from 185.58.240.0/22
deny from all
# update :
</Limit>
کد رو به اولین خط اضافه کردم اما بازم همونطوریه کش مرورگر و کش موبایل رو هم پاک کردم
البته تو کامپیوتر وقتی از رو خوده سرور دانلود کلیک میکنه دانلود میاد اما وقتی که روی ایکون دانلود از داخل سایت اقدام میکنم صفحه ی جدید همونطوریه
روش دیگه ای مد نظرم نیست.
این فایل ها تو هاست دانلودم هستن
این رو هم تست کنید اگه جواب داد بگید من هم لازم دارم همچین موردی رو دقیقاً:
<FilesMatch "\.(?i:mp3)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
تو .htaccess قرار بدم
سلام قرار دادم همونطور هست این تو گوگل کروم اینطور هست با مروگر خوده موبایل گزینه ی دانلود رو میاره البته برای دوستانی هم که سایت موزیک دارن لینک کوتاهشون رو که باز میکنم با خوده گوگل کروم هم دانلود میشه
یه نمونه از سایتهایی که این جوری هست رو معرفی میکنید؟
خط آخر کد رو هم پیست نکرده بوده البته. این کامله برای mp3 و mp4. با توجه به اینکه فایلهاتون روی سابدومین هست نباید مشکلی باشه ولی محض تست یکی از فایلهایی که رو سابدومین نیست رو برای دانلود بزارید و ببینید باز همون جوریه یا نه.
<FilesMatch "\.(mp3|mp4)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>
http://xmusicofficial.com/
سایت خودم هست اگه تو Recommended Tracks دانلود نشد وارد تب tracks بشید و اینکه من این کدارو کجا بزارم ؟
فایل پوسته رو ویرایش کنین طبق اسکرین شات زیر:
و همانند کد زیر واژه download رو در تگ a در آخر وارد کنین:
<div class="track-col track-col-buttons">
<a href="https://xmusicofficial.com/wp-content/uploads/2018/07/Danial-Amani-Time.mp3" target="_self" class="track-button track-download anim--reveal" download>
<span>Download</span>
</a>
</div>
چون تو وب سایت شما، آنلاین هم پلی می کنین، اضافه کردن کد در htaccess باعث میشه که فایل هایی که پخش شدنی هستن هم دانلود بشن. باید از طریق کد بالا پوسته رو ویرایش کنین. اگر از مشتریان سون هاست هستید، تیکت باز کنین براتون انجام میدیم.
متاسفانه مشتری سون هاست نیستم و تازه اشنا شدم با سایت خوبتون .این کاری که گفتین رو لوکال هاست وقتی incpectمیزنم اخر تگ download مزنم درست دانلود میشه ولی وقتی رو خود سایت انجام مستقیم دانلود نمیشه مثل قبل هست و برای اینکه کد رو در چه فایلی بزارم اگه میشه بیشتر راهنمایی کنید خیلی ممنونم ازتون
متاسفانه چیزی نیست که بخوام همینطوری نظر بدم. باید قالب شما رو بررسی کرد و فایلی که این کد درون اون ذخیره شده رو پیدا کرد و با ساخت child theme این تغییرات رو ایجاد کرد. پیشنهاد می کنم یه توسعه دهنده تو سایت پونیشا استخدام کنین تا این تغییر جزیی رو براتون انجام بدن.
منمون از راهنمایی خوبتون theme child دارم میگردم کد رو پیدا میکنم بازم ممنون ازتون
سلام مشکل من حل شد ربطی به کد و … نداشت
با میزبان هاست دانلودتون تماس بگیرید و بهشون بگید قابلیت فورس دانلود (Force Download) رو برای فرمت MP3 بر روی هاست دانلود شما فعال کنند
همچنین قابلیتی وجود خارجی نداره و یه امکان هاست نیست که یه میزبان بخواد فعال کنه. اونها هم یه کد براتون گذاشتن تو htaccess یا کد html یا function در php.
سلام تو انجمن وردپرس مطرح کردم این رو گفتن بهم به هاستینگ دانلودم گفت اوکیش کرد نمیدونم حالا چطوری
اما اون مشکل اولیه فقط تو گوگل کروم بود باقی مرورگر ها مشکل نداشتند
سلام
من همین مشکل داشتم با این کد مشکل حل شد و فایل به جای اجرا دانلود میشه
اینجوری بهتره کاربر اذیت نمیشه ، اگه دانلود منیجر نداشته باشه سریع براش گذینه دانلود میاد دیگه نیازی نیست Save As بزنه
ممنون از شما
منم همین مشکل رو داشتم با این کد مشکلم حل شد مرسی عزیز