How do i uninstall wordpress?

Page may contain affiliate links. Please see terms for details.

swee'pea99

Squire
I've been creating a blog for my website, using wordpress, but have got into a bit of a pickle. Basically it exists, but in a wordpress folder, whereas I want it to appear at

www.mydomain.com/blog

Googling around I've spent hours stumbling into one thicket of geek-speak after another. I've decided probably my best option would be to uninstall wordpress and start again, installing it into the blog directory (rather than, as I did, into the main public directory). But even uninstaling WP is proving a bit of a mare. I got as far as:

  • Delete all your WordPress files and folders from the site (usually from your ‘public_html’ directory).
  • Delete the WordPress database user and table (usual through ‘cPanel’ control panel if your site has ‘cPanel’)
  • Now Install WordPress from the beginning like you did the first time and you are done (How to install WordPress
...which looked promising. But I don't have cPanel (nor 'fantastico', which also seems to be popular in geekland). After googling, I ended up installing something called PhpMyAdmin, which apparently has the same basic functionality. But can I find anything called WordPress database user or WordPress database table ready to be deleted? No I cannot.

What I don't want to do is sort of half-uninstall Wordpress, leaving fag ends lyign around that screw up all reinstallation efforts. But I'm in over my head here - all the postings I find assume a level of geekery that's way beyond me.

Are there any easy answers? Can anyone offer any clear 1,2,3 like the one above, that I can follow even if I don't have cPanel or Fantastico, and have only PhpMyAdmin, which I don't really know how to use?

Many thanks if you can help.
 

thomas

the tank engine
Location
Woking/Norwich
Go into the RM process module of you unix box and select WP_34mdf reboot mode.

That should sort it
wink.gif



Okay, so I just made that up.

Just do this...hopefully it's not in geek - but if it is just let me know.

1) Back up everything as this might go wrong!!! It probably will. Please....please, back it up!

2) Go into wordpress admin, go to settings and go to general


3) Change WordPress address (URL) and Site address (URL) to the new /blog address

4) Click save changes. Wordpress will break.

5) Open up your website in FTP...and find the existing wordpress directory.

6) rename this to blog

7) Cross fingers

8) Access website and it should be under /blog now.

9) if it hasn't worked then restore back up and don't blame me :biggrin:

10) If it has worked...and you work/run a small business answer the questionnaire in my sig to thank me :smile: otherwise, cake & tea on a bike ride will do ;)
 
OP
OP
swee'pea99

swee'pea99

Squire
Hiya




Thanks for getting back to me. Well, taken in by your silver-tongued plausibility (along with the fact that it sounded right - and easy) I went and followed your suggestion and....it all went tits-up! Which is to say, if I go to www.mydomain.com/blog, I now get:

Forbidden

You don't have permission to access /blog/ on this server.


And it's all your fault!

Oh well, thanks anyway. If you have any other thoughts...
 

thomas

the tank engine
Location
Woking/Norwich
whoops. Did you follow step 1?!?!?! You can now follow step 9!!


Do you want to PM me some details and I'll have a quick look for you - no promises though. I use Wordpress all the time, and what I said should work.

I can't think why it wouldn't - the Forbidden error makes it sound like something else.

this is probably in nerd, but seems like what I said (from the horse's mouth)

http://codex.wordpre...oving_WordPress

Do you need to do this?

step 8 WordPress 2.0 only: Delete the folder wp-content/cache.






ohh, might be the .htaccess file. Load up your ftp and find it, it's in the /blog directory. Save it onto your computer encase this is wrong.. and change it for this - might not work, but could be an issue!

Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress
 
OP
OP
swee'pea99

swee'pea99

Squire
Thanks again. Sorry not to get back sooner - I've been out wrestling viruses for a friend. Without any great success, I have to say, but that's another story.




Um, as to backup, I thought I'd done that by doing an 'export', which said it would save everything in an xtml file on my desktop, so if everything went pear shaped I could simply import and back to square one. Unfortunately that doesn't work, because I can't get to the dashboard to do an import. When I tried, by trying to go to

http://www.mydomain.com/blog/wordpress/wp-admin/

...having previously got to the dashboard by going to

http://www.mydomain.com/wordpress-3.1/wordpress/wp-admin/

..it thinks for a bit, then jumps to

http://www.mydomain.com/blog/wp-log...ydomain.com/blog/wordpress/wp-admin/&reauth=1

and gives me a 404 page not found message.

I tried to 'undo', as it were, by renaming the blog directory 'wordpress-3.1',

but it does the same again - jumps to

http://www.mydomain.com/blog/wp-log...om/wordpress-3.1/wordpress/wp-admin/&reauth=1

and gives me a 404 page not found message.




I did try to find the .htaccess file, but without success. I couldn't find it in the main directory, so I did a 'search' on that file name on the full wordpress3.1 directory I still have on my desktop - just to get 'details' and find out where I might find it, but I got a 'file not found'.




Incidentally, I don't know whether this will be of any help or significance, but the 404 page that comes up is not the regular one. It's one that is ignoring the (regular) stylesheet.css. I've just checked by 'going to' a file that I know doesn't exist on the site, but *not* 'in a /blog directory - and I get the usual 404 page - clearly formatted by the (regular) stylesheet.css.

Many thanks for trying to help with this. I'm always wading in over my head....
 
OP
OP
swee'pea99

swee'pea99

Squire
Yup. Only problem is, it won't install a new one while the old one's still there...and I'm scared to just remove the directories, for fear of leaving scraps lying around to screw up the fresh install. *sigh* Oh well, thanks for trying.
 
OP
OP
swee'pea99

swee'pea99

Squire
Thanks again. I just followed the standard five minute install. I think my big mistake was just uploading it to my 'public' directory, rather than to a 'blog' one.

I think I've pretty much decided to get BT to just 'reformat' the whole site, returning everything to its default, and start again from scratch. I do still have that xtml file. So if I install it in a fresh 'blog' directory, then do an import...

Obviously I'll do a bit more reading/googling before going ahead, but them's me basic notions right now.

Thanks again for your thoughts.
 
Top Bottom