Title: Sandip Patil's Replies | WordPress.org

---

# Sandip Patil

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Want to remove the post_typengg_pictures and ngg_gallery](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/#post-6952950)
 * HI,
 * Thanks for support. But the things is like NGG storing the post type with draft
   mode in wp_posts table and which is creating lot of performance issue.
 * We already have caching, ngnix ,cdn but this issue is for CMS and due to heavy
   data set and can’t load faster.
 * If i remove those entries it again adds 2 entries per image in wp_posts table.
   Please help want to rid off with the issue.
 * Thanks,
    Sandip P.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Uploading 1 photo generates over 900 draft posts!](https://wordpress.org/support/topic/uploading-1-photo-generates-over-900-draft-posts/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/uploading-1-photo-generates-over-900-draft-posts/#post-6804009)
 * Hi All,
 * Same issue i am facing unwanted post_type ngg_pictures and ngg_gallery is getting
   stored as draft mode while creating galleries.
 * Any luck here. I had asked like what if i remove those entries from wp_post table
   with post_type ngg_pictures. In my case i have very huge number of such entries.
 * Here is my thread: [https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery?replies=8](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery?replies=8)
 * Thanks,
    Sandip P.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Want to remove the post_typengg_pictures and ngg_gallery](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/#post-6952938)
 * Hi,
 * Thanks for sharing the suggestions.We have almost 20000+ galleries and 204,833
   images.
 * Regarding server settings i can say that site is hosted on wpengine platform.
 * Is there any way we can optimize plugin or DB or something. Please suggest.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Want to remove the post_typengg_pictures and ngg_gallery](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/#post-6952904)
 * Hi,
 * Thanks for your response, bu how i can improve the performance for NGG as its
   running too slow for us, even on local machine it takes time to save the images?
 * Shall we go back to legacy versions?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Want to remove the post_typengg_pictures and ngg_gallery](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/want-to-remove-the-post_typengg_pictures-and-ngg_gallery/#post-6952853)
 * Thanks for your reply. It would be very useful if i understand the reason behind
   storing the post types in wp_posts table.
 * Also in our case we have more than 20000 galleries, and NGG is working very slow
   while saving gallery picture information. (edit gallery).
 * I read somewhere to downgrade the current version or plugin with below one:
 * [https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/](https://wordpress.org/plugins/nextcellent-gallery-nextgen-legacy/)
 * On my local machine i can see the difference of time required to save data for
   current version and the above nextgen-legacy.
 * Please suggest me how i can improve the performance using latest version?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [301 redirect from one domain to another](https://wordpress.org/support/topic/301-redirect-from-one-domain-to-another/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/301-redirect-from-one-domain-to-another/#post-3475072)
 * Write code to .htaccess file
 *     ```
       RewriteEngine on
       RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [with and without www](https://wordpress.org/support/topic/with-and-without-www-2/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/with-and-without-www-2/#post-4246957)
 * Check there are 2 text fields in general settings.. WordPress Address (URL), 
   Site Address (URL) Please make both as [http://www.ringmasterentertainment.com](http://www.ringmasterentertainment.com)
 * Or Do it using .htaccess rule.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Footer Link URL](https://wordpress.org/support/topic/footer-link-url/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/footer-link-url/#post-4246955)
 * Put http:// before [http://www.mycompany.com.](http://www.mycompany.com.). LIKE
   below:
 * <p><?php esc_html_e(‘Copyright © ‘,’13floor’); ?> 2013 My Company Inc. | <?php
   esc_html_e(‘Designed by ‘,’My Company’); ?> [My Company Inc.](http://www.mycompany.com)
   </p>
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the admin url or wp-admin to secure login](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/#post-2849061)
 * Yes above code allow you to implement the admin login for url..
    site.com/secret-
   folder/
 * and below code will restrict the URL : site.com/wp-admin
 * add_action(‘login_form’,’redirect_wp_admin’);
 * function redirect_wp_admin(){
    $redirect_to = $_SERVER[‘REQUEST_URI’];
 *  if(count($_REQUEST)> 0 && array_key_exists(‘redirect_to’, $_REQUEST)){
    $redirect_to
   = $_REQUEST[‘redirect_to’]; $check_wp_admin = stristr($redirect_to, ‘wp-admin’);
   if($check_wp_admin){ wp_safe_redirect( ‘404.php’ ); } } }
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Insert custom variable in to wp_query](https://wordpress.org/support/topic/insert-custom-variable-in-to-wp_query/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/insert-custom-variable-in-to-wp_query/#post-3137320)
 * Veryfy that you are getting category ID in var $currentCat OR use below line:
 * $currentCat = get_query_var(‘cat’);
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the admin url or wp-admin to secure login](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/#post-2848972)
 * Put slash at the end of url..
    e.g. : site.com/secret-folder/
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to change the admin url or wp-admin to secure login](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/how-to-change-the-admin-url-or-wp-admin-to-secure-login/#post-2848960)
 * It works fine for me… Check below code for each file..
 * .htacess code:
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   The maximum number of lines of code that you can post in these forums is **ten
   lines**. Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Disable wordpress rewrite](https://wordpress.org/support/topic/disable-wordpress-rewrite/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/disable-wordpress-rewrite/#post-2850017)
 * Set your permalink setting to Default from wp-admin
 * Settings > Permalink > on the radio option for Default Setting
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Submitting a form to itself](https://wordpress.org/support/topic/submitting-a-form-to-itself/)
 *  [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/submitting-a-form-to-itself/#post-2852425)
 * 1. Make the form method as post
    2. Remove the parameters from action 3. Pass
   the parameters through hidden fields
 * **Check below code : **
 *     ```
       if(issset($_POST['save_data'])){
       // Do operations here...
       }
   
       <form name="frm_add_cart" action="<?php echo get_permalink(); ?> method="post">
       <input type="hidden" name="pid" value = "[page_id]" />
       <input type="hidden" name="action" value = "add" />
       <input type="submit" name="save_data" value="Add to Cart" />
       </form>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [How to login without password](https://wordpress.org/support/topic/how-to-login-without-password/)
 *  Thread Starter [Sandip Patil](https://wordpress.org/support/users/sandipp/)
 * (@sandipp)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/how-to-login-without-password/#post-2848863)
 * In my case.. If user comes from social login.. that time if user already validated
   with social provider then i validate email existence in WP user table and then
   only allow to Login if it exist.

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

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