Wp Affiliate Pro - The #1 Plugin For WordPress Blogs Wp Affiliate Pro - Die # 1-Plugin für WordPress Blogs
Powered by MaxBlogPress Powered by MaxBlogPress

Wie Ich Festverzinsliche Drupal Clean URL's mit Hilfe GoDaddy Hosting | JTPRATT's Bloggen Fehler
JTPratt's Bloggen Fehler





Home Heim » How I Fixed Drupal Clean URL’s Using GoDaddy Hosting »Wie ich die feste Drupal Clean URL's mit Hilfe GoDaddy Hosting



Posted in: Posted in:

Blog-setup Kategorie Bilddrupal Kategorie BildWeb-Hosting-Kategorie Bild
5,856 views 5856 mal angesehen


Please note: This page was originally written in English. Bitte beachten Sie: Diese Seite wurde ursprünglich in englischer Sprache.

The original post can be viewed Der ursprüngliche Post kann here hier .

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. Ich benutze Wordpress für fast alle meiner Web-Sites, aber ich noch zwei eigene Drupal sites.Ã,  Wie ich zuvor gebucht, ich alle meine Seiten zu GoDaddy innerhalb der letzten Monate, und diese beiden Standorten wurden keine exception.Ã,  Ich habe eine Premium-Account, und hatte einen Haupt-Domain, und dann in ihrem Control Panel I zugeordnet Domain-Namen an Sub-folders.Ã,  Dies ist sehr hilfreich für mich in ftp, die alle meine Web-Seiten sind die mir zur Verfügung steht in ein Ort, getrennt nur durch die Ordner.

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”. Auf den ersten meine Drupal-Sites erschienen funktionieren, wenn ich migriert them.Ã,  Es wurde jedoch nur die Heimat page.Ã,  Jeder Link, den Sie geklickt kam bis auf Server-Fehler - beide Drupal sites.Ã,  Ich wusste, dass GoDaddy erlaubt Drupal, sie haben ein autoinstall verfügbar für sie in Metropolis.Ã,  ich ein Setup-Test dir und installiert Drupal es mithilfe der automatischen tool.Ã,  Es hatte die gleiche problem.Ã,  Nun wußte ich, daß es war nicht meine Website, es war ein GoDaddy problem.Ã,  rief ich GoDaddy-Tech-Unterstützung, und sie hat eine erhöhte Ticket für die eine erweiterte tech.Ã,  Ich habe erläutert, das Problem zu ihm, und sagte ihm, ich dachte, es hatte etwas damit zu tun, die . htaccess-Dateien oder Server setup.Ã,  Seine Antwort war, dass sie "keine Debug-Code".

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). Ich ging zu reagieren, wenn ich herausgefunden, was das Problem was.Ã,  Meine Haupt-Domain hatte seinen eigenen (WordPress). Htaccess file.Ã,  Ich dachte, dass bei der ersten war die problem.Ã,  Dann Ich erinnerte mich an , Wenn Sie über eine Web-Hostern mit Domains zugeordnet Unter-Verzeichnissen ist es Setup in der Apache httpd.conf-Datei Ich glaube, (fest). Ã,  Im Wesentlichen, wenn eine Anfrage kommt, dass in die IP-Adresse von einem Domain-Namen, den Web-Server weiß, welche Ordner, ihn too.Ã, A (ohne einige Anpassungen) Ich glaube nicht, dass die Web-Server konnte handhaben, dass umleiten, die auf einer. htaccess-Datei die URL-Rewriting ist auf "saubere URL's "(Dauerlinks).

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. Also - lange Rede kurzer Sinn: Wenn Sie über ein GoDaddy Hosting-Accounts, und wenn Sie mehrere Domain-Namen (und Sie planen mit sauberen URL's), können Sie nur tun, sie aus der Wurzel von Ihrem Konto (oder Haupt-Domain Name) only.Ã,  Ich habe das Problem behoben ist, aber am Ende kauft zwei zusätzliche Hosting-Accounts (3,99 Dollar pro Monat) für jede Domain, und dann beide Seiten fehlerfrei gearbeitet.

If you have some other fix (or comment) related to hosting Drupal or Wordpress sites at GoDaddy - please comment now below! Wenn Sie über einige andere Fix (oder Kommentar) in Bezug auf Hosting Drupal oder Wordpress-Seiten auf GoDaddy - Bitte äußern Sie sich jetzt unten!


6 Responses to “How I Fixed Drupal Clean URL’s Using GoDaddy Hosting” 6 Responses to "Wie ich Fixed Drupal Clean URL's Verwendung von GoDaddy Hosting"

  1. AmitG AmitG Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    hi jtpratt! hi jtpratt!

    i faced a similar problem. i vor einem ähnlichen Problem. But i managed to fix this by creating a new .htaccess file in the (subfolder/root) of my 2nd domain. Aber ich es geschafft, dieses Problem beheben, indem Sie eine neue. Htaccess-Datei in der (Unterordner / root) meiner 2. Domain. This is the code for the modified .htaccess file Dies ist der Code für das geändert werden. Htaccess-Datei

    Have fun! Viel Spaß! no more dual purchases from godaddy :) nicht mehr Dual-Käufe von GoDaddy:)
    AmitG
    Email: E-Mail: rapidsynopsis@gmail.com
    Website: http://www.rapidsynopsis.com
    _________________________________________________

    #
    # Apache/PHP/Drupal settings: # Apache / PHP / Drupal-Einstellungen:
    #

    # Protect files and directories from prying eyes. # Schützen Sie Dateien und Verzeichnisse vor neugierigen Augen.

    Order deny,allow Order Deny, damit
    Deny from all Deny aus allen

    # Set some options. # Setzen Sie einige Optionen.
    Options -Indexes Optionen-Indizes
    Options +FollowSymLinks Optionen + FollowSymLinks

    # Customized error messages. # Customized Fehlermeldungen.
    ErrorDocument 404 /index.php 404 ErrorDocument / index.php

    # Set the default handler. # Setzen Sie die Standard-Handler.
    DirectoryIndex index.php DirectoryIndex index.php

    # Override PHP settings. # Override PHP-Einstellungen. More in sites/default/settings.php Mehr in sites / default / settings.php
    # but the following cannot be changed at runtime. # Aber die folgenden können nicht geändert werden zur Laufzeit.

    # PHP 4, Apache 1 # PHP 4, Apache 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, Apache 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, Apache 1 und 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. # Reduzieren Sie die Zeit dynamisch generierten Seiten sind Cache-fähig.

    ExpiresByType text/html A1 ExpiresByType text / html A1

    # Various rewrite rules. # Verschiedene Regeln neu schreiben.

    RewriteEngine on RewriteEngine auf

    # If your site can be accessed both with and without the prefix # Wenn Ihre Website zugegriffen werden kann sowohl mit als auch ohne das Präfix http://www .
    # you can use one of the following settings to force user to use only one option: # Sie können eine der folgenden Einstellungen zu zwingen Benutzer zu verwenden nur eine Option:
    #
    # If you want the site to be accessed WITH the # Wenn Sie möchten, dass die Website zugegriffen werden Mit der http://www . only, adapt and uncomment the following: nur, Anpassung und entfernen Sie die folgenden Schritte aus:
    # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] # RewriteCond% (HTTP_HOST)! ^ Www \. Example \. Com $ [NC]
    # RewriteRule .* # RewriteRule .* http://www.example.com/ [L,R=301] [L, R = 301]
    #
    # If you want the site to be accessed only WITHOUT the # Wenn Sie möchten, dass die Website zugegriffen werden nur ohne die http://www . , adapt and uncomment the following: , Anpassung und entfernen Sie die folgenden Schritte aus:
    # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] # RewriteCond% (HTTP_HOST)! ^ Beispiel \. Com $ [NC]
    # RewriteRule .* # RewriteRule .* http://example.com/ [L,R=301] [L, R = 301]

    # Modify the RewriteBase if you are using Drupal in a subdirectory and # Ändern Sie die RewriteBase, wenn Sie mit Drupal in ein Unterverzeichnis und
    # the rewrite rules are not working properly. # Umschreiben die Regeln sind nicht ordnungsgemäß funktioniert.
    RewriteBase / RewriteBase /

    # Rewrite old-style URLs of the form ‘node.php?id=x’. # Rewrite old-style URLs der Form 'node.php? Id = x'.
    #RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond% (REQUEST_FILENAME)!-F
    #RewriteCond %{REQUEST_FILENAME} !-d # RewriteCond% (REQUEST_FILENAME)!-D
    #RewriteCond %{QUERY_STRING} ^id=([^&]+)$ # RewriteCond% (QUERY_STRING) ^ id =([^&]+)$
    #RewriteRule node.php index.php?q=node/view/%1 [L] # RewriteRule node.php index.php? Q = node / view /% 1 [L]

    # Rewrite old-style URLs of the form ‘module.php?mod=x’. # Rewrite old-style URLs der Form 'module.php? Mod = x'.
    #RewriteCond %{REQUEST_FILENAME} !-f # RewriteCond% (REQUEST_FILENAME)!-F
    #RewriteCond %{REQUEST_FILENAME} !-d # RewriteCond% (REQUEST_FILENAME)!-D
    #RewriteCond %{QUERY_STRING} ^mod=([^&]+)$ # RewriteCond% (QUERY_STRING) ^ mod =([^&]+)$
    #RewriteRule module.php index.php?q=%1 [L] # RewriteRule module.php index.php? Q =% 1 [L]

    # Rewrite rules for static page caching provided by the Boost module # Rewrite Regeln für die statische Seite Caching zur Verfügung gestellt von der Boost-Modul
    # BOOST START # BOOST START

    AddCharset utf-8 .html AddCharset UTF-8. Html

    RewriteCond %{REQUEST_URI} !^/cache RewriteCond% (REQUEST_URI)! ^ / Cache
    RewriteCond %{REQUEST_URI} !^/user/login RewriteCond% (REQUEST_URI)! ^ / User / login
    RewriteCond %{REQUEST_URI} !^/admin RewriteCond% (REQUEST_URI)! ^ / Admin
    RewriteCond %{HTTP_COOKIE} !DRUPAL_UID RewriteCond% () HTTP_COOKIE! DRUPAL_UID
    RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond% REQUEST_METHOD () ^ $ GET
    RewriteCond %{QUERY_STRING} ^$ RewriteCond% (QUERY_STRING) ^ $
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI} -d RewriteCond% (DOCUMENT_ROOT) / cache /% (SERVER_NAME) / 0 /% (REQUEST_URI)-d
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}/index.html -f RewriteCond% (DOCUMENT_ROOT) / cache /% (SERVER_NAME) / 0 /% (REQUEST_URI) / index.html-f
    RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1/index.html [L] RewriteRule ^(.*)$ cache /% (SERVER_NAME) / 0 / $ 1/index.html [L]
    RewriteCond %{REQUEST_URI} !^/cache RewriteCond% (REQUEST_URI)! ^ / Cache
    RewriteCond %{REQUEST_URI} !^/user/login RewriteCond% (REQUEST_URI)! ^ / User / login
    RewriteCond %{REQUEST_URI} !^/admin RewriteCond% (REQUEST_URI)! ^ / Admin
    RewriteCond %{HTTP_COOKIE} !DRUPAL_UID RewriteCond% () HTTP_COOKIE! DRUPAL_UID
    RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond% REQUEST_METHOD () ^ $ GET
    RewriteCond %{QUERY_STRING} ^$ RewriteCond% (QUERY_STRING) ^ $
    RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}.html -f RewriteCond% (DOCUMENT_ROOT) / cache /% (SERVER_NAME) / 0 /% (REQUEST_URI). Html-f
    RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1.html [L] RewriteRule ^(.*)$ cache /% (SERVER_NAME) / 0 / $ 1.html [L]
    # BOOST END # BOOST END

    # Rewrite current-style URLs of the form ‘index.php?q=x’. # Rewrite aktuellen Stil-URLs der Form "index.php? Q = x '.
    RewriteCond %{REQUEST_FILENAME} !-f RewriteCond% (REQUEST_FILENAME)!-F
    RewriteCond %{REQUEST_FILENAME} !-d RewriteCond% (REQUEST_FILENAME)!-D
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] RewriteRule ^(.*)$ index.php? Q = $ 1 [L, QSA]

    # $Id: boosted.txt,v 1.4 2006/12/05 10:39:19 arto Exp $ # $ Id: boosted.txt, v 1,4 2006/12/05 10:39:19 Arto Exp $
    _________________________________________________

  2. krikette krikette Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    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. Ich könnte nicht den Code für die oben genannten. Htaccess zu arbeiten, sondern mit rewritebase / scheint zu tun, der Trick - es sei denn, dass jetzt meine Bilder nicht richtig anzeigen.

    Anyone know anything about the images bonking up now? Wer weiß etwas über die Bilder bonking Sie sich jetzt an? They’re put in by FCKeditor in the /files/ directory. Sie sind in der FCKeditor in der / files / Verzeichnis.

    =) r

  3. krikette krikette Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    Mind you, with just rewritebase / - trying to view the site directly from the original location: Bedenken Sie, mit nur rewritebase / - versucht, um die Seite direkt aus dem ursprünglichen Speicherort: http://www.example.com/site1 will pop you back into the “main” godaddy site. Pop wird Sie zurück in die "main" GoDaddy Website. but its reachable by the main URL except for images. aber seine erreichbar von der Haupt-URL, außer für Bilder. :/ : /

  4. Dana Vienas Dana Vienas Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    Ugh, I wish I had seen this tip before I uninstalled Drupal and put Wordpress on my new site. Ugh, ich wünschte, ich gesehen hatte diesen Tipp, bevor ich deinstalliert Drupal und Wordpress auf meiner neuen Website.

    Beside the clean url issue, I was also having real trouble setting up a drupal forum. Neben der sauberen url Frage, ich war auch mit realen Probleme zur Einrichtung eines Drupal-Forum. Do you know of any good tutorial sites for drupal? Kennen Sie gute Seiten Tutorial für Drupal?

    Dana Vienass last blog post.. Dana Vienass letzten Blog-Post .. The Whole Truth About Diet Pills Die ganze Wahrheit über die Ernährung Pillen

  5. admin admin Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    @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. @ Dana - nein ich weiss es nicht, ich Drupal ausschließlich auf alle meine Websites für 2 Jahre und dann verändert sie alle auf Wordpress gerade deswegen. Compare to Wordpress, there are only (maybe) 5-10% as much themes, plugins, and support for Drupal. Vergleichen mit Wordpress, gibt es nur (vielleicht) 5-10% so viel Themen, Plugins, und Unterstützung für Drupal. I hate Drupal - I will never go back… Ich hasse Drupal - Ich werde nie wieder ...

  6. Krikette Krikette Has the following to say... Hat die folgenden Schritte aus, um sagen ...

    @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. @ Dana - Wenn Sie sich immer noch mit einer Menge Probleme mit dem Drupal-Foren und nicht geklebt zu Wordpress Ich hätte gerne um Ihnen zu helfen.

Question or Comment?? Fragen oder Kommentare? Spill it Now... Spill es jetzt ...

Jumping für die Freude über Kommentare!

We Reward Comments! Wir belohnen Kommentare!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Wir dofollow Links, und laden Sie sich Ihre neuesten Blog-Post als Quellenangabe unter jedem neuen Kommentar aus dem "CommentLuv"-Plugin! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! Top commenters für jeden Monat sind auf jeder Seite dieser Website in eine Sidebar Widget Zusammenhang zurück zu Ihrer URL! We would like to reward you for becoming part of our community! Wir möchten zu belohnen Sie für immer Teil unserer Community! Your comment is valuable not only to us, but also all the other readers of this blog! Ihr Kommentar ist nicht nur wertvoll für uns, sondern auch alle anderen Leser dieses Blogs!


Click to add smilies to your post! Klicken Sie auf, um Smileys zu Ihrem Post! == []^ = (= ((= (|=) r= | 8= 0=) ~= 00= (=;;=)]=;;;