Cómo hacer una redirección 301 en Drupal con el archivo htaccess

Nota: Todos las indicaciones a continuación son para realizarlas en el archivo de .htaccess

  1. Para sitios que se ejecutan en un VirtualDocumentRoot http://example.com/, descomente el comando RewriteBase o si utiliza Drupal en un subdirectorio o en un VirtualDocumentRoot en http://example.com/drupal, descomente el comando RewriteBase/drupal
  2. En la línea subsecuente al comando RewriteEngine, agregue el siguiente código: RewriteRule ^ old_file_name http://www.example.com/new-file-name [R = 301, L]
  3. Remplazamos old_file_name con la ruta de acceso al antiguo archivo que usted desea redireccionar y remplazamos http://www.example.com/new-file-name con la ruta completa a la nueva página.

Nota adicional, si usted coloca estos cambios por debajo de la declaración rewrite y antes cualquier otra redirección, funciona mejor.

How to do 301 redirect in a drupal with the htaccess file

Note: All the instructions bellow are for do in the htaccess file.
  1. Uncomment the command RewriteBase if the site is running in a VirtualDocumentRoot at http://example.com/ or uncomment the command RewriteBase /drupal if you are using Drupal in a subdirectory or in a VirtualDocumentRoot at http://example.com/drupal
  2. Add the following code below the RewriteEngine command in your .htaccess file RewriteRule ^old_file_name http://www.example.com/new-file-name [R=301,L]
  3. Replace old_file_name with the path to the old file which you wish to have redirected and then replace http://www.example.com/new-file-name with the complete path to the new page.

One additional note, if you put these changes bellow the rewrite statement and before any other redirects, it works better

How to create categories in blogs with Drupal 7

Hi all, more than one will have spent hours trying to do this since the new Drupal brought some changes with it that no longer allows us to do this in a easy and direct way as it did the Drupal 6, here are the steps required to do this and accomplish on the page that you are managing, it look with a neat and elegant form.

Create categories

  1. Go to “structure”
  2. We enter in “content type”
  3. Select “manage fields” of blog entries
  4. Add a new field, the type of data to be stored term_reference: taxonomy_Tags, if it is on the list of existing fields, if not create a new one.

NOTE: If we created new one, we could name it field_blog

  1. In the tag name we put: categories and in “Form element to edit the data” we select “Autocomplete term widget (tagging)”

This is ready for a side; now all blogs have one or more categories if users specify one or more separated by comma.

Grouping the categories and do that the users find them easily?

Create a new menu and we call it categories, then we create menus with links to those categories, to achieve this:

  1. Open in a separate window and start session in our drupal
  2. We headed back to “structure”
  3. We entered the section of “taxonomy”
  4. We entered on vocabulary list of terms “Tags”
  5. Select the first taxonomy and take us to all the blogs post in this category
  6. Copy the url of the search result
  7. In the previous window create a new menu in categories with the name of the category you wish linker
  8. Menu father <catagories> and we copy the url above, and so on until you have created a menu for each category

The menu already exists, now we must show it

  1. We return to “structure”
  2. We went into “blocks”
  3. In the list of blocks “Disabled”, we go into the settings of menu “categories”
  4. We put a title to the menu so that users know what is, in this case is: Categories
  5. In the configuration of “region” of our page, we select in which part we want the block appears, in my case I put it in the second sidebar
  6. And finally select the pages you want the block appears, in this case I select “All pages except those listed”, so the categories can be seen in all the blog entries in all categories but not in the pages that are unrelated to this content

NOTE: If a user makes an entry with a new category, the administrator must create you a new access in the menu of categories since this step, as opposed to the creation of categories, is not automatic.

Hope you like and will be helpful for you

Freshness Update – Frescura de la Actualización

Freshness Update – November 3, 2011

http://googleblog.blogspot.com/2011/11/giving-you-fresher-more-recent-search.html (google)
http://searchengineland.com/google-search-algorithm-change-for-freshness-to-impact-35-of-searches-99856 (SEL)

De acuerdo a estos artículos, google ha vuelto a cambiar hace poco (3 de noviembre de este año) su algoritmo de busqueda, brindándole ahora a los contenidos de una pagina o a los resultados de una búsqueda, lo que ellos llaman, Frescura de la actualización o Freshness Update.

Los Resultados de las búsquedas, al igual que las cookies están ligeramente calientes al salir del horno o la fruta refrescante, en un día caluroso de verano, son mejores cuando están frescos. Incluso si usted no lo especifica en su búsqueda, lo más probable es que querrá resultados de búsqueda que son relevantes y recientes. (por dar la misma analogía que la propía gente de google).

Existen diferentes niveles de frescura de la actualización, dependiendo del contexto del contenido que desea buscar, por ejemplo si lo que uno está buscando es “Juegos Olimpicos” efectivamente aparecera en primer lugar los resultados del último juego olimpico y no los del verano de 1960.

