![]() |
[مشكلة] : الروابط العربي لا تفتح بالسكربت السلام عليكم ورحمة الله وبركاتة أخوانى الاعزاء لدى مشكلة فى هذا السكربت ط£ط³ط§ط*ط¨ظٹ ظپظٹ ط¯ط¨ظٹ - 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