منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   [مشكلة] : الروابط العربي لا تفتح بالسكربت (http://vb.ma7room.com/showthread.php?t=1381259)

محروم.كوم 02-15-2014 12:00 PM

[مشكلة] : الروابط العربي لا تفتح بالسكربت
 
السلام عليكم ورحمة الله وبركاتة
أخوانى الاعزاء
لدى مشكلة فى هذا السكربت
ط£ط³ط§ط*ط¨ظٹ ظپظٹ ط¯ط¨ظٹ - Asa7be Fi Dubai
وهو أنني اشتريت السكربت من موقع اجنبي من الشركة
والسكربت اللغة انجليزية
فقمت بتحويل ملفات السكربت الى ترميز utf
وقمت بتعريب بعض الكلمات على اساس يكون به ملف عرب وملف انجليزي
وعندما وضعت صور به بعناوين باللغة العربية لا تفتح يفتح صفحة (404)
وعند رفع اللغة الاصلية (لا تفتح وتفتح 404)

فاظن ان المشكلة فى ملف .htaccess

فارفقت الملف لادراج اللغة العربية به أو تحويل الروابط العربي إلى HTML

رمز PHP:
RewriteEngine On
RewriteBase
/
##enable gzip
#php_value output_handler ob_gzhandle

##Redirect www to non-www:
#RewriteCond %{HTTP_HOST} ^www.yourdomain.com [NC]
#RewriteRule ^(.*)$ http://yourdomain.com/$1 [L,R=301]

##Redirect non-www to www:
#RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
#RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]

RewriteRule ^rss rss.php [L]
RewriteRule ^error index.php?task=error [L]

##videos
RewriteRule ^submit_video index.php?task=submit&type=videos [L]

##images
RewriteRule ^submit_image_from_url index.php?task=submit&type=image_from_url [L]
RewriteRule ^submit_image index.php?task=submit&type=images [L]
RewriteRule ^submit_multiple_images index.php?task=submit&type=multiple_images [L]

##pages
RewriteRule ^page-([0-9]+) index.php?page=$1 [L]
RewriteRule ^page/([0-9]+) index.php?task=view_page&id=$1 [L]
RewriteRule ^page/([^/\.]+) index.php?task=view_page&name=$1 [L]




##rating
RewriteRule ^top-views index.php?task=top-views [L]
RewriteRule ^top-rated index.php?task=top-rated [L]

##categories
RewriteRule ^category/([a-zA-Z0-9-]+)/page/([0-9]+) index.php?task=category&category=$1&page=$2 [L]
RewriteRule ^category/([a-zA-Z0-9-]+) index.php?task=category&category=$1 [L]

##search
RewriteRule ^search/([a-zA-Z0-9-]+)/page/([0-9]+) index.php?task=search&s=$1&page=$2 [L]
RewriteRule ^search/([a-zA-Z0-9-]+) index.php?task=search&s=$1&page=1 [L]
RewriteRule ^search index.php?task=search [L]

##users
RewriteRule ^login/new_user/([a-zA-Z0-9-]+) index.php?task=login&new_user=$1 [L]
RewriteRule ^login/error index.php?task=login&error=1 [L]
RewriteRule ^login/([a-zA-Z0-9-]+) index.php?task=login&provider=$1 [L]
RewriteRule ^login index.php?task=login [L]
RewriteRule ^logout index.php?task=logout [L]
#my_profile
RewriteRule ^my_profile/submitted/page/([0-9]+) index.php?task=my_profile&by=submitted&page=$1 [L]
RewriteRule ^my_profile/rated/page/([0-9]+) index.php?task=my_profile&by=rated&page=$1 [L]
RewriteRule ^my_profile/settings index.php?task=my_profile_settings [L]
RewriteRule ^my_profile index.php?task=my_profile [L]
#user
RewriteRule ^user/([a-zA-Z0-9-]+)/page/([0-9]+) index.php?task=user&user=$1&page=$2 [L]
RewriteRule ^user/([a-zA-Z0-9-]+) index.php?task=user&user=$1 [L]

##tags
RewriteRule ^tag/([a-zA-Z0-9-]+)/page/([0-9]+) index.php?task=tag&tag=$1&page=$2 [L]
RewriteRule ^tag/([a-zA-Z0-9-]+) index.php?task=tag&tag=$1 [L]

##filesstats
RewriteRule ^recent-files/page/([0-9]+) index.php?task=filesstats&action=recent&page=$1 [L]
RewriteRule ^recent-files index.php?task=filesstats&action=recent&page=1 [L]
RewriteRule ^popular-files/page/([0-9]+) index.php?task=filesstats&action=popular&page=$1 [L]
RewriteRule ^popular-files index.php?task=filesstats&action=popular&page=1 [L]
RewriteRule ^trending-files/page/([0-9]+) index.php?task=filesstats&action=trending&page=$1 [L]
RewriteRule ^trending-files index.php?task=filesstats&action=trending&page=1 [L]

##Seo /view/id.seo_extension
RewriteRule ^view/([0-9]+) index.php?task=view&id=$1 [L]
RewriteRule ^view/([0-9]+)\.([^/\.]+) index.php?task=view&id=$1 [L]

##Seo /seo-name.seo_extension
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^([a-zA-Z0-9-]+)\.([a-zA-Z0-9]+) index.php?task=view&name=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^([a-zA-Z0-9-]+)/([0-9]+) index.php?task=view&name=$1&user=$2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond
%{REQUEST_FILENAME} !-d
RewriteRule
^([a-zA-Z0-9-]+) index.php?task=view&name=$1 [L]
#RewriteRule ^([a-zA-Z0-9-]+) index.php?task=view&name=$1 [NC,QSA,L]

#
# Header set Expires "Thu, 31 Dec 2037 23:55:55 GMT"
# Header set Cache-Control "public,max-age=315360000"
# Header set Vary "Accept-Encoding"
#
####
#
#Header unset ETag
#FileETag None
#

#

# Enable expirations
#ExpiresActive On

# Default directive
#ExpiresDefault "access plus 1 month"

# My favicon
#ExpiresByType image/x-icon "access plus 1 year"

# Images
#ExpiresByType image/gif "access plus 1 month"
#ExpiresByType image/png "access plus 1 month"
#ExpiresByType image/jpg "access plus 1 month"
#ExpiresByType image/jpeg "access plus 1 month"
#ExpiresByType text/css "access 1 year"
#ExpiresByType text/javascript "access 1 year"
#ExpiresByType text/x-javascript "access 1 month"
#ExpiresByType application/x-shockwave-flash "access 1 month"

# CSS
#ExpiresByType text/css "access 1 month"

# Javascript
#ExpiresByType application/javascript "access plus 1 year"

#

##Seo /id/seo_name.seo_extension
#RewriteRule ^([0-9]+)/([^/\.]+) index.php?task=view&id=$1 [L]
##Seo /id-seo_name.seo_extension
#RewriteRule ^([0-9]+)-([^/\.]+) index.php?task=view&id=$1 [L]
##Seo /seo_name-id.seo_extension
#RewriteRule ^([0-9]+)/([^/\.]+) index.php?task=view&id=$1 [L]
##Seo /seo_name.seo_extension
#RewriteRule ^([0-9]+)/([^/\.]+) index.php?task=view&id=$1 [L]
#RewriteRule ^([0-9]+)/([^/\.]+)\.([^/\.]+) index.php?task=view&id=$1 [L]
#RewriteRule ^([0-9]+)/([^/\.]+) index.php?task=view&id=$1 [L]
#RewriteRule ^([0-9]+)-([^/\.]+)\.([^/\.]+) index.php?task=view&id=$1 [L]
#RewriteRule ^([0-9]+)-([^/\.]+) index.php?task=view&id=$1 [L]
#RewriteRule ^([^/\.]+)-([0-9]+)\.([^/\.]+) index.php?task=view&id=$2 [L]
#RewriteRule ^([^/\.]+)-([0-9]+) index.php?task=view&id=$2 [L]

#AddType font/ttf .ttf
#AddType font/eot .eot
#AddType font/otf .otf
#AddType font/woff .woff


الساعة الآن 04:31 AM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227