Upgrade from WordPress Mu to WordPress 3.0

The advent of WordPress 3.0 is coming and one of the million questions is how do I update WordPress? MU to WordPress 3.0? .

And there are many guides on how to go from WordPress "normal" to MU but the other way around ?. This question was almost never raised, but of course, now it's different, now everything is integrated into a single WordPress.

Fortunately Developers Mind has created a very clear and simple guide how to move from WordPress MU (v 2.9.2) to WordPress 3.0 (beta 2), which I share, for those who do not manage with English …

1. Replace the WordPress files:
Download and decompress the latest version of WordPress 3.0 (beta 2). Delete the wp-admin and wp-includes folders. Upload the unzipped files to the server, overwrite the old files. Make sure you overwrite all the files, and pay special attention to the wp-content folder. You must overwrite the files in this folder and not replace the folder with the new one, since the new one contains the themes and the plugins (as you will see, this is very different from what we usually recommend in WordPress Help for a "normal" WordPress update , it is not a transcription error).

2. Update WordPress:
Access the WordPRess desktop and follow the link that asks you to update the network (update network) in order to update all the sites (blogs) in your network.

3. Update wp-config:
WordPress encrypts cookies but you must add the code NONCE_SALT shown at the top of the desktop to the wp-config.php file. For example: define ('NONCE_SALT', 'a <.4i>.) This code will be unique for your installation, add it above the line that says: / * That's all, stop editing! Happy blogging. * /

4. Update the Rewrite rules:
The file wp-content / blogs.php has been discontinued in WordPress 3.0 and you must update the rewrite rules to use the file wp-includes /ms-files.php. Delete the reference to the file wp-content / blogs.php and change it to wp-includes / ms-files.php in the .htaccess file:

In this example, in line 3 we say which language of the reader is redirected ( (en) ), and in the line 4 we note the route to which it will be redirected. You just have to adapt it to your needs.

Of course, you can add as many RewriteCond and RewriteRule as you need.

NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say that we have not warned you.

Loading …

That may also help you:

How to ban by IP or domain from htaccess

I already discussed the issue of restrict access in depth a few months ago, but I thought it would be interesting to have this information in particular because there are more and more situations in which we need to avoid any visitor, or RSS feed thief, access our site created with WordPress.

Edit the file .htaccess and add these lines, modified according to your need, logically:

IP xx.xx .xxx.xxx is what you have to modify. You can also add as many lines deny from xx.xx.xxx.xxx as you need.

Of course, as before, replace domain_a_banear with the domain in question and you can add as many lines of type RewriteCond% {HTTP_REFERER} domain_a_banear .com [NC] as needed.
 banned "title =" banned "width =" 500 "height =" 500 "class =" aligncenter size-full wp- image-5492 "srcset =" http://bootstrapx.com/wp-content/uploads/2018/06/baneado.jpg 500w, https://ayudawp.com/wp-content/uploads/2009/07/baneado- 150x150.jpg 150w "sizes =" (max-width: 500px) 100vw, 500px "/> </a> </p>
<p> And with these simple tricks you can get rid of undesirables, give them a few inches of your nose. tell it in the comments, we will all be grateful. </p>
	</div><!-- .entry-content -->

	<footer class= modeerPosted on Categories Avanzado, Banear, htaccess, IP, Programación, RewriteCond, RewriteEngine, RewriteRule, Seguridad, Tutoriales / Trucos, WordPress.orgLeave a comment on How to ban by IP or domain from htaccess

Remove the category from the URL • WordPress Help

This is something that a user of the forum asked a few days ago and I set to find how to do it . And, by default, WordPress shows the permalinks of categories in this way:

And as you can see, the name of "category" in the URL is somewhat useless, even counterproductive to SEO. Well, if you want to remove it, that's how you should do it: