How I Fixed Drupal Clean URL’s Using GoDaddy Hosting ¿Cómo me fijo limpio Drupal usando la URL GoDaddy Hosting
5,503 views - 5.503 puntos de vista -Posted in: Publicado en:
5,503 views 5.503 visitas
Please note: This page was originally written in English. Por favor nota: Esta página fue originalmente escrito en Inglés.
The original post can be viewed El post original se puede ver here aquí .
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. Yo uso Wordpress para casi todos mis sitios web, pero yo todavía dos propios Drupal sites.Ã,  Como ya he publicado anteriormente, me trasladé todos mis sitios a GoDaddy en el último mes, y estos dos sitios no se exception.Ã,  Me puso en marcha una cuenta premium, y tenía un dominio principal y, a continuación, en su panel de control que asigna nombres de dominio a la sub-folders.Ã,  Esto es muy útil para mí en el ftp, todos mis sitios web están disponibles para mí en un lugar, separados sólo por carpeta.
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”. En un primer momento mi Drupal sitios parece funcionar bien cuando emigraron them.Ã,  Sin embargo, es sólo la casa page.Ã,  Cualquier tipo de vínculo que se hace clic en un error del servidor - Drupal sites.à tanto,  ¡Lo sabía permitido GoDaddy Drupal, que tienen un autoinstall disponibles para que en Metropolis.Ã,  configurar una prueba de dir e instalado allí Drupal usando el tool.à automatizado,  Tuvo la misma problem.Ã,  Ahora yo sabía que no era mi sitio, se trata de un GoDaddy problem.Ã,  he llamado GoDaddy soporte técnico y plantearon un elevado billete a la avanzada tech.Ã,  he explicado el problema a él, y le dijo que creía que tenía algo que ver con la . htaccess archivos o servidor de setup.Ã,  Su respuesta fue que "no depurar el código".
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). Iba a responder cuando me imaginé lo que el problema was.Ã,  Mi principal de dominio dio sus propios (wordpress). Htaccess file.Ã,  Pensé en primer lugar, que fue el problem.Ã,  Entonces me acordé , Cuando usted tiene un compromiso con los dominios de acogida asigna a sub-directorios es la configuración de apache en el archivo httpd.conf creo (hardcoded). Ã,  Esencialmente, cuando una petición llega a que la dirección IP de un nombre de dominio, el servidor web sabe que la carpeta que lo transmita too.Ã, A (sin personalización alguna) no creo que el servidor web que podría manejar reorientar, en la parte superior de uno. htaccess reescribir la URL a la "limpia de la URL "(Perm).
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. Por lo tanto, - larga historia corta, si usted tiene una cuenta de hosting GoDaddy, y si tiene varios nombres de dominio (y que esté planeando sobre el uso limpio del URL), sólo puede hacerlo desde la raíz de su cuenta (o principal de dominio nombre) only.Ã,  hice solucionar el problema, pero terminó la compra de otras dos cuentas básicas de alojamiento ($ 3,99 por mes) para cada dominio y, a continuación, ambos sitios trabajado sin problemas.
If you have some other fix (or comment) related to hosting Drupal or Wordpress sites at GoDaddy - please comment now below! Si usted tiene alguna otra revisión (o comentarios) relacionados con la acogida Drupal o Wordpress sitios en GoDaddy - por favor, ahora por debajo de comentario!



























