Unlimited $1.99 domain names - We use goDaddy $ 1.99 illimitato di nomi di dominio - Usiamo GoDaddy
Powered by MaxBlogPress Powered by MaxBlogPress

Come ho fissato Drupal pulito URL utilizzando GoDaddy hosting | JTPRATT del blogging errori
JTPratt del blogging errori





Home Casa » How I Fixed Drupal Clean URL’s Using GoDaddy Hosting »Come ho fissato Drupal pulito URL utilizzando GoDaddy hosting



Posted in: Posted in:

blog-setup categoria immagineDrupal categoria immagineWeb-hosting immagine categoria
6,049 views 6049 opinioni


Please note: This page was originally written in English. Attenzione: Questa pagina è stata originariamente scritto in inglese.

The original post can be viewed Il post originale può essere visualizzato here qui .

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. Io uso Wordpress per quasi tutti i miei siti web, ma ho ancora due propria sites.à Drupal,  Come ho postato in precedenza, mi sono trasferito tutti i miei siti di GoDaddy entro il mese scorso, e questi due siti non sono stati exception.Ã,  Ho iniziato un premio conto, e ha avuto un dominio principale, e quindi nel loro pannello di controllo ho mappato i nomi di dominio di sub-folders.Ã,  Questo è molto utile per me in ftp, tutti i miei siti web sono disponibili a me in un luogo, separati solo da cartella.

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”. Al mio primo Drupal siti sembrava funzionare bene quando ho migrato them.Ã,  Tuttavia, essa è stata solo la casa page.Ã,  Qualsiasi link che hai cliccato su si avvicinò errore del server - sia sites.à Drupal,  Sapevo GoDaddy consentito Drupal, hanno uno disponibile per autoinstall in Metropolis.Ã,  ho configurato un test dir installato Drupal e vi automatizzata usando il tool.Ã,  Era la stessa problem.Ã,  Ora sapevo che non era il mio sito, è stato un GoDaddy problem.Ã,  GoDaddy ho chiamato il supporto tecnico e che ha sollevato un elevato biglietto per l'avanzata tech.Ã,  ho spiegato il problema per lui, e lui ha detto ho pensato che aveva qualcosa a che fare con la . htaccess file server o setup.Ã,  La sua risposta è stata che "non eseguire il debug del codice".

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). Stavo per rispondere quando ho risolto il problema was.Ã,  mio dominio principale è dovuto proprio (wordpress). Htaccess file.Ã,  ho pensato al primo che è stato il problem.Ã,  Poi mi sono ricordato , Quando si dispone di un host condiviso con i domini associata a sub-directory di installazione è nel file httpd.conf apache credo (hardcoded). Ã,  In sostanza, quando arriva una richiesta a tale indirizzo IP da un nome di dominio, il server web sa in quale cartella lo trasmette too.Ã, A (senza qualche personalizzazione) Non credo che il server web potrebbe trattare di reindirizzamento che, in cima a uno. htaccess file di riscrivere la URL per 'pulire URL '(Permalink).

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. Quindi - lunga storia breve, se si dispone di un conto GoDaddy di hosting, e se si dispone di più nomi di dominio (e si stia pianificando di utilizzare URL puliti), è possibile farlo solo dalla radice del tuo account (o dominio principale nome) only.Ã,  ho fatto correggere il problema, ma ha finito per acquistare altri due conti di hosting di base ($ 3.99 al mese) per ogni dominio, e quindi sia i siti funzionato alla perfezione.

If you have some other fix (or comment) related to hosting Drupal or Wordpress sites at GoDaddy - please comment now below! Se avete qualche altra correzione (o commento) relativi a Drupal di hosting o siti a Wordpress GoDaddy - si prega di commento qui sotto ora!


