Saturday, September 26, 2015

Remove Multisite Option from Wordpress

WordPress blog when you want to create multi language or multi site than it allow you option by some changes in coding. This functionality is useful when you want to set different post content for each website or many countries, languages then you must create multi website. Multi site also use when you want to create multi domain website.
To Enable multi site option or create a multi site in your current WordPress website than see details here.
Some times you does not need multi website option or back to same or original wordpress site from multi website than here simple and basic steps for remove multi website or network option in WordPress
  1. Open your wp-config file on WordPress root folder
  2. Find define('WP_ALLOW_MULTISITE',true); and replace to define('WP_ALLOW_MULTISITE',false);
  3. Remove below code from that file which is added during create multi site

    define( 'MULTISITE', true );
    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/wordpress/';
    define( 'DOMAIN_CURRENT_SITE', 'localhost' ); //Server path
    define( 'PATH_CURRENT_SITE', '/wordpress/' ); //WordPress directory name
    define( 'SITE_ID_CURRENT_SITE', 1 );
    define( 'BLOG_ID_CURRENT_SITE', 1 );
  4. Delete current .htaccess file and recreate by default WordPress(Login to admin panel and change permalink than .htaccess auto generate if folder permission is 777)
  5. Now enter into phpMyAdmin for database access.
  6. Remove spam and deleted field from wp_users table (where 'wp_' is table prefix). Enter below sql query for that.

    ALTER TABLE `wp_users` DROP `spam`, DROP `deleted`;
  7.  Delete all tables which are related to second blog like `wp_2_commentmeta` where 2 is site id of second site which you can find in wp_site table
  8. Now delete all below tables for multi site
    • wp_blogs
    • wp_blog_versions
    • wp_registration_log
    • wp_signups
    • wp_site
    • wp_sitemeta
    For delete above tables use below sql query

    DROP TABLE `wp_blogs`, `wp_blog_versions`, `wp_registration_log`, `wp_signups`, `wp_site`, `wp_sitemeta`;
Run website and check admin panel multi site option was removed.

Top 10 Adult Bollywood Movies

From Bollywood all types of movies come out every year. in that adult movie is also one category of the Bollywood movie here list of top 10 Bollywood movies which is most famous because of adult scenes in the movie

1. MAYA MEMSAAB

Release Year : 1993
Director :  Ketan Mehta
Producer :  Ketan Mehta
Cast : Sharukh Khan, Deepa Sahi, Raj Babbar, Farooq Shaik,Paresh Rawal

2. AASTHA

Release Date: 28th January 1997
Director :  Basu Bhattacharya
Producer :  Basu Bhattacharya
Cast : Rekha, Om Puri, Dinesh Thakur, Navin Nischol, Daisy Irani

3. EK CHOTI SI LOVE STORY

Release Date: 6th September 2002
Director :  Shashilal K. Nair
Producer : Shashilal K. Nair
Cast : Manisha Koirala, Ranvir Shorey, Aditya Seal, Saroj Bhargava

4. MURDER

Release Date: 2nd April 2004
Director :  Anurag Basu
Producer :Anurag Basu
Cast :  Mallika Sherawat, Emraan Hashmi, Ashmit Patel

5. GIRLFRIEND

Release Date: 11th June 2004
Director :  Karan Razdan
Producer : Pammi Baweja
Cast : Amrita Arora, Ishaa Koppikar, Aashish Chaudhary, Sumeet Nijhawan

6. HATE STORY

Release Date: 20th April 2012
Director :  Vivek Agnihotra
Producer : Vikram Bhatt
Cast : Paoli Dam, Nikhil Dwivedi, Gulshan Devaiya


7. JISM 2

Release Date: 3rd August 2012
Director :  Pooja Bhatt
Producer : Pooja Bhatt
Cast : Sunny Leone, Randeep Hooda, Arunoday Singh


8. NASHA

 

Release Date: 26th July 2013
Director :  Amit Saxena
Producer : Aditya Bhatia
Cast : Poonam Pandey, Shivam Patil, Ranbir Chakma, Sheetal Singh



9. BA PASS

Release Date: 2nd August 2013
Director :  Ajay Bahl
Producer : Ajay Bahl
Cast : Shilpa Shukla, Dibyendu Bhattacharya, Rajesh Sharma

10. KAMASUTRA 3D

Release Date: 28th January 2014
Director :  Rupesh Paul
Producer : Rupesh Paul
Cast : Sherlyn Chopra, Tumul Balyan, Jaypal Khichar, Mohit Keswani