Insert posts in two tables

No. You’d have to change core WordPress functionality to achieve that (lots of work, and you’ll have to do it again for each upgrade). And if you’re finished with that, you’ll probably have to change some plugins as well. Generally, a big wp_posts table isn’t a problem. If your site is slow, look into where … Read more

How to verify password outside WordPress?

While the answer to your question could be long and complex, but since you are developing another website using ASP, I assume you know how to integrate with database too. I’m going to add some useful information for your case. WordPress Salts WordPress uses different salts for different purposes, as asked here. These salts are … Read more

Using table lock with wp_insert_post?

Firstly, your question indicates that your plugin sometimes runs over 5 min, don’t you get script timeouts? 5 min is a very long runtime… How many posts are you adding and what’s your server environment? Back to the problem… May I suggest another solution? Simply set an option that you’re doing something, and deactivate it … Read more

What is stored in the webserver? (Separated Database)

The WP database contains everything that is related to content: posts, pages, theme settings, plugin settings, media of all kinds. So if you were to replace the WP database with a brand-new WP database, all of your content – and many of your settings – will be gone. The WP ‘code’ (PHP, CSS, JS source … Read more

Using same database for main and subdomain

Can I use the same database that I use at mysite.com also to my subdomain Yes, as long as the table names don’t clash you’re fine, some people have multiple WP instances using the same database, but with different table prefixes. However, keep in mind that there is a security risk as now 2 sites … Read more