Por lo tanto es importante mantener una pagina actualizada y si vamos a tener, por ejemplo, contenido gráfico, colocar en el nombre de las imagenes el año al que corresponde. Así si alguien busca “vestido de novia” y en nuestra imagen tenemos el nombre de “vestido de novia coleccion noviembre 2012″ esto ayudará al SEO posicionandolo nuestro contenido en los primeros lugares de la búsqueda. También es importante especificar siempre cuando fué la última actualización de la página en algun lugar del contenido de este.

Volviendo a lo mencionado más arriba, existen diferentes niveles de frescura de la actualización, dependiendo del contexto de la búsqueda, por lo tanto, los tipos de búsqueda que se verán afectados por este nuevo algoritmos, (que son un 35% de las
búsquedas) son del tipo de las citadas a continuación:

  • Los últimos acontecimientos o temas de actualidad: Los últimos acontecimientos, temas de actualidad o tendencias que se inician en la web, ya que usted deseará encontrar la última información de inmediato. Esto es, cuando la búsqueda de los acontecimientos, son como [ ocupación protesta en Oakland ], o para las últimas noticias acerca del [ torneo de la NBA ], [Huracán en Japón], usted podrá ver en la posición más alta a aquellos de mejor calidad, es decir, que sólo poseen minutos de edad.
  • Eventos que se repiten regularmente: Algunos eventos tienen lugar sobre una base regular recurrentes, tales como conferencias anuales como [ ICALP ] o un evento como [ elecciones presidenciales ]. Sin especificar, con sus palabras clave o el año actual, se da a entender que se espera ver el evento más reciente, y no uno de hace 50 años. También hay cosas que se repiten con más frecuencia, así que ahora cuando usted esté buscando las últimas [ puntuaciones NFL ], [ bailando con por un sueño ] los resultados o [ ganancias de Exxon ], verá la información más reciente.
  • Actualizaciones frecuentes: Hay también personas que buscan información que cambia a menudo, pero que no es realmente un tema candente o un evento recurrente. Por ejemplo, si usted está investigando las [ mejores cámaras SLR ], o estás queriendo comprar un coche nuevo y quiere ver [ Subaru Impreza comentarios ], usted probablemente querrá la más actualizada información.

También habrá muchos casos, en donde los resultados de algunos años atras aún podría serle de utilidad, como por ejemplo [ recetas rápidas para cenas en grupo ], sin duda me ha salvado después de una llamada de algún compañero de facultad que avisa que está
llendo a casa con el “grupo” a estudiar o realizar el trabajo práctico. Por otro lado, cuando la búsqueda es de la [ tabla de posiciones torneo local ], un resultado que es de una semana de edad podría no ser aun demasiado viejo.

Las búsquedas tienen necesidades diferentes de frescura. Esta mejora de algoritmos está diseñado para comprender mejor la forma de diferenciar entre este tipo de búsquedas y el nivel de frescura que necesita cada uno de ellos, y asegúrese de
obtener el máximo rendimiento a las respuestas que uno está buscando.

Pero debemos tratar de no caer en el engaño de que este 35% de búsquedas afectadas, signifiquen precisamente 35% de mejora, tal como sucedio con la actualización de panda, y tampoco caer en el error de Potencial de “Frescura” = Spam, esto se refiere a postear varias veces lo mismo, o realizar pequeñas pero isignificantes actualizaciones a cada rato para mantener el contenido “fresco”.

Pero esto es otro tema extenso, que tendremos que abarcar en otro post porque amerita varios parrafos de analisis.

Cómo crear categorías en blogs con Drupal 7

Hola a todos, más de uno se habrá pasado horas intentando lograr esto ya que el nuevo Drupal trajó ciertas modificaciones que ya no nos permite realizar esto en forma tan directa y simple como lo hacía el Drupal 6, a continuación les expongo los pasos necesarios para lograr esto y que quede con un formato ordenado y elegante en la pagina que estén administrando.

Crear Categorías

  1. Ir a estructura
  2. Entramos en tipo de contenido
  3. Seleccionamos gestión de los campos de las entradas de blog
  4. Agregamos un nuevo campo, el tipo de dato a almacenar será term_reference: taxonomy_Tags, si existe agregamos de la lista de campos existentes, si no creamos uno nuevo.

NOTA: Si creamos uno nuevo podríamos nombrarlo field_blog

  1. En el nombre de etiqueta ponemos: categorias y en el formato del elemento a editar, seleccionamos autocompletado

Listo por un lado, Ahora todos los blogs tendrán una o varias categorías si los usuarios especifican una o varias separandolas por coma.

Cómo agrupar las categorías y que los usuarios los encuentren facilmente?

Creamos un nuevo menu y lo denominamos categorías, luego debemos crear menus con links a esas categorías, para lograr esto:

  1. Abrimos una ventana aparte e iniciamos secion en nuestro drupal
  2. Nos dirigimos nuevamente a estructura
  3. Entramos a la sección de taxonomías
  4. Entramos a la lista de terminos del vocabulario Tags
  5. Seleccionamos la primera taxonomia y nos llevara a todos los blogs de esta categoría
  6. Copiamos la url del resultado de busqueda
  7. En la ventana anterior creamos un nuevo menu en categorías con el nombre de la categoría que deseamos linkear
  8. Menú padre: <catagorías> y la url es el que copiamos anteriormente, y así sucesivamente hasta haber creado un menú por cada categoría

