Wp Affiliate Pro - The #1 Plugin For WordPress Blogs Wp Affiliate Pro - le # 1 plugin pour WordPress Blogs
Powered by MaxBlogPress Powered by MaxBlogPress

Comment je fixe Drupal propre URL en utilisant GoDaddy hébergement | JTPRATT erreurs de blogs
JTPratt erreurs de blogs





Home Accueil » How I Fixed Drupal Clean URL’s Using GoDaddy Hosting »Comment je fixe Drupal propre URL en utilisant GoDaddy hébergement



Posted in: Publié dans:

blog-setup catégorie imagedrupal catégorie imageWeb-hosting catégorie image
5,485 views 5485 vues


Please note: This page was originally written in English. S'il vous plaît noter: Cette page a été initialement écrit en anglais.

The original post can be viewed Le message original peut être consulté here ici .

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. Wordpress-je utiliser pour la quasi-totalité de mes sites web, mais j'ai toujours propres sites.à Drupal,  Comme je l'ai déjà posté, je suis passé tous mes sites à GoDaddy au cours du dernier mois, et ces deux sites ne sont exception.Ã,  J'ai commencé en place d'un compte Premium, et a eu un domaine principal, puis dans leur panneau de contrôle, je cartographié les noms de domaine sous-folders.Ã,  Cela est très utile pour moi dans le ftp, l'ensemble de mes sites web sont disponibles pour moi dans un seul endroit, séparés uniquement par dossier.

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”. Au début, mes sites Drupal semble fonctionner correctement quand j'ai migré them.Ã,  Toutefois, il est seulement la maison page.Ã,  Tout lien sur lequel vous avez cliqué eu erreur de serveur - les deux sites.à Drupal,  Je savais que GoDaddy permis Drupal, ils ont une autoinstall disponible pour lui dans Metropolis.Ã,  je configurer un répertoire et d'essai installé en utilisant Drupal automatisé tool.Ã,  Il a la même problem.Ã,  Maintenant, je savais que ce n'était pas mon site, il s'agit d'une problem.à GoDaddy,  GoDaddy J'ai appelé le support technique et ils ont soulevé un haut billet à l'avancée tech.Ã,  j'ai expliqué le problème à lui, et lui a dit je pense qu'il a quelque chose à voir avec la . htaccess ou serveur setup.Ã,  Sa réponse a été qu'ils "ne sont pas déboguer le 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). Je vais répondre quand j'ai réalisé ce que le problème was.Ã,  Mon principal domaine a son propre (WordPress). Htaccess file.Ã,  Je pensais d'abord que l'a été problem.Ã, A puis je me suis souvenu , Lorsque vous avez un hébergement mutualisé avec les domaines mappés à des sous-répertoires d'installation il est dans le fichier httpd.conf d'Apache, je crois (en dur). Ã,  Essentiellement, quand une demande est à cette adresse IP à partir d'un nom de domaine, le serveur Web qui sait dossier à transmettre too.Ã, A (sans personnalisation de certains) Je ne pense pas que le serveur Web peut traiter que de réorienter, en plus d'un. htaccess la réécriture d'URL "propre URL »(Permanents).

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. Donc - longue histoire courte, si vous avez un compte d'hébergement GoDaddy, et si vous disposez de plusieurs noms de domaine (et vous prévoyez utiliser des URL propres), vous ne pouvez le faire à partir de la racine de votre compte (ou principal domaine nom) only.Ã,  Je n'ai corriger le problème, mais a fini par acheter deux autres comptes d'hébergement de base ($ 3,99 par mois) pour chaque domaine, puis les deux sites ont travaillé sans faille.

If you have some other fix (or comment) related to hosting Drupal or Wordpress sites at GoDaddy - please comment now below! Si vous avez d'autres fix (ou commentaire) liés à l'hébergement Drupal ou Wordpress sites à GoDaddy - s'il vous plaît commentaire ci-dessous!


