drrxa
Forum Replies Created
-
Thanks kruglikov for the advice, but ‘Use late “init”‘ option is disabled because I am using Disk: Enhanced for Page Cache. I dont know if I should switch to Disk?
I am not really comfortable with editing plugin files, if this is a bug, I think it is better to wait for fix in future release.
Forum: Plugins
In reply to: [rtMedia for WordPress, BuddyPress and bbPress] Update ErrorHello,
I’ve got this fatal error after updating to version 2.7:
PHP Fatal error: Call to undefined function bp_get_current_group_id() in .../wp-content/plugins/buddypress-media/app/main/includes/BPMediaActions.php on line 897
Using BP 1.6.4 and WP 3.5.1
Thx
Hello lifeinthegrid,
Thanks for your help and sorry for delay in response. As you suggested, the ownership of duplicated files switched from the FTP account I am using to the (PHP/Wordpress). I contacted the hosting and they set the file owner back to the FTP account I am using.
Now I can make edits and adjustments, but WordPress cant. Meaning that WordPress cannot create directories when I upload images and even I cant upload images when I manually create the directories through the backend Media manager. the file permissions of
wp-content/uploads
is set to 755.When I set the permissions of the
uploads
directory to 777, everything works normally, but that would be e security issue right?Thanks again for support.
A temporary solution for the above problem using wpseo filters. I used the following code in the
functions.php
file:// Remove the trailing slash from the canonical URL of the sub-pages of paginated posts function remove_canonical_trailing_slash($url) { if (is_singular()) { return untrailingslashit($url); } else { return $url; } } add_filter('wpseo_canonical','remove_canonical_trailing_slash',10,1); // Remove the trailing slash from the URL of the next and prev link tags of sub-pages of paginated posts function remove_nxtprv_trailing_slash($linktag) { if (is_singular()) { return str_replace('/"', '"', $linktag); } else { return $linktag; } } add_filter('wpseo_prev_rel_link','remove_nxtprv_trailing_slash',10,1); add_filter('wpseo_next_rel_link','remove_nxtprv_trailing_slash',10,1);
Hope this is helpful.
Hi Joost, thanks for prompt updating, now the URLs for sub-pages of paginated posts does not have the trailing slash, but the canonical and the rel-next and rel-prev link tags still points to the slash version of the URL.
URL: https://example.com/post/2 link rel="canonical" href="https://example.com/post/2/" link rel="prev" href="https://example.com/post" link rel="next" href="https://example.com/post/3/"
The Categories and Tags URLs and their link tags are working properly.
URL: https://example.com/category/first-category/ link rel="canonical" href="https://example.com/category/first-category/" link rel="next" href="https://example.com/category/first-category/2/"
Thanks Joost, you are the best ?? Waiting for the next release.
Forum: Plugins
In reply to: [WP Super Cache] [Plugin: WP Super Cache] White Screen – Admin PagesI have same problem, I cant access the back end settings page of wp super cache plugin after updating to 3.4, a blank page page appear in the area where settings should appear. Everything else works properly on back and front ends.
Forum: Fixing WordPress
In reply to: CustomMenu Name and Category Name ConflictAny one?