Free Checking for Bloggers - Sign up in 5 Minutes! فحص لأصحاب المدونات الإلكترونية الحرة -- اشترك في 5 دقائق!
Powered by MaxBlogPress مدعوم من MaxBlogPress

كيف لي الثابتة دروبال النظيفة باستخدام عنوان 's(GoDaddy.com استضافة | JTPRATT's أخطاء المدونات
JTPratt 'sأخطاء المدونات





Home المنزل » How I Fixed Drupal Clean URL’s Using GoDaddy Hosting »كيف لي الثابتة دروبال النظيفة باستخدام عنوان's استضافة GoDaddy.com)



Posted in: نشر في :

بلوق بين الإعداد فئة الصورةدروبال فئة الصورةشبكة الإنترنت تستضيف فئة الصورة
5,489 views 5.489 آراء


Please note: This page was originally written in English. الرجاء ملاحظة : هذه الصفحة كان أصلا مكتوب باللغة الانكليزية.

The original post can be viewed الأصلي بعد ويمكن النظر إلى here هنا .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


I use Wordpress for nearly all of my web sites, but I still own two Drupal sites.  As I posted previously, I moved all my sites to GoDaddy within the last month, and these two sites were no exception.  I started up a premium account, and had a main domain, and then in their control panel I mapped domain names to sub-folders.  This is very handy for me in ftp, all of my web sites are available to me in one place, separated only by folder. الأول لاستخدام وورد تقريبا جميع من بلدي المواقع على شبكة الإنترنت ، ولكنني لا أزال أملك اثنين دروبال sites.à ، وكما نشرت في السابق ، انتقلت جميع المواقع لبلدي (GoDaddy.com) في غضون الشهر الماضي ، واثنين من هذه المواقع لا exception.à ، لقد بدأت حتى وهو قسط حساب ، وكان المجال الرئيسي ، وبعد ذلك في لوحة التحكم الأول خرائط لأسماء النطاقات الفرعية folders.à ، وهو جدا يدوية وهذا هو بالنسبة لي في بروتوكول نقل الملفات ، كل من بلدي المواقع على شبكة الإنترنت متاحة للي في مكان واحد ، ولا يفصل بينهما سوى مجلد.

At first my Drupal sites appeared to work fine when I migrated them.  However, it was only the home page.  Any link you clicked on came up server error - both Drupal sites.  I knew GoDaddy allowed Drupal, they have an autoinstall available for it in Metropolis.  I setup a test dir and installed Drupal there using the automated tool.  It had the same problem.  Now I knew that it wasn’t my site, it was a GoDaddy problem.  I called GoDaddy tech support and they raised an elevated ticket to the an advanced tech.  I explained the problem to him, and told him I thought it had something to do with the .htaccess files or server setup.  His response was that they “don’t debug code”. في البداية بدا لي دروبال مواقع العمل غرامة them.à عندما هاجر ، بيد أنه لم يكن من المنزل page.à ، أي الارتباط الذي تم النقر على الخادم حتى جاء خطأ -- على حد سواء sites.à دروبال ، وكنت اعرف (GoDaddy.com) يسمح لل دروبال ، لديها autoinstall المتاحة لأنها في Metropolis.à ، الأول الإعداد اختبار دير وتركيبها باستخدام دروبال هناك tool.à الآلي ، وكان نفس problem.à ، والآن عرفت أنه ليس من بلدي الموقع ، كان (GoDaddy.com) problem.à ، دعوت (GoDaddy.com دعم التكنولوجيا وأثار ارتفاع التذاكر إلى tech.à متقدمة ، وشرحت له المشكلة ، وقال له رأيت أنه قد يكون لهذا علاقة مع . htaccess ملفات أو الخادم setup.à ، كان جوابه أنها "لا تصحيح قانون".

I was going to respond when I figured out what the problem was.  My main domain had it’s own (wordpress) .htaccess file.  I thought at first that was the problem.  Then I remembered, when you have a shared host with domains mapped to sub-directories it’s setup in the apache httpd.conf file I believe (hardcoded).  Essentially, when a request comes in to that IP address from a domain name, the web server knows which folder to forward it too.  (Without some customization) I don’t think the web server could handle that redirect, on top of an .htaccess file rewriting the URL’s to ‘clean url’s’ (permalinks). كنت ذاهبا للرد عندما برزت مشكلة ما was.à ، وهو المجال الرئيسي لبلدي أو أنها قد بلده (ووردبرس]). htaccess file.à ، اعتقدت في البداية أن كان problem.à ، ثم تذكرت ، عندما يكون لديك مشتركة مع المضيفة لرسم المجالات الفرعية أدلة انها الإعداد في ملف httpd.conf اباتشي أعتقد (hardcoded). ألف ، أساسا ، عندما طلب أن يأتي لمعالجة الملكية الفكرية من اسم حقل ، ملقم الويب الذي يعرف المجلد إلى الأمام لأنها too.à ، (أ) (بدون تكييف بعض) لا اعتقد ان التعامل مع خادم الويب يمكن أن تعيد توجيه ، على رأس أحد. htaccess ملف إعادة كتابة عنوان الموقع ل's' النظيفة عنوان 's '(permalinks).