September 28th, 2007 at 7:18 am 28 de septiembre de 2007 a las 7:18 horas
hi jtpratt! jtpratt hi!
i faced a similar problem. i enfrentan un problema similar. But i managed to fix this by creating a new .htaccess file in the (subfolder/root) of my 2nd domain. Pero he conseguido solucionar este problema mediante la creación de uno nuevo. Htaccess en el archivo (subcarpeta / root), de 2 de mi dominio. This is the code for the modified .htaccess file Este es el código para la modificación. Htaccess
Have fun! ¡Que se diviertan! no more dual purchases from godaddy :) no más compras de doble godaddy:)
AmitG
Email: Correo electrónico: rapidsynopsis@gmail.com
Website: Sitio web: http://www.rapidsynopsis.com
_________________________________________________
#
# Apache/PHP/Drupal settings: # Apache / PHP / Drupal ajustes:
#
# Protect files and directories from prying eyes. # Proteger los archivos y directorios de miradas indiscretas.
Order deny,allow Order deny, allow
Deny from all Denegar de todos
# Set some options. # Establezca algunas opciones.
Options -Indexes -Opciones de índices
Options +FollowSymLinks Opciones + FollowSymLinks
# Customized error messages. # Mensajes de error personalizados.
ErrorDocument 404 /index.php ErrorDocument 404 / index.php
# Set the default handler. # Establezca el manejador por defecto.
DirectoryIndex index.php DirectoryIndex index.php
# Override PHP settings. # Sobrescribir la configuración de PHP. More in sites/default/settings.php Más en los sitios / default / settings.php
# but the following cannot be changed at runtime. # Pero los siguientes no se pueden cambiar en tiempo de ejecución.
# PHP 4, Apache 1 # 4 de PHP, 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 # 4 de PHP, 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 y 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. # Reducir el tiempo páginas generadas dinámicamente son capaces-caché.
ExpiresByType text/html A1 ExpiresByType text / html A1
# Various rewrite rules. # Reescribir varias normas.
RewriteEngine on Reescribirmotor en
# If your site can be accessed both with and without the prefix # Si su sitio web se puede acceder con y sin el prefijo http://www .
# you can use one of the following settings to force user to use only one option: # Puede utilizar una de las opciones siguientes para obligar a los usuarios a utilizar sólo una opción:
#
# If you want the site to be accessed WITH the # Si quiere que el sitio que se acceda a la http://www . only, adapt and uncomment the following: sólo, adaptar y descomentar la siguiente:
# RewriteCond %{HTTP_HOST} !^www\.example\.com$ [NC] # RewriteCond% HTTP_HOST) (! ^ Www \. Ejemplo \. 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 # Si quiere que el sitio se accede sólo el SIN http://www . , adapt and uncomment the following: , Adaptar y descomentar la siguiente:
# RewriteCond %{HTTP_HOST} !^example\.com$ [NC] # RewriteCond% HTTP_HOST) (! Ejemplo ^ \. 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 # Modificar la RewriteBase si está utilizando Drupal en un subdirectorio y
# the rewrite rules are not working properly. # Reescribir las reglas no están funcionando correctamente.
RewriteBase / RewriteBase /
# Rewrite old-style URLs of the form ‘node.php?id=x’. # Reescritura viejo estilo URL de la forma '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 = nodo / Ver /% 1 [L]
# Rewrite old-style URLs of the form ‘module.php?mod=x’. # Reescritura viejo estilo URL de la forma '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 # Reescribir normas para el almacenamiento en caché de la página estática proporcionada por el impulso módulo
# BOOST START # IMPULSO INICIO
AddCharset utf-8 .html AddCharset utf-8. Html
RewriteCond %{REQUEST_URI} !^/cache RewriteCond% REQUEST_URI) (! ^ / Cache
RewriteCond %{REQUEST_URI} !^/user/login RewriteCond% REQUEST_URI) (! ^ / Usuario / 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 recibe $ ^
RewriteCond %{QUERY_STRING} ^$ RewriteCond% QUERY_STRING) ($ ^
RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI} -d RewriteCond% DOCUMENT_ROOT) (/ cache /% () nombreDeServidor / 0 /% (REQUEST_URI)-d
RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}/index.html -f RewriteCond% DOCUMENT_ROOT) (/ cache /% () nombreDeServidor / 0 /% REQUEST_URI) (/ index.html-f
RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1/index.html [L] RewriteRule ^(.*)$ cache / nombreDeServidor% () / 0 / $ 1/index.html [L]
RewriteCond %{REQUEST_URI} !^/cache RewriteCond% REQUEST_URI) (! ^ / Cache
RewriteCond %{REQUEST_URI} !^/user/login RewriteCond% REQUEST_URI) (! ^ / Usuario / 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 recibe $ ^
RewriteCond %{QUERY_STRING} ^$ RewriteCond% QUERY_STRING) ($ ^
RewriteCond %{DOCUMENT_ROOT}/cache/%{SERVER_NAME}/0/%{REQUEST_URI}.html -f RewriteCond% DOCUMENT_ROOT) (/ cache /% () nombreDeServidor / 0 /% (REQUEST_URI). Html-f
RewriteRule ^(.*)$ cache/%{SERVER_NAME}/0/$1.html [L] RewriteRule ^(.*)$ cache / nombreDeServidor% () / 0 / $ 1.html [L]
# BOOST END # IMPULSO FINAL
# Rewrite current-style URLs of the form ‘index.php?q=x’. # Reescritura actual estilo URL de la forma "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 $
_________________________________________________
March 16th, 2008 at 7:37 pm 16 de marzo de 2008 a 7:37 pm
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. No pude obtener el código anterior para. Htaccess al trabajo, pero utilizando rewritebase / parece hacer el truco - excepto que ahora mis imágenes no se muestran correctamente.
Anyone know anything about the images bonking up now? Alguien sabe algo acerca de las imágenes bonking hasta ahora? They’re put in by FCKeditor in the /files/ directory. Están por poner en el FCKeditor / files / directorio.
March 16th, 2008 at 7:39 pm 16 de marzo de 2008 a 7:39 pm
Mind you, with just rewritebase / - trying to view the site directly from the original location: Cuenta que, con sólo rewritebase / - tratando de ver el sitio directamente desde la ubicación original: http://www.example.com/site1 will pop you back into the “main” godaddy site. aparecerá de nuevo en el "principal" godaddy sitio. but its reachable by the main URL except for images. pero su acceso por la URL principal, excepto para las imágenes. :/ : /
August 17th, 2008 at 2:48 pm 17 de agosto, de 2008 a 2:48 pm
Ugh, I wish I had seen this tip before I uninstalled Drupal and put Wordpress on my new site. Ugh, deseo que había visto este extremo antes de desinstalar Drupal y Wordpress poner en mi nuevo sitio.
Beside the clean url issue, I was also having real trouble setting up a drupal forum. Junto a la cuestión URL limpio, yo también estuve haber verdadero problema la creación de un foro de Drupal. Do you know of any good tutorial sites for drupal? ¿Sabes de algún buen tutorial para los sitios Drupal?
Dana Vienass last blog post.. Dana Vienass último blog .. The Whole Truth About Diet Pills Toda la verdad acerca de la dieta píldoras
August 17th, 2008 at 2:59 pm 17 de agosto, de 2008 a 2:59 pm
@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 - no yo no, he usado Drupal exclusivamente en todos mis sitios durante 2 años y luego cambió a todos ellos a Wordpress por esa misma razón. Compare to Wordpress, there are only (maybe) 5-10% as much themes, plugins, and support for Drupal. Comparar a Wordpress, sólo hay (tal vez) 5-10% como mucho los temas, plugins, y el apoyo a Drupal. I hate Drupal - I will never go back… Odio Drupal - nunca voy a volver ...
October 1st, 2008 at 8:14 am 1ro de octubre, de 2008 a 8:14 am
@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 usted todavía tiene un montón de problemas Drupal con los foros y no han pegado a Wordpress yo estaré encantado de ayudarle.