Jay
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: shortcode / shortcode_exists helpYou the man catacaustic.
Thank you.
Forum: Fixing WordPress
In reply to: Move all images from Blogger to WordPressthanks for the help christi. I eneded up leaving my images hosted by blogger.
Forum: Plugins
In reply to: [WP Super Cache] Breadcrum Cachingi have move this question to https://www.ads-software.com/support/topic/dynamic-caching-does-not-work-with-latest-update-141?replies=17
Forum: Fixing WordPress
In reply to: Confusing Error_log entryresolved
Forum: Plugins
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)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
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)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
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)Or is there a way to use ajax to do this? Not sure which would be better.
Forum: Fixing WordPress
In reply to: Confusing Error_log entryi 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
In reply to: [WP Super Cache] Dynamic Caching does not work with latest update (1.4.1)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
In reply to: Convert all link from http to httpsThanks! This issue is resolved now
Forum: Fixing WordPress
In reply to: htaccess directoy specific restrictionI ended up doing this…
RedirectMatch 302 /portfolio/(.*) https://www.web.com/?s=$1
Redirect 302 /portfolio https://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
In reply to: htaccess Redirect or Rewrite Rule?Its local. I was testing it before putting on my live site.
I ended up doing this…
RedirectMatch 302 /portfolio/(.*) https://localhost.com/?s=$1
Redirect 302 /portfolio https://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
In reply to: htaccess directoy specific restrictionThe 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
In reply to: Move all images from Blogger to WordPressChristi,
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
In reply to: htaccess directoy specific restrictionThanks 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 [R=301,L]It worked, but It also place the https://www.website.com in front of the links in the items execepts of those portfolio items.
So now all the links are
https://www.website.com/https://www.website.com/tag/example
and
https://www.website.com/www.facebook.comAny idea if there a way to remove the first section(https://www.website.com/) of those URL’s?