Title: Jay's Replies | WordPress.org

---

# Jay

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [shortcode / shortcode_exists help](https://wordpress.org/support/topic/shortcode-shortcode_exists-help/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/shortcode-shortcode_exists-help/#post-7016203)
 * You the man catacaustic.
 * Thank you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Move all images from Blogger to WordPress](https://wordpress.org/support/topic/move-all-images-from-blogger-to-wordpress/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/move-all-images-from-blogger-to-wordpress/#post-5542621)
 * thanks for the help christi. I eneded up leaving my images hosted by blogger.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Breadcrum Caching](https://wordpress.org/support/topic/breadcrum-caching/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/breadcrum-caching/#post-6380324)
 * i have move this question to [https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141?replies=17](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141?replies=17)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Confusing Error_log entry](https://wordpress.org/support/topic/confusing-error_log-entry/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/confusing-error_log-entry/#post-6382707)
 * resolved
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/)
 *  [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/page/2/#post-5169391)
 * update: if statements work fine, but when checking if the page is_single or is_home
   does not work. I have also tried to place a wp_reset_query(); before the statement,
   but nothing. The code below always output 2. Left the time stamp to make sure
   page is updated when refreshed.
 * *** section of dynamic-cache-test.php***
    ob_start(); $test = (include ‘wp-content/
   test.php’); echo $test; echo “<p>This is a test. The current time on the server
   is: ” . date( ‘H:i:s’ ) . “</p>”; $text = ob_get_contents(); ob_end_clean();
 * ****test.php***
    <?php $x = 1; $y = 2; if( is_single() || is_home()) { return
   $x; } else { return $y; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/)
 *  [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/#post-5169388)
 * yup that worked, thanks jakus! For some reason i can not run any if statements
   in the php file that I call. Same goes for if I check if the page is_single or
   is_home.
 * Any ideas as to why and any suggested workarounds?
 * Code example:
 * if ( is_single() ) {
    echo “here”; }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/)
 *  [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/#post-5169386)
 * Or is there a way to use ajax to do this? Not sure which would be better.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Confusing Error_log entry](https://wordpress.org/support/topic/confusing-error_log-entry/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/confusing-error_log-entry/#post-6382468)
 * i believe there is an error with the call..
 * $numposts = $wpdb->get_var(“SELECT COUNT(DISTINCT ID) FROM $fromwhere”);
 * in the above code, but i could be wrong.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/)
 *  [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/dynamic-caching-does-not-work-with-latest-update-141/#post-5169385)
 * hey jakus,
 * Is it possible where “{do your thing here and you will get dynamic results}” 
   is located to call a file, such as example.php?
 * Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Convert all link from http to https](https://wordpress.org/support/topic/convert-all-link-from-http-to-https/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/convert-all-link-from-http-to-https/#post-5542615)
 * Thanks! This issue is resolved now
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [htaccess directoy specific restriction](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/#post-5563133)
 * I ended up doing this…
 * RedirectMatch 302 /portfolio/(.*) [http://www.web.com/?s=$1](http://www.web.com/?s=$1)
   
   Redirect 302 /portfolio [http://www.web.com/](http://www.web.com/)
 * Than change the 302 to 301 after testing.
 * Also the ?s= from the first line is how my search works so it places any item
   that is typed after the /portfolio/ into a search for my site.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [htaccess Redirect or Rewrite Rule?](https://wordpress.org/support/topic/htaccess-redirect-or-rewrite-rule/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/htaccess-redirect-or-rewrite-rule/#post-5570299)
 * Its local. I was testing it before putting on my live site.
 * I ended up doing this…
 * RedirectMatch 302 /portfolio/(.*) [http://localhost.com/?s=$1](http://localhost.com/?s=$1)
   
   Redirect 302 /portfolio [http://localhost.com/](http://localhost.com/)
 * Than change the 302 to 301 after testing.
 * Also the ?s= from the first line is how my search works so it places any item
   that is typed after the /portfolio/ into a search for my site.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [htaccess directoy specific restriction](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/#post-5562949)
 * The rewrite rule i used [R=301] is a Redirect and the 301 means Moved Permanently.
   Thats why there would be a 404 error. There has to be an easy way to undo this…
 * [R] = instructs Apache to issue a redirect, causing the browser to request the
   rewritten/modified URL.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Move all images from Blogger to WordPress](https://wordpress.org/support/topic/move-all-images-from-blogger-to-wordpress/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/move-all-images-from-blogger-to-wordpress/#post-5542537)
 * Christi,
 * Thanks! I have already moved to WP, but my images still link to my old blogger
   site. I will give the second link a try and let you know how it goes!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [htaccess directoy specific restriction](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/)
 *  Thread Starter [Jay](https://wordpress.org/support/users/the_circle_pit/)
 * (@the_circle_pit)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/htaccess-directoy-specific-restriction/#post-5562942)
 * Thanks for your reply, before your reply I tried to use a Rewrite Rule in my .
   htaccess of root dir. Which worked for me.
 * Below is the rule:
    RewriteRule ^portfolio/ [https://www.thecirclepit.com](https://www.thecirclepit.com)[
   R=301,L]
 * It worked, but It also place the [http://www.website.com](http://www.website.com)
   in front of the links in the items execepts of those portfolio items.
 * So now all the links are
    [http://www.website.com/http://www.website.com/tag/example](http://www.website.com/http://www.website.com/tag/example)
   and [http://www.website.com/www.facebook.com](http://www.website.com/www.facebook.com)
 * Any idea if there a way to remove the first section([http://www.website.com/](http://www.website.com/))
   of those URL’s?

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

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