PatrikHax
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] published_time, modified_time on posts but not on page?It’s Yoast who puts it in the posts.. And not in page. ??
Forum: Plugins
In reply to: [Breadcrumb NavXT] Still show “Home” when on Home pageHey! I think this is what I want to help with too. Because it’s about “home” not showing on the first page? But should you have “Home” on the homepage as well? It does not so many pages have? ??
As example: https://www.ads-software.com/support/topic/still-show-home-when-on-home-page/
That has:
Support ? Plugin: Breadcrumb NavXT ? Still show “Home” when on Home pageBut nothing on:
? ??
Forum: Reviews
In reply to: [Classic Editor] Oh, WordPress…+++++!!! Hate it.
Thank you for such a quick response! ??
I will have a table over the title of the post.
Did not get all in the link but tried<?php tablepress_print_table( array( ‘id’ => ‘1’, ‘use_datatables’ => true, ‘print_name’ => false ) ); ?>
and the table comes up and works. But without: responsive=scroll ?
Thanks! ??
I still do not get it working properly. =(
I want 301 in .htcacces but it does not work as I described above.
Right now this works:
https://www.exemple.com to https://www.exemple.com
https://exemple.com to https://www.exemple.combut not:
https://exemple.com to https://www.exemple.com
“Enable redirect of type 301 to SSL in WordPress” is on. Not
“Enable redirect of type 301 in .htaccess” or javascript.The problem of not working with .htaccess is the same as above.
Ok i do not have it ??
Forum: Plugins
In reply to: [Yoast SEO] Paginated archives?Thank you for your answers! ?? But do we mean the same thing? ?? My homepage does not have any posts. And that’s the exactly same page on /page/2 and it gets indexed? ??
1. I do not really understand what everything means in that guide but is it right if I write this?
RewriteEngine On # If not using www RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L] # If using www RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
3. So i should not say to Google that i “change” domain to https:// there? Just add those four and no more? Not under settings and change address to https://?
4. But I noticed that the pictures went to https:// when I enter this?:
RewriteEngine On # If not using www RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L] # If using www RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Have a good day and thanks for your help. ??
Thanks for the response ??
I have 4 different questions – but that is about the same thing. ??
1. I want the .htaccess option but it does not work as I said. ?? On site I’ve only got this in .htaccess but it does not work either:
# 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 WordPress
Therefore, the problem must be something else? ?? Some ideas on why not .htcacces option does not work for me?
2. When installing Really Simple SSL, it says hat i should change https:// to // in .css and .js files? How do I know where to do it? I’m going through style.css and so on in the panel but do not find any links at all? How do i know that i did not miss any?
3. When you change to SSL, you have to change it in Google Console right? It’s my question 3 about. Should i add https://www.exemple.com, https://exemple.com, https://www.exemple.com and https://exemple.com to google console?
All four? Just had https://www.exemple.com before. But you should i not set them up to go to https://www.exemple.com there? Is there alternative with https?
I can not find it?4.
Question 4 is about this:
When I click on https://really-simple-ssl.com/wp-content/uploads/2016/02/webmastertools2-300×158.jpg it goes to https://really-simple-ssl.com/wp-content/uploads/2016/02/webmastertools2-300×158.jpg.
But it does not work on my site? But the green key comes up still that the site is safe? But how do I get the pictures to be like on your website?Thanks for the help! ??
1.
I have tested it now but still do not work?I tried on another site where I only have this:
# 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 WordPress
And it does not work either?
2.
Then if i need to change more:It says that i should change https:// to // in .css and .js files? How do I know where to do it?
3.
And then i should add https://www.exemple.com, https://exemple.com, https://www.exemple.com and https://exemple.com to google console? Want to use https://www.exemple.com. How do I connects these in google console?4.
And the addresses for images do not go to https? If i take the adress to a picture with out https? Its one picture on https://www.exemple.com/wp-content/uploads/2017/03/picture.jpg and one on https://www.exemple.com/wp-content/uploads/2017/03/picture.jpg?Sorry for bad english hope someone understands anyway ??
Thank you for quick and good answers! ??
This is how it looks:
# BEGIN WpFastestCache <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^domain.se RewriteRule ^(.*)$ http\:\/\/www\.domain\.se\/$1 [R=301,L] # Start WPFC Exclude # End WPFC Exclude RewriteCond %{HTTP_HOST} ^www.domain.se RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WhatsApp|Mediatoolkitbot) RewriteCond %{REQUEST_METHOD} !POST RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} !(\/){2}$ RewriteCond %{REQUEST_URI} \/$ RewriteCond %{QUERY_STRING} !.+ RewriteCond %{HTTP:Cookie} !wordpress_logged_in RewriteCond %{HTTP:Cookie} !comment_author_ RewriteCond %{HTTP:Cookie} !wp_woocommerce_session RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC] RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or] RewriteCond /storage/content/31/104131/domain.se/public_html/wp-content/cache/all/$1/index.html -f RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L] </IfModule> <FilesMatch "index\.(html|htm)$"> AddDefaultCharset UTF-8 <ifModule mod_headers.c> FileETag None Header unset ETag Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" Header set Pragma "no-cache" Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT" </ifModule> </FilesMatch> # END WpFastestCache # BEGIN GzipWpFastestCache <IfModule mod_deflate.c> AddType x-font/woff .woff AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/javascript AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf </IfModule> # END GzipWpFastestCache # BEGIN LBCWpFastestCache <FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$"> <IfModule mod_expires.c> AddType application/font-woff2 .woff2 ExpiresActive On ExpiresDefault A0 ExpiresByType image/webp A2592000 ExpiresByType image/gif A2592000 ExpiresByType image/png A2592000 ExpiresByType image/jpg A2592000 ExpiresByType image/jpeg A2592000 ExpiresByType image/ico A2592000 ExpiresByType image/svg+xml A2592000 ExpiresByType text/css A2592000 ExpiresByType text/javascript A2592000 ExpiresByType application/javascript A2592000 ExpiresByType application/x-javascript A2592000 ExpiresByType application/font-woff2 A2592000 </IfModule> <IfModule mod_headers.c> Header set Expires "max-age=2592000, public" Header unset ETag Header set Connection keep-alive FileETag None </IfModule> </FilesMatch> # END LBCWpFastestCache # 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 WordPress RewriteEngine On # If not using www RewriteCond %{HTTP_HOST} !^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R,L] # If using www RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteCond %{HTTP:HTTPS} !on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
Now I have also found pictures deleted directly in posts. All images that have disappeared have uploaded the last months.
Now I have noticed several sites have the same problem where I updated..
It did not disappear in 2.4.6? ??
Will it be fixt in the next update? ??