toniM07
Forum Replies Created
-
Doing a search on Avada Theme website they say to add this to the .htaccess file
# Apache config
<FilesMatch “.(eot|ttf|otf|woff)”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>https://theme-fusion.com/documentation/avada/how-to/fix-missing-font-awesome-icons-or-custom-fonts/
Which I did and then checked website on Firefox and Safari browsers that had no previous files cached. Fontawesome icons working correctly. After clearing cookies and cached images on Chrome several times the icons finally showed correctly there too. Adding this info in the event it is useful to others.
Thank you.
Thank you for your response. I fixed the quotes for “*” in the .htaccess file in the root directory.
That removed some of the errors in Console. However, still have error causing social media icons and submenu dropdown indicators not showing correctly
“Access to font at ‘X’ from origin ‘Y’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.”Hosting server is Siteground using NGINX Direct Delivery. Checking Siteground support they say to add the same code to .htaccess (without quotes around *) and disable NGINX caching, which I have done. Have also flushed cache multiple times.
How to get fontawesome fonts to load?
Forum: Plugins
In reply to: [Cleverwise Daily Quotes] Daily Quote settings lost during website migrationYes, I had to recreate all the content.
Thanks!Forum: Plugins
In reply to: [Contact Form 7] Newletter – contact form error messageUsing plugin “Easy WP SMTP” and testing that plugin could send a test email successfully the Contact Form worked.
Forum: Plugins
In reply to: [Contact Form 7] Newletter – contact form error messageI am having the same problem on website. https://jby.com/contact/
Error message
There was an error trying to send your message. Please try again later.Just updated Contact Form 7 Plugin to 5.1.8
Using Flamingo Plugin I am seeing the Form Submissions appear to be passing reCaptcha v3
version “3.0”
threshold 0.5
response { “success”: true, “challenge_ts”: “2020-05-14T13:36:13Z”, “hostname”: “jby.com”, “score”: 0.90000000000000002220446049250313080847263336181640625, “action”: “homepage” }Forum: Plugins
In reply to: [Redirection] Bug: “Delete all logs for this 404”This has happened to me as well on two different websites. Added a redirect and checked the box to delete those links. Instead all links in the 404 listing were deleted. Using the most recent version of the plugin 3.6.1
The static page pagination did not work before update either.
As long as the individual Posts URL are working we are OK. Giving the primary domain credit for the static pages (list of Posts) is fine at this point.
Thank you.
I have updated the plugin.
Followed idarek’s suggestion to turn Yoast Sitemap off and on again.
All good. Posts are now listed in the sitemap.
Thank you!
I have updated the Plugin
Primary site: https://shspestcontrol.com/
Click on Menu Item “Pest Facts” to go to https://www.pestcontrolri.com/
Scroll down bottom of page to click on “Next Page”
Goes to https://shspestcontrol.com/pest-facts/page/2/This is not a major problem as the individual Posts use the correct URL and that was the primary goal
https://www.pestcontrolri.com/common-pests-in-february/
and going to Next and Prev continue to use https://www.pestcontrolri.com/post-nameThank you
Thank you
Fixed the problem with CORS
https://enable-cors.org/server_apache.htmlForum: Plugins
In reply to: [Simple Social Icons] xlink:href changes when plugin used with domain mappingThanks for all the replies and info…
I added to .htaccess file in root directory
Header set Access-Control-Allow-Origin “https://www.pestcontrolri.com”
and the images are now showing on pestcontrolri.com page and posts.
Question — does this open any doors to potential hackers or malicious code..?
Thanks
Forum: Plugins
In reply to: [Simple Social Icons] xlink:href changes when plugin used with domain mappingTo be sure I am understanding correctly,
The request for the icon image file from any Page or Post that uses https://www.pestcontrolri.com/ is only using the path
<use xlink:href=”#social-email”></use>
It does not include the full path.Where as, from any Page using https://shspestcontrol.com the image file request uses the full path
<use xlink:href=”https://shspestcontrol.com/shs/wp-content/plugins/simple-social-icons/symbol-defs.svg#social-email”></use>So creating a redirect from the full path (A) https://www.pestcontrolri.com/shs/wp-content/plugins/simple-social-icons/symbol-defs.svg
to (B)
https://shspestcontrol.com/shs/wp-content/plugins/simple-social-icons/symbol-defs.svg
would not work, as (A) does not exist.
Correct?I have sent your suggestion to the plugin developer for Domain Mapping.
Thanks
Thank you for your response
For the Single Posts I added /pest-facts/ to the Permalink Custom Structure so it is now
https://shspestcontrol.com/pest-facts/%postname%/
Fortunately this does not add /pest-facts/ to static Page URLsDomain Mapping appears to be working for links to Single Posts and Categories
https://www.pestcontrolri.com/carpenter-bees-pest-control/
https://www.pestcontrolri.com/category/common-new-england-pests/
https://www.pestcontrolri.com/category/shs-pest-control-services/homeowner-pest-control-plans/Which leaves the Pagination still reverting back to shspestcontrol.com
https://shspestcontrol.com/pest-facts/category/common-new-england-pests/page/2/I look forward to hearing when you have a fix for this
Thanks, Toni
Also, not sure if relevant but the Navigation Menu item PEST FACTS is set to use the Posts Page: Pest Facts. Would it make a difference if it was set to a Custom Link using https://www.pestcontrolri.com ?