Aprende a configurar WordPress Multisite con subdirectorios en IIS en pocos minutos con este tutorial detallado paso a paso.

WordPress Multisite es una funcionalidad integrada que permite crear una red de sitios bajo un mismo dominio. En el caso de que el sitio web todavía no este creado, un paso previo a este tutorial sería instalar y configurar WordPress en tu sitio web. Si, por el contrario, tu sitio WordPress ya está en producción, no te olvides de crear una copia de seguridad completa del sitio web.

Ahora ya podemos ponernos manos a la obra:

Paso 1: Habilitar la configuración de la red en WordPress

Cuando tenemos un sitio WordPress estándar, la opción de Configuración de red no está habilitada dentro de la pestaña Ajustes.

Por tanto, lo primero que tenemos que hacer es habilitarla y para ello, basta con añadir el siguiente código en el archivo wp-config.php.

Lo ubicaremos justo antes de la línea /* That’s all, stop editing! Happy blogging. */. 

/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );

Guardamos el archivo, refrescamos la página del Escritorio de WordPress y ya podemos ver la pestaña.

Paso 2: Instalar Multisite en tu sitio de WordPress

Si tu sitio web ya está en producción, como sucede en nuestro caso, tienes que desactivar todos los plugins antes de instalar Multisite, lo puedes hacer con acciones en lote para no perder ni un segundo.

A continuación, accedemos a Herramientas / Configuración de red y procedemos a instalar la funcionalidad Multisite, seleccionando la opción de Subdirectorios en este caso, añadiendo un título a la red y estableciendo el correo electrónico del administrador.

Paso 3: Modificar el archivo wp-config.php

Lo siguiente que aparece en pantalla es la indicación de añadir seis líneas de código a continuación del que hemos añadido en el Paso 1. Copiamos, pegamos y guardamos el archivo, así de sencillo.

Paso 4: Configurar la estructura del web.config

Este es el paso que puede entrañar más dificultades, ya que el código que facilita el asistente de instalación no funciona en algunos casos. Además, hay poca información disponible en Internet sobre cómo configurar WordPress Multisite con subdirectorios en IIS, pero en Accesoft hemos logrado dar con la estructura adecuada y lo queremos compartir.  En esta ocasión, sustituimos dentro de la sección de «rules», sustituimos las reglas de redirección existentes por las detalladas a continuación:

 <rules>
	<rule name="WordPress Rule 0" stopProcessing="true">
		<match url="(.*)"/>
		<conditions logicalGrouping="MatchAny">
			<add input="{HTTP_HOST}" pattern="^[^www]"/>
			<add input="{HTTPS}" pattern="off"/>
		</conditions>
		<action type="Redirect" url="https://www.tusitio.com"/>
	</rule>
<rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 7" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule>
</rules>

Solo tenemos que modificar la regla WordPress Rule 0 añadiendo la dirección de tu sitio web en la siguiente línea:

<action type="Redirect" url="https://www.tusitio.com"/>

Paso 5: Loguearse de nuevo

Una vez hemos guardado el archivo, WordPress obliga a volver a loguearse en el programa. Al final de la pantalla actual hay un enlace que, sin salir de la aplicación, nos lleva a la pantalla de login.

Paso 6: Habilitar los plugins de nuevo

Reiniciada la aplicación, nos dirigimos a la sección de plugins, y seleccionamos aquellos, de entre los instalados, que deseemos habilitar. Los habilitamos.

¡Ya está! Conseguido.

Antes de la activación, en la esquina izquierda teníamos el nombre del sitio principal y de que ahora, ha cambiado el icono y el texto. En la pestaña Mis sitios accederás a la administración de toda la red y es donde podrás comenzar con WordPress Multisite, por ejemplo, creando un sitio secundario.

Como ves la instalación y configuración es sencilla, pero a veces se puede complicar la edición del archivo web.config. Esperamos que, con estas indicaciones, el proceso de configurar WordPress Multisite con subdirectorios en IIS te resulte más fácil. Puedes contactarnos o dejar un comentario si necesitas más información o asistencia profesional para tu infraestructura de redes e Internet.

