DS
Forum Replies Created
-
Forum: Plugins
In reply to: [List category posts] Display recent Posts by Categories from all subdomains@zymeth25 i’m talking about subdomain’s categories
separated or not it show blank page =)I got A on tests and it shows the green https without errors but the problem the cookies dies between frontend and wp-admin and users can’t upload when https://, they got disconnected if they try any upload…
Thanks for helping but i still have the same error ?? ..
isn’t a problem with permission bcz i’m back to https:// and it’s working as well i found this error with different ssl plugins too..
But thanks i will wait the update good luck ^^- This reply was modified 8 years ago by DS.
Forum: Fixing WordPress
In reply to: WordPress giving cookie that expired a year agoHello guys!
I got same problem reauth=1 and trying to fix it from a month now even i did the same as you but my problem is always there, i’ve changed my website to https:// . when I login from frontend than click on dashboard it redirect me to
https://myweb.com/wp-login.php?redirect_to=https%3A%2F%2Fmyweb.com%2Fwp-admin%2F&reauth=1
and when other user log in than try to upload image for new post he got disconnected and somehow he can publish post if he didn’t try to upload anything and the post got saved..
when i guess only admin can upload without getting disconnected i tried to fix the cookies this way:
define( ‘COOKIE_DOMAIN’, ‘myweb.com’ );
define( ‘SITECOOKIEPATH’, ‘/’ );
define( ‘COOKIEPATH’, ‘/’ );
but the problem still .. i even tried other themes, disablinf all plugins, deleting everything on .htaccess and the same thing.. hope someone can help! and thanks!Forum: Plugins
In reply to: Possible fix for sudden redirect loop at wp-login with reauth=1Hello guys!
I got same problem reauth=1 and trying to fix it from a month now even i did the same as you but my problem is always there, i’ve changed my website to https:// . when I login from frontend than click on dashboard it redirect me to
https://myweb.com/wp-login.php?redirect_to=https%3A%2F%2Fmyweb.com%2Fwp-admin%2F&reauth=1
and when other user log in than try to upload image for new post he got disconnected and somehow he can publish post if he didn’t try to upload anything and the post got saved..
when i guess only admin can upload without getting disconnected i tried to fix the cookies this way:
define( ‘COOKIE_DOMAIN’, ‘myweb.com’ );
define( ‘SITECOOKIEPATH’, ‘/’ );
define( ‘COOKIEPATH’, ‘/’ );
but the problem still .. i even tried other themes, disablinf all plugins, deleting everything on .htaccess and the same thing.. hope someone can help! and thanks!Forum: Fixing WordPress
In reply to: test cookie prevents loginWordpress Have big problems with cookies. i got disconnected when /author/* try to upload a file ..
Forum: Plugins
In reply to: [Custom Script Integration] how to add custom script To categories?i tryed to change the Code but still not showing the custom area of code in categories that’s my website if someone can help i will be glad
Forum: Plugins
In reply to: [Custom Script Integration] how to add custom script To categories?// execute the scripts on page and single posts
// Should I add || is_category() or || is_archive() on your script like that?function wpwoxcustomscript_display_hook_header() {
global $post;
if(is_single() || is_page() || is_category()) {
echo html_entity_decode(get_post_meta($post->ID, ‘_wpwoxcustomscriptcontentinhead’, true));
}echo get_option(‘wpwoxcustomscript_all_head’);
return;
}function wpwoxcustomscript_display_hook_footer() {
global $post;
if(is_single() || is_page() || is_category()) {
echo html_entity_decode(get_post_meta($post->ID, ‘_wpwoxcustomscriptcontentinfooter’, true));
}echo get_option(‘wpwoxcustomscript_all_body’);
return;
}function wpwoxcustomscript_display_hook($content=”) {
global $post;
$contents=$content;
if(is_single() || is_page() || is_category()) {
$contents= html_entity_decode(get_post_meta($post->ID, ‘_wpwoxcustomscriptcontenttop’, true)) . $content . html_entity_decode(get_post_meta($post->ID, ‘_wpwoxcustomscriptcontentbottom’, true));
}return $contents;
}