Title: Mohmec's Replies | WordPress.org

---

# Mohmec

  [  ](https://wordpress.org/support/users/mohmec/)

 *   [Profile](https://wordpress.org/support/users/mohmec/)
 *   [Topics Started](https://wordpress.org/support/users/mohmec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/mohmec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/mohmec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/mohmec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/mohmec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/mohmec/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/mohmec/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mohmec/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Parallel Main Menu](https://wordpress.org/support/topic/parallel-main-menu/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/parallel-main-menu/#post-6959616)
 * Here is the link: techstorey.com
 * The menu grows vertical. looking for option for parallel columns.
 * Thanks.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/page/2/#post-5609001)
 * probably my last question on this post. How to re-install wordpress? I mean, 
   should i retain any files, DB or completely delete everything under public_html
   and DB.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/page/2/#post-5609000)
 * Now I cant create multisite. I try to add new and it takes me to a page which
   says “Are you sure you want to do this?” and thats all no option to select yes.
   Deleted the plugins. Still no luck. I wait if someone out there has solution 
   before I just scrap everything and reinstall wordpress:-)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/page/2/#post-5608997)
 * Please ignore the above. This is rectified. But I am back to the real question
   on how to swap the multisite. The process i followed left my site with minor 
   flaws. I think I will just replace the themes and build it from scratch
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608996)
 * Ok. My hosting provider restored the site to previous state. My main site is 
   looking good but when i go to network too many redirects error.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608995)
 * I did the following changes and the home page is up but the links give “error
   establishing database connection”. and it goes to subdomain url. ([http://www.marketplace.techstorey.com/wp-login.php](http://www.marketplace.techstorey.com/wp-login.php))
 * I changed the blogid=1 and siteid=1 under bfh_blogs, then changed the siteid 
   and logid =1 under wp-config.
 * I deleted the subdomain under bfh_blods to avoid conflicts. Did not rectify the
   problem so i inserted it back.
 * So the current state is the home page is up and all the links take me to subdomain
   with error “establishing database connection” and I am unable to get inside the
   site.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608993)
 * I also have force www in .htaccess file. Not sure what is wrong..
 * # Force the “www.”
    RewriteCond %{HTTP_HOST} ^techstorey\.com$ [NC] RewriteRule
   ^(.*)$ [http://www.techstorey.com/$1](http://www.techstorey.com/$1) [R=301,L]
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608992)
 * Just updated it. Problem persists.
 * Is site id=1 and blog-Id =2 in wp-confir correct?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608990)
 * Additional info:
 * The above urls were in table bfh_8_options
 * Under Bfh_blogs table these are the url’s
 * 1.Domain=www.marketplace.techstorey.com, Path= /, Site ID=1
    2.Domain=techstorey.
   com, path= /, Site ID=1
 * under Bfh_site table this is the url
 * 1.Domain=www.techstorey.com, path= /
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608988)
 * Yes. In one of the tables I see
    1 siteurl :[http://techstorey.com/](http://techstorey.com/)
 * 2 home: [http://techstorey.com/](http://techstorey.com/)
 * I think the easiest workaround is to reinstall and build it again. What do you
   recommend? Should I just delete the existing files/DB from cpanel and then reinstall
   wordpress?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608987)
 * Yes. In wp-config. 4th line above. It was define(‘DOMAIN_CURRENT_SITE’, ‘www.
   techstorey.com’); and I removed www.
 * How to search DB in Cpanel. When I go to databases I see database name and size
   and there is nothing in there. I see database tools and nothing comes up there.
   I dont see option to access database tables where I can query Select * statements.
   Sorry, I am asking very basics here as I am new to wordpress.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608979)
 * There was one ‘www.techstorey.com’ and I changed it to techstorey.com as shown
   below. Problem persists. Any more suggestions..?
 *     ```
       /* Multisite */
   
       define( 'WP_ALLOW_MULTISITE', true );
       define('MULTISITE', true);
       define('SUBDOMAIN_INSTALL', true);
       define('DOMAIN_CURRENT_SITE', 'techstorey.com');
       define('PATH_CURRENT_SITE', '/');
       define('SITE_ID_CURRENT_SITE', 1);
       define('BLOG_ID_CURRENT_SITE', 2);
       ```
   
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608975)
 * First, I replaced news.techstorey.com with techstorey.com and then I replaced
   techstorey.com with marketplace.techstorey.com.
 * This is the error I see
 * “The webpage at [http://techstorey.com/](http://techstorey.com/) has resulted
   in too many redirects. Clearing your cookies for this site or allowing third-
   party cookies may fix the problem. If not, it is possibly a server configuration
   issue and not a problem with your computer.”
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608973)
 * Since I used the domain I used the method described in the above link,(I didnt
   change the path / for both domain, subdomain) except I replaced the main domain
   name with new subdomain name (example.maindomain.com).
 * The site is down and I am not able to login again and make the changes to previous
   state. Please help.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Theme swap between main domain and sub-domain](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/)
 *  Thread Starter [Mohmec](https://wordpress.org/support/users/mohmec/)
 * (@mohmec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/theme-swap-between-main-domain-and-sub-domain/#post-5608813)
 * Thank you Jan.

Viewing 15 replies - 1 through 15 (of 25 total)

1 [2](https://wordpress.org/support/users/mohmec/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/mohmec/replies/page/2/?output_format=md)