Jack Sarlo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress update ruined headers and more…Ok, seems the issue is with a theme not WordPress update. So I’ll post in there.
I restored a backup that’s why the issue doesn’t appear live on site. It only appears in the file I provided.
Thanks
Forum: Plugins
In reply to: [jQuery Pin It Button for Images] pin it button doesn’t appearSame issue.
Forum: Fixing WordPress
In reply to: Rss feed no proper descriptions…ok, yes I post new articles on site, so the rss feed will load new stuff…
I’ll take a look, thanks for the links!
Forum: Fixing WordPress
In reply to: Rss feed no proper descriptions…My feed contains all pages of my site (articles), not just 1 piece of content, was there a misunderstanding?
Forum: Fixing WordPress
In reply to: Rss feed no proper descriptions…I submitted it to Flipboard and they’ll use it to display a list of my blog posts… each post will contain a title, image and a description. So the description has to be decent, it will be seen by everyone.
Thanks
Forum: Fixing WordPress
In reply to: Adding ‘www’ to urls…Links on my own domain, to my images, internal pages, favicon url’s, everything.
Example: https://www.productgenerationmastery.com/
View the page source and search for https://product to find them.
Thanks
- This reply was modified 4 years, 11 months ago by Jack Sarlo.
ok, and with free version can I use Aweber Ad Tracking tags? I’m using Elementor.
ok this worked according to google’s robots tool:
/?s=
blocks whatever I put after = i.e. whatever user searches.Google can still index those pages if I link to them…
Thanks
The search results page is something like this:
https://www.informationmarketingexpert.com/?s=test
so what slug do I use for the ‘disallow’?
Thanks
I don’t understand, the sitemap page is this:
https://www.informationmarketingexpert.com/sitemap_index.xmlThere’s not way to edit that page.
If you mean the search results page, I don’t see yoast settings on that page.
Thanks
- This reply was modified 5 years ago by Jack Sarlo.
Forum: Fixing WordPress
In reply to: Redirecting to ‘https://www’ versionHi,
Not sure I understand you well, because it did not work.
These still don’t redirect to https version, if I include a page after the .com e.g. /askjack/
https://www.
https://
This is the new .htaccess file.
# BEGIN WpFastestCache <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^informationmarketingexpert\.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.informationmarketingexpert\.com [NC] RewriteRule ^(.*)$ https://informationmarketingexpert\.net/$1 [L,R=301,NC] # Start WPFC Exclude # End WPFC Exclude # Start_WPFC_Exclude_Admin_Cookie RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=jcksrl # End_WPFC_Exclude_Admin_Cookie RewriteCond %{HTTP_HOST} ^www.informationmarketingexpert.com 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 /home3/santu2qw/public_html/informationmarketingexpert.com/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 AddType x-font/ttf .ttf 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 RewriteOptions inherit # 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 # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: <files *.html> SetOutputFilter DEFLATE </files>
- This reply was modified 5 years ago by Jack Sarlo.
ok, just to clarify, the database file is the most important file, that contains my articles so to speak, correct?
Thank you!
Forum: Developing with WordPress
In reply to: Adding target_”blank” to all links (with javascript)ok, I can put the following between the <head> </head> tags.
<script>jQuery(document.links) .filter(function() { return this.hostname != window.location.hostname; }) .attr('target', '_blank');</script>
Forum: Developing with WordPress
In reply to: Adding target_”blank” to all links (with javascript)I thought I could just put the javascript in the header, that would be easy.