6 Responses to “How I Fixed Drupal Clean URL’s Using GoDaddy Hosting” 6 réponses à "Comment je fixe Drupal Clean URL GoDaddy hébergement de l'aide"

  1. AmitG AmitG Has the following to say... A la suite de dire ...

    hi jtpratt! jtpratt salut!

    i faced a similar problem. J'ai dû faire face à un problème similaire. But i managed to fix this by creating a new .htaccess file in the (subfolder/root) of my 2nd domain. Mais j'ai réussi à résoudre ce problème en créant un nouveau. Htaccess dans le (sous-répertoire / root) de mon 2e domaine. This is the code for the modified .htaccess file C'est le code de la modification. Htaccess

    Have fun! Amusez-vous! no more dual purchases from godaddy :) pas plus double achats de GoDaddy:)
    AmitG
    Email: Courrier électronique: rapidsynopsis@gmail.com
    Website: Site web: http://www.rapidsynopsis.com
    _________________________________________________

    # N °
    # Apache/PHP/Drupal settings: # Apache / PHP / Drupal paramètres:
    # N °

    # Protect files and directories from prying eyes. # Protégez les fichiers et les répertoires des regards indiscrets.

    Order deny,allow Order deny, permettre
    Deny from all Refuser de toutes les

    # Set some options. # Définir quelques options.
    Options -Indexes Options-Indexes
    Options +FollowSymLinks Options + FollowSymLinks

    # Customized error messages. # Messages d'erreur personnalisés.
    ErrorDocument 404 /index.php ErrorDocument 404 / index.php

    # Set the default handler. # Réglez le gestionnaire par défaut.
    DirectoryIndex index.php DirectoryIndex index.php

    # Override PHP settings. # Ignorer les paramètres de PHP. More in sites/default/settings.php Plus de sites / default / settings.php
    # but the following cannot be changed at runtime. # Mais les suivantes ne peuvent pas être modifiés lors de l'exécution.

    # 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 et 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. # Réduire le temps les pages générées dynamiquement sont en mesure de cache-.

    ExpiresByType text/html A1 ExpiresByType text / html A1

    # Various rewrite rules. # Diverses règles de réécriture.

    RewriteEngine on RewriteEngine on

    # If your site can be accessed both with and without the prefix # Si votre site est accessible avec ou sans le préfixe http://www .
    # you can use one of the following settings to force user to use only one option: # Vous pouvez utiliser l'un des paramètres suivants pour forcer l'utilisateur à utiliser une seule option:
    # N °
    # If you want the site to be accessed WITH the # Si vous voulez que le site est accessible à l'AVEC http://www . only, adapt and uncomment the following: seulement, d'adapter et de décommenter le texte suivant:
    # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] # RewriteCond% (HTTP_HOST)! ^ Www \. Exemple \. Com $ [NC]
    # RewriteRule .* # RewriteRule .* http://www.example.com/ [L,R=301] [L, R = 301]
    # N °
    # If you want the site to be accessed only WITHOUT the # Si vous voulez que le site soit accessible, sans l' http://www . , adapt and uncomment the following: , D'adapter et de décommenter le texte suivant:
    # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] # RewriteCond% (HTTP_HOST)! Exemple ^ \. 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 # Modifier le RewriteBase si vous utilisez Drupal dans un sous-répertoire et
    # the rewrite rules are not working properly. # Réécrire les règles ne fonctionnent pas correctement.
    RewriteBase / RewriteBase /

    # Rewrite old-style URLs of the form ‘node.php?id=x’. # Réécrire l'ancienne URL de la forme '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’. # Réécrire l'ancienne URL de la forme '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 # Règles de réécriture pour le cache des pages statiques fournies par le module Boost
    # 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)! ^ / Utilisateur / 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)! ^ / Utilisateur / 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 FIN #

    # Rewrite current-style URLs of the form ‘index.php?q=x’. # Réécriture actuelle de style URL de la forme "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, contre 1,4 2006/12/05 10:39:19 Arto Exp $
    _________________________________________________

  2. krikette krikette Has the following to say... A la suite de dire ...

    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. Je ne pouvais pas obtenir le code ci-dessus pour. Htaccess au travail, mais en utilisant rewritebase / semble faire l'affaire - sauf que maintenant mes images ne montrent pas correctement.

    Anyone know anything about the images bonking up now? Tout le monde sait rien sur les images bonking jusqu'à maintenant? They’re put in by FCKeditor in the /files/ directory. Ils sont mis en par FCKeditor dans le / les fichiers / répertoire.

    =) r

  3. krikette krikette Has the following to say... A la suite de dire ...

    Mind you, with just rewritebase / - trying to view the site directly from the original location: Remarquez, avec juste rewritebase / - Vous tentez d'afficher le site directement à partir de l'emplacement d'origine: http://www.example.com/site1 will pop you back into the “main” godaddy site. pop vous sera de retour dans la "principale" GoDaddy site. but its reachable by the main URL except for images. mais sa accessible par l'URL principale, sauf pour les images. :/ : /

  4. Dana Vienas Dana Vienas Has the following to say... A la suite de dire ...

    Ugh, I wish I had seen this tip before I uninstalled Drupal and put Wordpress on my new site. Ugh, je voudrais que j'avais vu ce truc avant que je désinstallé Drupal et Wordpress mettre sur mon nouveau site.

    Beside the clean url issue, I was also having real trouble setting up a drupal forum. À côté de l'url propre question, j'ai été aussi réelle difficulté à mettre en place un forum Drupal. Do you know of any good tutorial sites for drupal? Connaissez-vous des sites de bon tutoriel pour Drupal?

    Dana Vienass last blog post.. Dana Vienass dernier blog .. The Whole Truth About Diet Pills La vérité sur le régime alimentaire des pilules

  5. admin admin Has the following to say... A la suite de dire ...

    @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 - pas de je ne suis pas, j'ai utilisé exclusivement sur Drupal tous mes sites pour 2 ans et ensuite tous les changé à Wordpress pour cette raison. Compare to Wordpress, there are only (maybe) 5-10% as much themes, plugins, and support for Drupal. Comparer à Wordpress, il ya seulement (peut-être) de 5-10% comme beaucoup de thèmes, plugins, et l'appui à Drupal. I hate Drupal - I will never go back… Je déteste Drupal - Je ne vais jamais revenir ...

  6. Krikette Krikette Has the following to say... A la suite de dire ...

    @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 - Si vous êtes encore avoir beaucoup de problèmes avec les forums et Drupal ne l'ont pas collé à Wordpress je serais heureux de vous aider.

Question or Comment?? Question ou commentaire?? Spill it Now... Maintenant il en cas de déversement ...

Saut d'obstacles pour plus de commentaires Joy!

We Reward Comments! Nous récompensons commentaires!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Nous dofollow liens, et votre dernier message blog comme une signature en vertu de chaque nouveau commentaire de la "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 observateurs pour chaque mois sont indiqués sur chaque page de ce site dans un encadré widget liées à votre URL! We would like to reward you for becoming part of our community! Nous tenons à vous récompenser pour faire partie de notre communauté! Your comment is valuable not only to us, but also all the other readers of this blog! Votre commentaire est précieux non seulement pour nous, mais aussi tous les autres lecteurs de ce blog!


Click to add smilies to your post! Cliquez ici pour ajouter les smileys à votre message! == []^ = (= ((= (|=) r= | 8= 0=) ~= 00= (=;;=)]=;;;