6 Responses to “How I Fixed Drupal Clean URL’s Using GoDaddy Hosting” 6 Responses to "Come ho fisso Drupal Pulizia URL Utilizzo di GoDaddy Hosting"

  1. AmitG AmitG Has the following to say... Ha le seguenti dire ...

    hi jtpratt! jtpratt hi!

    i faced a similar problem. I trovava di fronte a un problema analogo. But i managed to fix this by creating a new .htaccess file in the (subfolder/root) of my 2nd domain. Ma sono riuscito a risolvere questo problema mediante la creazione di una nuova. Htaccess file nella (sottocartella / root) del mio dominio 2a. This is the code for the modified .htaccess file Questo è il codice per la modifica. Htaccess file

    Have fun! Buon divertimento! no more dual purchases from godaddy :) non più duplice acquisti da GoDaddy:)
    AmitG
    Email: E-mail: rapidsynopsis@gmail.com
    Website: Sito web: http://www.rapidsynopsis.com
    _________________________________________________

    #
    # Apache/PHP/Drupal settings: # Apache / PHP / Drupal impostazioni:
    #

    # Protect files and directories from prying eyes. # Proteggere i file e le directory da occhi indiscreti.

    Order deny,allow Ordine negare, consentire
    Deny from all Nega da tutti i

    # Set some options. # Impostare alcune opzioni.
    Options -Indexes Opzioni-Indici
    Options +FollowSymLinks Opzioni + FollowSymLinks

    # Customized error messages. # Messaggi di errore personalizzati.
    ErrorDocument 404 /index.php ErrorDocument 404 / index.php

    # Set the default handler. # Impostare il gestore di default.
    DirectoryIndex index.php DirectoryIndex index.php

    # Override PHP settings. # Ignora le impostazioni di PHP. More in sites/default/settings.php Più in siti / default / settings.php
    # but the following cannot be changed at runtime. #, Ma le seguenti non possono essere modificate in fase di runtime.

    # 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 e 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. # Ridurre il tempo di pagine generate dinamicamente sono in grado cache.

    ExpiresByType text/html A1 ExpiresByType text / html A1

    # Various rewrite rules. # Riscrivere regole diverse.

    RewriteEngine on RewriteEngine su

    # If your site can be accessed both with and without the prefix # Se il tuo sito può essere letta sia con e senza il prefisso http://www .
    # you can use one of the following settings to force user to use only one option: # È possibile utilizzare una delle seguenti impostazioni per costringere l'utente ad utilizzare solo una opzione:
    #
    # If you want the site to be accessed WITH the # Se si desidera che il sito sia accessibile Con l' http://www . only, adapt and uncomment the following: solo, adattare e decommentare la seguente:
    # RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] # RewriteCond% (HTTP_HOST)! ^ Www \. Esempio \. 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 # Se si desidera che il sito sia accessibile solo senza il http://www . , adapt and uncomment the following: , Adattare e decommentare la seguente:
    # RewriteCond %{HTTP_HOST} !^example\.com$ [NC] # RewriteCond% (HTTP_HOST)! ^ Esempio \. 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 # Modificare il RewriteBase se si utilizza Drupal in una sottodirectory e
    # the rewrite rules are not working properly. # Riscrivere le regole non funzionano correttamente.
    RewriteBase / RewriteBase /

    # Rewrite old-style URLs of the form ‘node.php?id=x’. # Riscrivere vecchio stile URL del modulo '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’. # Riscrivere vecchio stile URL del modulo '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 # Riscrivi regole per il caching delle pagine statiche fornite dal modulo Boost
    # BOOST START # BOOST INIZIO

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

    RewriteCond %{REQUEST_URI} !^/cache RewriteCond% (REQUEST_URI)! ^ / Cache
    RewriteCond %{REQUEST_URI} !^/user/login RewriteCond% (REQUEST_URI)! ^ / Utente / 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)! ^ / Utente / 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 FINE

    # Rewrite current-style URLs of the form ‘index.php?q=x’. # Riscrivere attuale stile URL del modulo '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, contro 1,4 2006/12/05 10:39:19 Arto Exp $
    _________________________________________________

  2. krikette krikette Has the following to say... Ha le seguenti 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. Non ho potuto ottenere il codice di sopra. Htaccess di lavoro, ma utilizzando rewritebase / sembra fare il trucco - tranne per il fatto che ora le mie immagini non mostrano correttamente.

    Anyone know anything about the images bonking up now? Chiunque sa nulla le immagini bonking fino adesso? They’re put in by FCKeditor in the /files/ directory. Sono da mettere in FCKeditor nella directory / file / directory.

    =) r

  3. krikette krikette Has the following to say... Ha le seguenti dire ...

    Mind you, with just rewritebase / - trying to view the site directly from the original location: Mente voi, con appena rewritebase / - cercando di visualizzare il sito direttamente dalla posizione originale: http://www.example.com/site1 will pop you back into the “main” godaddy site. pop si è di nuovo nel "main" GoDaddy sito. but its reachable by the main URL except for images. ma la sua raggiungibile con l'URL principale, ad eccezione per le immagini. :/ : /

  4. Dana Vienas Dana Vienas Has the following to say... Ha le seguenti dire ...

    Ugh, I wish I had seen this tip before I uninstalled Drupal and put Wordpress on my new site. Ugh, desidero che avevo visto prima di questo suggerimento ho disinstallato Drupal e Wordpress mettere sul mio nuovo sito.

    Beside the clean url issue, I was also having real trouble setting up a drupal forum. Oltre alla pulizia url problema, mi è stato anche vero guaio la creazione di un forum di Drupal. Do you know of any good tutorial sites for drupal? Lei sa di qualsiasi buon tutorial siti per Drupal?

    Dana Vienass last blog post.. Dana Vienass ultimo post sul blog .. The Whole Truth About Diet Pills Tutta la verità circa la dieta pillole

  5. admin admin Has the following to say... Ha le seguenti 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 - non io non ho utilizzato esclusivamente su Drupal tutti i miei siti per 2 anni e poi cambiato in tutto per Wordpress per questo motivo. Compare to Wordpress, there are only (maybe) 5-10% as much themes, plugins, and support for Drupal. Confronta per Wordpress, ci sono solo (forse) il 5-10% più temi, plugin, e il supporto per Drupal. I hate Drupal - I will never go back… Odio Drupal - Io non potrà mai tornare indietro ...

  6. Krikette Krikette Has the following to say... Ha le seguenti 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 - Se continui ad avere un sacco di problemi con il forum di Drupal e non hanno bloccato per Wordpress Saremo lieti di aiutarvi.

Question or Comment?? Domanda o commento? Spill it Now... Spill comprare ...

Saltando di gioia su commenti!

We Reward Comments! Abbiamo ricompensa commenti!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! Abbiamo dofollow link, e ottenere il tuo ultimo post sul blog come sottotitolo sotto ogni nuovo commento dal "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 per ogni mese sono riportati su ogni pagina di questo sito in una barra laterale widget collegate al suo URL! We would like to reward you for becoming part of our community! Vorremmo che vi ricompensi per diventare parte della nostra comunità! Your comment is valuable not only to us, but also all the other readers of this blog! Il tuo commento è prezioso non solo per noi, ma anche tutti gli altri lettori di questo blog!


Click to add smilies to your post! Fare clic per aggiungere Faccine per il tuo post! == []^ = (= ((= (|=) r= | 8= 0=) ~= 00= (=;=)]=;;;