¿No quieres perderte ningún artículo? Puedes añadir el blog a tu feed de Bloglovin.

46 commentarios

türkçe izle · 10 de diciembre de 2020 a las 2:37 AM

You completed certain fine points there. I did a search on the subject and found the majority of people will go along with with your blog. Maggie Franciskus Bobina

коррекция фигуры одеждой · 19 de enero de 2021 a las 11:08 PM

Excellent post. Keep posting such kind of information on your
blog. Im really impressed by your blog.
Hey there, You’ve done an incredible job. I will definitely digg it and for my part recommend to my friends.
I am confident they’ll be benefited from this site.

Anónimo · 21 de enero de 2021 a las 9:47 AM

If you bookmark your web site, you will be ready to remain up
to date with all the new and thrilling xxx movies and entry it
whenever you want to get off. At this web site, you may purchase all sorts of normal pump components also and the corporate gives best high quality products at completely unbelievable prices.
The very best technique to download films on the 123movies
on-line webpage is by utilizing the 5K player software
program. It is an unpaid device that lets the viewers download motion pictures in 720p and even 1080p video resolutions.

The online web page-primarily based tool will not
directly download the film. Tubeoffline’s webpage based mostly device is extremely efficient if you wish
to download 123movies in your computer at your work.

You’ll then be requested to choose the format you want the
movie to be in after you download it. In case you don’t use
Edge, and i don’t, then its presence in Windows 10 could
be a bit of an annoyance, especially when it units (and occasionally resets) itself to not only be the default browser, however the default PDF reader too.
It is just available for home windows and mac customers.

123movies · 31 de enero de 2021 a las 7:20 AM

I much prefer informative articles like this to that high brow literature. Dyann Saxon Jameson

720p · 31 de enero de 2021 a las 9:24 AM

You are my aspiration , I own few blogs and sometimes run out from to brand. Murielle Brody Gayleen

dublaj · 31 de enero de 2021 a las 10:18 PM

Wonderful beat ! I wish to apprentice while you amend your website, how could i subscribe for a blog site? The account helped me a acceptable deal. I had been a little bit acquainted of this your broadcast provided bright clear idea Barbette Verne Kern

access · 1 de febrero de 2021 a las 6:17 AM

Hello there. I found your site by way of Google even as searching for a comparable matter, your web site got here up. It looks great. I have bookmarked it in my google bookmarks to visit then. Dorelia Perceval Fulvi

netflix · 1 de febrero de 2021 a las 8:09 AM

Hi there, I do think your web site could be having browser compatibility problems. Aleta Caesar Morrissey

altyazili · 1 de febrero de 2021 a las 1:31 PM

Almost all of whatever you point out happens to be supprisingly precise and that makes me wonder the reason why I had not looked at this with this light before. Your piece really did switch the light on for me personally as far as this specific issue goes. Nevertheless at this time there is actually just one issue I am not necessarily too comfy with and while I attempt to reconcile that with the actual central theme of your point, permit me observe just what the rest of your visitors have to say. Nicely done. Tarra Joe Chapnick

watch · 1 de febrero de 2021 a las 3:30 PM

I love receiving your input! I have followed your posts and enjoy your musical selections. You have great taste. Mab Terence Norvan

direk · 1 de febrero de 2021 a las 11:10 PM

This post will assist the internet visitors for setting up new website or even a blog from start to end.| Timi Jefferey Braynard

altyazili · 2 de febrero de 2021 a las 1:09 AM

You should be a part of a contest for one of the highest quality websites on the internet. I am going to recommend this website! Berni Bord Werner

tek part · 2 de febrero de 2021 a las 3:45 AM

Thanks very much! It really was a stunning spot. Have you been? Zuzana Finley Brana

movies · 2 de febrero de 2021 a las 5:08 AM

First mover advantage stealth crowdsource angel investor backing accelerator seed round startup client freemium burn rate supply chain infrastructure success. Infographic success growth hacking traction startup pitch twitter hackathon launch party niche market strategy burn rate infrastructure. Sari Kermit Gaut

Anónimo · 7 de febrero de 2021 a las 12:13 PM

