Q:

I can't access my store aftering changing Store URL

So, I tried to change my store URL with the following queries:
1. SELECT config_id FROM core_config_data WHERE path = 'web/unsecure/base_url'; (config_id was 6)

2. UPDATE core_config_data SET value = "http://kokorugs.com/store" WHERE config_id = 6;

3. SELECT config_id FROM core_config_data WHERE path = 'web/secure/base_url'; (config_id was 7)

4. UPDATE core_config_data SET value = "http://kokorugs.com/store" WHERE config_id = 7;

I do not have SSL.
In an attempt to access my store, I've tried the following:

After inputting "online-rug-store" into core_config_data id's 6 & 7, I got this error: "Illegal scheme supplied, only alphanumeric characters are permitted." No 404 redirect error.
Going to http://kokorugs.com/store -> Returns 404 error
Going to http://kokorugs.com/magento -> Redirects to http://kokorugs.com/store and returns 404 error
Resetting core_config_data to "http://kokorugs.com/magento" for config_id's 6 and 7 and trying to visit http://kokorugs.com/magento -> Returns 404 error
I have tried clearing cache by deleting contents in var/cache/ and var/session/ and no changes.

Before I reinstall magento and start from scratch, are there any other ideas that I should be trying?
THANK YOU FOR ANY HELP! 

A:

URL of your website is stored in these fields:

web/unsecure/base_url
web/secure/base_url

If your store URL is http://example.com/magento/, Magento will keep this URL in those two fields in core_config_data table.
If you move your Magento to another directory, for example:
/public_html/magento/ --> /public_html/new_magento/

URL of your site will also change:
http://example.com/magento/ --> http://example.com/new_magento/

So you will need to update entries in core_config_data table. Replace old URL with your new URL: http://example.com/new_magento/