El menú ya existe ahora debemos mostrarlo

  1. Volvemos a estructura
  2. Entramos a bloques
  3. En la lista de los bloques desactivados, entramos a las opciones de configuración del menú categorías
  4. Ponemos un título al menú para que los usuarios sepan de qué viene, en este caso es: Categorías
  5. En la configuracion de región de nuestra página seleccionamos en que parte queremos que aparesca, en mi caso yo lo puse en la segunda barra lateral
  6. Y por ultimo seleccionamos las paginas en las que deseamos que aparescan, en este caso tildé la opcion de todas menos las que aparecen en la lista, asi las categorías puede verse en todos las entradas de los blogs, en todas las categorias pero no así en las páginas que no tienen relación con este tipo de contenido

NOTA: Si un usuario hace una entrada con una categoría nueva, el administrador deberá crearle un acceso nuevo en el menú de categorías ya que este paso a diferencia de la creación de categorías no es automático.

Espero les allá gustado y les sea útil, hasta un proximo encuentro

Añadir campos libres Sage100

Sage 100 te permite añadir + de 30 campos libres en clientes/provedores como articulos. para añadir un campo libre entra en Sage100 Gestion > archivo > configuracion de la sociedad . selecciona Opciones > informacion Libre y alli puedes añadir. recuerde que en sage algunas veces para añadir un campo hay que pulsar Intro antes de pulsar el boton OK.

Sage no te permitira añadir campo libre si hay usuarios conectados al sage porque es un cambio global que rediseña la base de datos SQL .

Tambien es muy importante que cuando añades un campo libre se pierden todas las Personalizaciones hechos anteriormente en el sage por lo cual antes de añadir campo hay que exportar los personalizaciones y despues de añadir campos volver importar el campo.

Windows 7 y Contaplus

Para instalar Contaplus en Windows 7 y para configurar puestos en red Hay que deshabilitar el UAC (user account control) en cuentas de usuarios para poder utilizar el contaplus ya que este control lo bloquea. Luego de instalar los iconos hay que modificar el registro agregando las claves que funcionan en un windows xp. Esto es porque no lo configura bien en red ya que en lugar de asignar la unidad Z: como unidad de trabajo asigna el path \\XXpc\grupoSP.

Installation SAGE100 on a client computer connect to server Windows 2008

TO INSTALL SAGE 100 ON A LOCAL COMPUTER (a quick comment first, i wrote this on the fly while i was doing it on a spanish computer and a spanish language SAGE100 and i dont have time to spell check or to reread what i worte, so if any mistakes please email us or add a comment, thank you ) First go to server where sage 100 is installed . Go to administrator > user accounts > add new user > originally we were told to add as an administrator the user but we we just added as a normal user as we didn’t want to risk and it seems to be working fine for the moment . however if we will have problems in the future we might have to come back to it 2: go to SQL management studio. (already included in your sage 100 when you buy a sage 100 with SQL ) than go to Security on the main tree > logins and create a new user with the SAME name of the user sign in to the local computer where user will be connecting from . 3: go to the user on the main SQL and go to assign and select the correct DB and you must give permissions read and write 4: make sure the software folder where client needs to click is shared so the client computer can connect and install 5: Now go to the client computer first you have to add the folders from where you want to install (as well as for the program to work later on) as a network drive on mypc and assign it any letter that you would like. Than select the file sage100 to install and make sure to select SQL plus caja as client . very important if you want to install caja and the gestion part you should first install the caja and after go back to install and do the gestion During installation it will ask you name of server , make sure you add just the name of the server without \\ Next you will have to put in the license number to the sage100 , the same you used during the installation on the server. Than go next next next complete If you want the gestion too than redo install and select the gestion or any other components that you would like and do the same process as above. We are using version 16, and we have to install a fix I think it is called parche 16.0.1 . to do that copy the dll file in the fix and go to program files > gecomaes change the name of the old dll there and than copy the new in there. Last step …. : ) from local computer with correct local user in case you had to do the instaltion ith an administrator account and not the real local restricted user, go to run type in the server name , go to the network file where you have the shortcuts to the sage100 and copy shortcuts to the desktop of local computer. Make sure when you right click proporties that the path is correct.

Sage 100 install in server

When installing sage 100 in a server please note the following important things. – After installing the program the test database might not work if you you buy the basic pack, as you might need pack + to make it work. in that case you can ask your distributor to just put in the license of a pack + open the database, than change the license again. The reason why it doesnt work is simply because pack + has the option of various warehouses per business , so once you make it work for the first time with the correct license you can disable multi warehouses and make it work, than change the license again,. – After installing the program make sure the shortcuts and database information is stored on a seperate folder under the root or d: drive than share it as otherwise when installing new computers that connect to the sage 100 through the network not terminal server would not be able to connect. – Make sure that manually you change all the shoortcuts to show name of server \ the shared folder. if you go through the route like d:\\users\folder name it wouldnt work . – How to install on other computers coming in a post soon!!!