Further, Mr. Ganti had come to my support publicly and strongly, when I was viciously attacked by some persons on social media previously.

I used to be and still am grateful to him for that support that he
had extended to me. I felt it acceptable to offer an outline of my interactions with Mr.
Ganti which started in the first half of 2015 if I recall accurately, perhaps round 9 months or so after Madhusudan Rao Naidu burst on the Sathya Sai neighborhood
scene in May 2014 publicly “declaring” his so referred to
as communicator claim. Mr. V.R. Ganti did main work in approaching
leaders and vital folks in each Prasanthi Nilayam
system as well as Muddenahalli group, to investigate the matter, share the matter along with
his readers, and try arduous to get Muddenahalli group to quit Madhusudan Rao Naidu’s communicator claims and unite
back with Prasanthi Nilayam based official Sai organization.

dizi · 10 de febrero de 2021 a las 1:55 PM

Wonderful, what a webpage it is! This website presents valuable data to us, keep it up.| Jacinda Ross Risa

best CBD oil · 11 de febrero de 2021 a las 6:34 PM

Greetings! I know this is somewhat off topic but I was wondering which blog platform are you using for
this site? I’m getting sick and tired of WordPress because I’ve had issues with hackers and I’m looking at alternatives for another platform.
I would be great if you could point me in the direction of a
good platform.

cbd gummies · 12 de febrero de 2021 a las 6:14 PM

Thanks very interesting blog!

CBD oil for sale · 21 de febrero de 2021 a las 9:11 AM

I have to thank you for the efforts you’ve put in writing this site.
I am hoping to view the same high-grade content from you in the future as well.
In truth, your creative writing abilities has motivated me to get my
own, personal blog now 😉

CBD oil · 21 de febrero de 2021 a las 11:20 AM

At this time it sounds like Expression Engine is the preferred blogging platform available right
now. (from what I’ve read) Is that what you’re using on your blog?

where to buy CBD · 22 de febrero de 2021 a las 8:46 AM

Useful info. Fortunate me I found your web site by chance,
and I’m stunned why this accident did not came about earlier!
I bookmarked it.

best cbd gummies · 22 de febrero de 2021 a las 10:31 AM

Do you have any video of that? I’d love to find out some additional
information.

buy cbd gummies · 22 de febrero de 2021 a las 2:17 PM

Hello colleagues, how is all, and what you would like to say regarding this post, in my view its truly remarkable designed for me.

best cbd for dogs with anxiety · 22 de febrero de 2021 a las 3:18 PM

I am not sure the place you are getting your information, but great topic.
I needs to spend a while finding out much more or understanding more.
Thanks for wonderful information I used to be on the lookout
for this information for my mission.

best CBD gummies · 22 de febrero de 2021 a las 5:17 PM

Aw, this was a very good post. Finding the time
and actual effort to produce a great article… but what
can I say… I hesitate a lot and don’t seem to get anything done.

cbd · 23 de febrero de 2021 a las 4:55 AM

I am not sure where you’re getting your info, but great topic.
I needs to spend some time learning more or understanding more.
Thanks for great information I was looking for this
information for my mission.

cbd oil for dogs · 24 de febrero de 2021 a las 1:31 AM

Hey very nice blog!

ttvhxlxmtp · 19 de marzo de 2021 a las 2:44 PM

Muchas gracias. ?Como puedo iniciar sesion?

CBD gummies for sale · 20 de marzo de 2021 a las 11:15 PM

Hey I am so excited I found your weblog, I really found you by error, while
I was researching on Aol for something else, Nonetheless
I am here now and would just like to say cheers for a marvelous post and a all round interesting
blog (I also love the theme/design), I don’t have time
to read it all at the moment but I have book-marked it and also included your RSS
feeds, so when I have time I will be back to read more, Please do keep up the great
jo.

My page :: CBD gummies for sale

CBD gummies for anxiety · 21 de marzo de 2021 a las 11:58 AM

Yes! Finally something about cbd gummies.

Here is my website – CBD gummies for anxiety

CBD gummies for sale · 21 de marzo de 2021 a las 3:06 PM