So - long story short, IF you have an GoDaddy hosting account, and IF you have multiple domain names (and you’re planning on using clean URL’s), you can only do it from the root of your account (or main domain name) only.  I did fix the problem, but ended up buying two additional basic hosting accounts ($3.99 per month) for each domain, and then both sites worked flawlessly. حتى -- قصة قصيرة طويلة ، واذا كان لديك حساب استضافة GoDaddy.com) ، وإذا كان لديك أسماء النطاقات المتعددة (وكنت على التخطيط باستخدام النظيفة عنوان 's) ، يمكنك القيام بذلك إلا من الجذر من حسابك (أو المجال الرئيسي اسم) only.à ، أنا لم يحل المشكلة ، لكنه انتهى به الأمر شراء إضافيتين الأساسية التي تستضيف حسابات (3.99 دولار شهريا) عن كل مجال ، وبعد ذلك كل المواقع وعمل لا تشوبه شائبة.

If you have some other fix (or comment) related to hosting Drupal or Wordpress sites at GoDaddy - please comment now below! وإذا كان لديك غيرها من تحديد بعض (أو تعليق) ذات الصلة أو دروبال لاستضافة المواقع وورد في (GoDaddy.com) -- يرجى التعليق الآن أدناه!


6 Responses to “How I Fixed Drupal Clean URL’s Using GoDaddy Hosting” 6 ردود على "كيف لي الثابتة دروبال النظيفة عنوان's GoDaddy.com) وباستخدام استضافة "

  1. AmitG AmitG Has the following to say... وقد التالي ليقول...

    hi jtpratt! jtpratt الفائقة!

    i faced a similar problem. أنا واجهت مشكلة مماثلة. But i managed to fix this by creating a new .htaccess file in the (subfolder/root) of my 2nd domain. ولكنني تمكنت من تحديد ذلك من خلال خلق جديد. htaccess في ملف (subfolder / الجذر) من بلدي 2nd المجال. This is the code for the modified .htaccess file وهذا هو رمز للتعديل. htaccess ملف

    Have fun! وقد متعة! no more dual purchases from godaddy :) لا المزدوجة شراء أكثر من (GoDaddy.com) :)
    AmitG
    Email: البريد الإلكتروني : rapidsynopsis@gmail.com
    Website: الموقع الإلكتروني : http://www.rapidsynopsis.com
    _________________________________________________ ______________________________________________

    #
    # Apache/PHP/Drupal settings: # اباتشي / PHP / دروبال إعدادات :
    #

    # Protect files and directories from prying eyes. # حماية الملفات والأدلة من عيون المتطفل.

    Order deny,allow من أجل حرمان ، والسماح لل
    Deny from all حرمان من جميع

    # Set some options. # تحديد بعض الخيارات.
    Options -Indexes خيارات بين الأرقام القياسية
    Options +FollowSymLinks خيارات + FollowSymLinks

    # Customized error messages. # المخصص رسائل خطأ.
    ErrorDocument 404 /index.php ErrorDocument 404 / index.php

    # Set the default handler. # المجموعة الافتراضية المعالج.
    DirectoryIndex index.php DirectoryIndex index.php

    # Override PHP settings. # تجاوز إعدادات PHP. More in sites/default/settings.php المزيد من المواقع في / التقصير / settings.php
    # but the following cannot be changed at runtime. # ولكن التالية لا يمكن تغييرها في وقت التشغيل.

    # PHP 4, Apache 1 # PHP 4 ، اباتشي 1

    php_value magic_quotes_gpc 0 php_value magic_quotes_gpc 0
    php_value register_globals 0 php_value register_globals 0
    php_value session.auto_start 0 php_value session.auto_start 0

    # PHP 4, Apache 2 # PHP 4 ، اباتشي 2

    php_value magic_quotes_gpc 0 php_value magic_quotes_gpc 0
    php_value register_globals 0 php_value register_globals 0
    php_value session.auto_start 0 php_value session.auto_start 0

    # PHP 5, Apache 1 and 2 # PHP 5 ، أباتشي 1 و 2

    php_value magic_quotes_gpc 0 php_value magic_quotes_gpc 0
    php_value register_globals 0 php_value register_globals 0
    php_value session.auto_start 0 php_value session.auto_start 0

    # Reduce the time dynamically generated pages are cache-able. # تقليل الوقت الصفحات المولدة ديناميكيا بين قادرة على مخبأ.

    ExpiresByType text/html A1 ExpiresByType نص / هتمل A1

    # Various rewrite rules. # إعادة كتابة قواعد مختلفة.

    RewriteEngine on RewriteEngine على

    # If your site can be accessed both with and without the prefix # إذا كان موقعك ويمكن الاطلاع على حد سواء مع وبدون البادئة http://www .
    # you can use one of the following settings to force user to use only one option: # يمكنك استخدام واحدة من الإعدادات التالية لإجبار المستخدم لاستخدام خيار واحد :
    #
    # If you want the site to be accessed WITH the # إذا كنت تريد الوصول إلى الموقع مع http://www . only, adapt and uncomment the following: فقط ، وتكييفها ، وحرر ما يلي :
    # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] # RewriteCond ٪ (HTTP_HOST)! ^ المراقبة العالمية للطقس \. مثال \. كوم دولار [NC]
    # RewriteRule .* # RewriteRule *. http://www.example.com/ [L,R=301] [لام ، صاد = 301]
    #
    # If you want the site to be accessed only WITHOUT the # إذا كنت تريد الوصول الى الموقع فقط دون http://www . , adapt and uncomment the following: ، وتكييفها ، وحرر ما يلي :
    # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] # RewriteCond ٪ (HTTP_HOST)! ^ مثال \. كوم دولار [NC]
    # RewriteRule .* # RewriteRule *. http://example.com/ [L,R=301] [لام ، صاد = 301]

    # Modify the RewriteBase if you are using Drupal in a subdirectory and # تعديل RewriteBase إذا كنت تستخدم دروبال في دليل فرعي و
    # the rewrite rules are not working properly. # فإن إعادة كتابة قواعد لا تعمل بشكل سليم.
    RewriteBase / RewriteBase /

    # Rewrite old-style URLs of the form ‘node.php?id=x’. # إعادة الكتابة القديمة على غرار عناوين المواقع على شكل 'node.php؟ هوية س ='.
    #RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond ٪ () REQUEST_FILENAME! - و
    #RewriteCond %{REQUEST_FILENAME} !-d # RewriteCond ٪ () REQUEST_FILENAME! - د
    #RewriteCond %{QUERY_STRING} ^id=([^&]+)$ # RewriteCond ٪ (QUERY_STRING) ^ هوية =([^&]+)$
    #RewriteRule node.php index.php?q=node/view/%1 [L] # RewriteRule node.php index.php؟ ف = العقدة / الرأي / 1 ٪ [ل]

    # Rewrite old-style URLs of the form ‘module.php?mod=x’. # إعادة الكتابة القديمة على غرار عناوين المواقع على شكل 'module.php؟ وزارة الدفاع = خ'.
    #RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond ٪ () REQUEST_FILENAME! - و
    #RewriteCond %{REQUEST_FILENAME} !-d # RewriteCond ٪ () REQUEST_FILENAME! - د
    #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$ # RewriteCond ٪ (QUERY_STRING) ^ وزارة الدفاع =([^&]+)$
    #RewriteRule module.php index.php?q=%1 [L] # RewriteRule module.php index.php؟ ف = ٪ 1 [ل]

    # Rewrite rules for static page caching provided by the Boost module # إعادة كتابة قواعد جامدة للتخزين الصفحة في الذاكرة المخبئية التي تقدمها وحدة الدافع
    # BOOST START # زيادة ستارت

    AddCharset utf-8 .html AddCharset الرموز العالميه لتحوير الهيئة - 8. هتمل

    RewriteCond %{REQUEST_URI} !^/cache RewriteCond ٪ (REQUEST_URI)! ^ / مخبأ
    RewriteCond %{REQUEST_URI} !^/user/login RewriteCond ٪ (REQUEST_URI)! ^ / المستخدم / تسجيل الدخول
    RewriteCond %{REQUEST_URI} !^/admin RewriteCond ٪ (REQUEST_URI)! ^ / الادارية لل
    RewriteCond %{HTTP_COOKIE} !DRUPAL_UID RewriteCond ٪ () HTTP_COOKIE! DRUPAL_UID
    RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond ٪ () ^ REQUEST_METHOD حصول على دولار
    RewriteCond %{QUERY_STRING} ^$ RewriteCond ٪ (QUERY_STRING) ^ $
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI} -d RewriteCond ٪ (DOCUMENT_ROOT) / مخبأ / ٪ (SERVER_NAME) / 0 / ٪ (REQUEST_URI) - د
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}/index.html -f RewriteCond ٪ (DOCUMENT_ROOT) / مخبأ / ٪ (SERVER_NAME) / 0 / ٪ (REQUEST_URI) / index.html - و
    RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1/index.html [L] RewriteRule ^(.*)$ مخبأ / ٪ (SERVER_NAME) / 0 / دولار 1/index.html [ل]
    RewriteCond %{REQUEST_URI} !^/cache RewriteCond ٪ (REQUEST_URI)! ^ / مخبأ
    RewriteCond %{REQUEST_URI} !^/user/login RewriteCond ٪ (REQUEST_URI)! ^ / المستخدم / تسجيل الدخول
    RewriteCond %{REQUEST_URI} !^/admin RewriteCond ٪ (REQUEST_URI)! ^ / الادارية لل
    RewriteCond %{HTTP_COOKIE} !DRUPAL_UID RewriteCond ٪ () HTTP_COOKIE! DRUPAL_UID
    RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond ٪ () ^ REQUEST_METHOD حصول على دولار
    RewriteCond %{QUERY_STRING} ^$ RewriteCond ٪ (QUERY_STRING) ^ $
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}.html -f RewriteCond ٪ (DOCUMENT_ROOT) / مخبأ / ٪ (SERVER_NAME) / 0 / ٪ (REQUEST_URI). هتمل - و
    RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1.html [L] RewriteRule ^(.*)$ مخبأ / ٪ (SERVER_NAME) / 0 / دولار 1.html [ل]
    # BOOST END # دعم نهاية

    # Rewrite current-style URLs of the form ‘index.php?q=x’. # إعادة الكتابة الحالية على غرار عناوين المواقع على شكل 'index.php؟ ف س ='.
    RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ٪ () REQUEST_FILENAME! - و
    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond ٪ () REQUEST_FILENAME! - د
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] RewriteRule ^(.*)$ index.php؟ ف = 1 دولار [لام ، QSA]

    # $Id: boosted.txt,v 1.4 2006/12/05 10:39:19 arto Exp $ # $ رقم تعريف : boosted.txt ، والخامس 1.4 2006/12/05 10:39:19 أرتو إكسب دولار
    _________________________________________________ ______________________________________________

  2. krikette krikette Has the following to say... وقد التالي ليقول...

    I couldn’t get the code above for .htaccess to work, but using rewritebase / seems to do the trick — except that now my images don’t show correctly. لم أستطع الحصول على رمز أعلاه ل. htaccess إلى العمل ، ولكن باستخدام rewritebase / يبدو أن تفعل خدعة -- إلا أن بلدي الآن الصور لا تظهر بشكل صحيح.

    Anyone know anything about the images bonking up now? أي شخص يعرف شيئا عن الصور bonking حتى الآن؟ They’re put in by FCKeditor in the /files/ directory. انهم في وضع من قبل في FCKeditor / ملفات / دليل.

    =) ص

  3. krikette krikette Has the following to say... وقد التالي ليقول...

    Mind you, with just rewritebase / - trying to view the site directly from the original location: اعتبارها لكم ، مع عادل rewritebase / -- محاولة عرض الموقع مباشرة من الموقع الأصلي : http://www.example.com/site1 will pop you back into the “main” godaddy site. وسوف البوب لكم بالعودة الى "الرئيسية" (GoDaddy.com الموقع. but its reachable by the main URL except for images. ولكن يمكن التوصل إليه عن طريق العنوان الرئيسي باستثناء الصور. :/ : /

  4. Dana Vienas دانا Vienas Has the following to say... وقد التالي ليقول...

    Ugh, I wish I had seen this tip before I uninstalled Drupal and put Wordpress on my new site. هتاف اشمئزاز ، وأود أن كنت قد ينظر إلى هذه النصيحة لي قبل إلغاء تثبيت دروبال ووضع بلدي وورد على الموقع الجديد.

    Beside the clean url issue, I was also having real trouble setting up a drupal forum. بجانب النظيفة عنوان الموضوع ، وكنت أيضا وجود مشكلة حقيقية إنشاء منتدى دروبال. Do you know of any good tutorial sites for drupal? هل تعرف أي مواقع تعليمية جيدة لدروبال؟

    Dana Vienass last blog post.. دانا Vienass الماضي بعد انتهاء بلوق.. The Whole Truth About Diet Pills الحقيقة الكاملة عن النظام الغذائي الحبوب

  5. admin الادارية Has the following to say... وقد التالي ليقول...

    @Dana - no I don’t, I used Drupal exclusively on all my sites for 2 years and then changed them all over to Wordpress for that very reason. @ دانا -- لا أنا لا ، كنت دروبال حصرا على جميع المواقع لبلدي 2 سنوات وبعد ذلك تغير كل منها إلى أكثر من وورد لهذا السبب بالذات. Compare to Wordpress, there are only (maybe) 5-10% as much themes, plugins, and support for Drupal. قارن لوورد ، هناك فقط (ربما) 5-10 ٪ قدر المواضيع ، المحمول ، ودعم لدروبال. I hate Drupal - I will never go back… أنا أكره دروبال -- أنا لن يعود...

  6. Krikette Krikette Has the following to say... وقد التالي ليقول...

    @Dana - If you’re still having a lot of problems with the Drupal forums and haven’t stuck to Wordpress I’d be happy to help you. @ دانا -- إذا كنت لا تزال لديها الكثير من المشاكل مع المنتديات ودروبال لم تمسك وورد سأكون سعيدة لمساعدتك.

Question or Comment?? السؤال أو التعليق؟؟ Spill it Now... انسكاب الآن...

القفز للفرح أكثر من التعليقات!

We Reward Comments! نحن مكافأة تعليقات!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! نحن dofollow الروابط ، وإحصل على أحدث ما بعد بلوق بوصفها الخط الثانوي تحت كل تعليق من جديدا "CommentLuv" البرنامج المساعد! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! أعلى commenters كل شهر لترد على كل صفحة من هذا الموقع في الشريط الجانبي القطعة مرتبطة العودة إلى وصلتك! We would like to reward you for becoming part of our community! ونود أن مكافأة لك لتصبح جزءا من مجتمعنا! Your comment is valuable not only to us, but also all the other readers of this blog! تعليقك هو قيمة ليس فقط لنا ، بل أيضا سائر قراء هذا بلوق!


Click to add smilies to your post! انقر لإضافة الابتسامات إلى حسابك في ما بعد! == []^ = (= ((= (|=) ص= | 8= 0=) ~= 00= (= ؛ ؛=)]= ؛ ؛ ؛