Kasper
Forum Replies Created
-
After checking a few other big websites I see that the url for the root of the domain should return 200 OK both with and without the / at the end.
Sorry for the trouble π
No problem and thank you for the help π
Do you have a solution on the problem with the homepage url that responds with 200 OK with https both with and without the / at end of the url?
I guess the one with a / at the end should redirect to the one without.I think I solved the problem finally.
I moved this code:
# BEGIN rlrssslReallySimpleSSL rsssl_version[2.2.10] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] </IfModule> # END rlrssslReallySimpleSSLUp in the top of the .htaccess file before
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressShould there be any problems about having the SSL code before the WordPress code in the .htaccess?
Now I get these header responses.
1. http://trainingandrehab.dk/ redirect to https://trainingandrehab.dk/
2. http://trainingandrehab.dk redirect to https://trainingandrehab.dk/
3. https://trainingandrehab.dk 200 OK
4. https://trainingandrehab.dk/ 200 OK
The last two should not both respond 200 OK, right?For the subpages:
1. http://trainingandrehab.dk/kontakt redirect to https://trainingandrehab.dk/kontakt which redirect to https://trainingandrehab.dk/kontakt/
2. http://trainingandrehab.dk/kontakt/ redirect to https://trainingandrehab.dk/kontakt/
3. https://trainingandrehab.dk/kontakt redirect to https://trainingandrehab.dk/kontakt/
4. https://trainingandrehab.dk/kontakt/ 200 OKLike this?
# BEGIN rlrssslReallySimpleSSL rsssl_version[2.2.10] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTPS} !=on [NC] RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] </IfModule> # END rlrssslReallySimpleSSLStill giving 200 code when doing header response check.
Forum: Plugins
In reply to: [Dynamic Widgets] How to only show on one page (That is set as post page)My post page is not set to the frontpage but a subpage called “videos”.
But it worked when I did this:
Posts Page Checkmark
And then except for “First page”I think itΒ΄s strange this is called “First page” but it seems to work now! π
Please let me know about your testing.
Yes, it is that feature.
I get the same problem.
It works, but it set the username as First name in Mailchimp.Forum: Plugins
In reply to: [WooCommerce] WooCommerce continue shopping in message boxShould that file with product-thumbnails for the single-product include anything for the message box saying: “”Product 1″ successfully added to your cart” ?
I canΒ΄t find anything in that file which look like that πForum: Plugins
In reply to: [WooCommerce] WooCommerce continue shopping in message boxAlright! Thank you! π
Could you tell me in which template or file I can edit this?I found this in a file called wc-cart-functions.php:
/** * Add to cart messages. * * @access public * @param int|array $product_id * @return void */ function wc_add_to_cart_message( $product_id ) { if ( is_array( $product_id ) ) { $titles = array(); foreach ( $product_id as $id ) { $titles[] = get_the_title( $id ); } $added_text = sprintf( __( 'Added "%s" to your cart.', 'woocommerce' ), join( __( '" and "', 'woocommerce' ), array_filter( array_merge( array( join( '", "', array_slice( $titles, 0, -1 ) ) ), array_slice( $titles, -1 ) ) ) ) ); } else { $added_text = sprintf( __( '"%s" was successfully added to your cart.', 'woocommerce' ), get_the_title( $product_id ) ); } // Output success messages if ( get_option( 'woocommerce_cart_redirect_after_add' ) == 'yes' ) : $return_to = apply_filters( 'woocommerce_continue_shopping_redirect', wp_get_referer() ? wp_get_referer() : home_url() ); $message = sprintf('<a href="%s" class="button wc-forward">%s</a> %s', $return_to, __( 'Continue Shopping', 'woocommerce' ), $added_text ); else : $message = sprintf('<a href="%s" class="button wc-forward">%s</a> %s', get_permalink( wc_get_page_id( 'cart' ) ), __( 'View Cart', 'woocommerce' ), $added_text ); endif; wc_add_notice( apply_filters( 'wc_add_to_cart_message', $message, $product_id ) ); }But this is for the other message box on the cart page? The one it use if I check the “Redirect to the basket page after successful addition” setting
Forum: Plugins
In reply to: [WooCommerce] WooCommerce continue shopping in message boxThank you…
I have not checked the “Redirect to the basket page after successful addition” because I want them to stay on the product page.And then I the ‘Continue shopping” button in the message box beside the view cart.
Forum: Plugins
In reply to: [Genesis Grid] Not workingThank you!
Is it possible to make them all with same height? Some posts are higher because of more words πForum: Plugins
In reply to: [WP Boxer] Centering the imageThanks for the answer.
I use Weaver 2 theme.Something new?
How long time will it take?
Days, weeks or months?