diragusa
Member
Posted 5 months ago #
When I delete one subdirectory on my multisite, and start a new one with the same name i get many little problems running amuck. Is there a way to permanently go into the database and rid of that one subdirectory completely. the subdirectory numbers in my database now go out of sequence i would prefer it start where it ended after getting out of sequence.
tough question i know
When you delete a site within your blog, WordPress automatically deletes all the database tables for that site (i.e. if you delete blog ID 3, then the tables wp_3_* are all removed).
You cannot reuse that blog ID, however. So if you're using that for something, you'll be goobered.
diragusa
Member
Posted 5 months ago #
I see that the blog.dir of those sites are still there could i delete them?
Yes. That's safe to delete if the site itself is deleted :)
diragusa
Member
Posted 5 months ago #
will see if that fixes the problem. the blog i deleted in the first place was at the end of the blog id list, then when i made a new site it skip a number. not cool.
thanks though
That's what it's supposed to do. You don't EVER reuse blog ID numbers. They must be unique, never repeating.
diragusa
Member
Posted 5 months ago #
diragusa
Member
Posted 5 months ago #
but i guess its not a matter of the blog id. its more of the what the subdriectory is called, i cant seem to get rid of old little files in this subdirectory, to start fresh at atleast in the new subdirectory.
I don't understand what you mean... You can't delete the old, unused, blogs.dir/#/ folder?
diragusa
Member
Posted 5 months ago #
no but delete any essence of the other subdirectories i deleted in:
wp_blogs,
wp_blog_versions,
wp_registration_log,
wp_signups,
wp_site,
wp_sitemeta,
wp_sitecategories
hmmm ...
You don't, shouldn't, need to delete anything out of those tables.
They're supposed to clean up when you delete the blog from Network Admin. You ARE actually deleting the blog, right? Get the 'are you sure?' screen and everything?
diragusa
Member
Posted 5 months ago #
ya fixed the issue. thanks so much