I’m not sure exactly why but this site is loading
very slow for me. Is anyone else having this problem or is it a
problem on my end? I’ll check back later on and see if the problem still exists.

Look at my homepage; CBD gummies for sale

CBD gummies for sleep · 21 de marzo de 2021 a las 4:29 PM

Write more, thats all I have to say. Literally, it seems as though you
relied on the video to make your point. You obviously know
what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us something enlightening to read?

Feel free to surf to my page: CBD gummies for sleep

CBD gummies for anxiety · 21 de marzo de 2021 a las 5:22 PM

If you desire to grow your know-how simply keep visiting this web page and be updated with the latest gossip posted here.

Check out my web-site: CBD gummies for anxiety

delta 8 thc · 7 de abril de 2021 a las 10:18 PM

If some one wants expert view on the topic of blogging afterward i suggest him/her to pay a quick visit this blog, Keep up the good
work.

Feel free to visit my web-site – delta 8 thc

delta 8 thc for sale · 7 de abril de 2021 a las 10:41 PM

My brother recommended I might like this web site. He was entirely right.
This post actually made my day. You can not imagine simply how much time I had spent for this info!
Thank you!

Here is my web-site :: delta 8 thc for sale

delta-8-THC · 11 de abril de 2021 a las 9:30 PM

Its like you read my mind! You appear to know a lot about this,
like you wrote the book in it or something. I think that
you could do with some pics to drive the message home a
little bit, but other than that, this is excellent blog.
A fantastic read. I’ll certainly be back.

my blog post delta-8-THC

buy cbd gummies · 11 de abril de 2021 a las 11:48 PM

It’s awesome for me to have a web page, which is helpful in support of my
know-how. thanks admin

Here is my site; buy cbd gummies

cbd products · 12 de abril de 2021 a las 9:14 PM

Thanks on your marvelous posting! I truly enjoyed reading it, you will be a
great author.I will ensure that I bookmark your blog and will
eventually come back someday. I want to encourage one to continue your great job, have a nice day!

My web blog cbd products

best delta 8 thc · 12 de abril de 2021 a las 10:52 PM

Fantastic beat ! I would like to apprentice while you amend your
web site, how can i subscribe for a blog website? The account helped me a acceptable deal.
I had been tiny bit acquainted of this your broadcast provided
brilliant transparent idea

Here is my web site best delta 8 thc

delta 8 thc · 13 de abril de 2021 a las 12:13 AM

Keep on working, great job!

My website: delta 8 thc

CBD gummies for pain · 13 de abril de 2021 a las 2:46 AM

Hello to all, it’s actually a pleasant for me to go to see this website, it contains helpful Information.

Here is my web-site :: CBD gummies for pain

CBD gummies for sleep · 13 de abril de 2021 a las 3:58 AM

When someone writes an paragraph he/she keeps the plan of a user in his/her brain that
how a user can know it. Thus that’s why this post is perfect.
Thanks!

Visit my web page; CBD gummies for sleep

delta-8-THC · 13 de abril de 2021 a las 4:32 AM

These are genuinely impressive ideas in concerning blogging.
You have touched some good things here. Any way keep up wrinting.

My blog post … delta-8-THC

delta 8 · 13 de abril de 2021 a las 5:07 AM

Every weekend i used to visit this website, as i wish for enjoyment, for the reason that this this site conations really
fastidious funny stuff too.

My web-site … delta 8

CBD gummies for anxiety · 13 de abril de 2021 a las 7:36 AM

Hi there! I know this is somewhat off topic but I was wondering which blog platform are you using for this site?
I’m getting tired of WordPress because I’ve had problems
with hackers and I’m looking at alternatives for another platform.
I would be great if you could point me in the direction of
a good platform.

my homepage: CBD gummies for anxiety

CBD gummies for pain · 13 de abril de 2021 a las 7:40 AM

Excellent post. I used to be checking continuously
this blog and I’m inspired! Extremely useful info particularly the ultimate phase
🙂 I maintain such information much. I was seeking this particular info for a very long time.
Thanks and best of luck.

My site CBD gummies for pain

Deja una respuesta

Tu dirección de correo electrónico no será publicada.