if ($whatstringisit != "https://airdefensebadge.com/") {
// send email
}
I have wordfence premium watching site, and no malware on it anywhere, but some how 3 times the domain url has changed to add something to the end like /.wp-toolkit_O or /.wp-toolkit_m, it has happened like 3 times, and it does not just change it there, it changes everywhere in the database it has the domain, it adds it to those too. it is very strange. I cannot find what is causing it. I use all these same plugins I am using on it, on multiple sites and this is the ONLY One this happens on. So I don’t think it is a plugin causing it. So I figured I just want something watching it 24/7 and send me an email if it happens again.
Please let me know the string I would check. I don’t know it.
SSL is already installed on my website and I can access it with HTTPS.
My WordPress settings are:
WordPress Address (URL): https://www.mydomain.com
Site Address (URL): https://www.mydomain.com
But when I open https://mydomain.com or https://www.mydomain.com, I am not automatically redirected to the SSL and WWW versions of my website.
I don't want to modify the htacess file or install any plugin.
Why is WordPress's automatic redirect not working? Can someone please help?
]]>My WordPress settings are:
WordPress Address (URL): https://www.mydomain.com
Site Address (URL): https://www.mydomain.com
But when I open https://mydomain.com or https://www.mydomain.com, I am not automatically redirected to the SSL and WWW versions of my website.
I don’t want to modify the htacess file or install any plugin.
Why is WordPress’s automatic redirect not working? Can someone please help?
]]>On Tools.php, method getOptions, you have
$homepath = ltrim(parse_url(site_url(), PHP_URL_PATH), '/');
In case the path is empty, parse_url returns null, then ltrim gives a notice because you’re not sending a string.
You should replace it with
$homepath = ltrim(parse_url(site_url(), PHP_URL_PATH)??'', '/');
See this :
https://3v4l.org/QRC1o
]]>I’m developing a new local WordPress for a client with Themosis Framework. WordPress is a project dependency. WordPress URL is https://mysite.local/cms.
When I try to go to /sitemaps.xml I get a blank page. The sitemap is unable to retrieve the sitemaps_xsl.xsl file (https://mysite.local/cms/sitemaps_xsl.xsl).
If I go to https://mysite.local/sitemaps_xsl.xsl, I have the template.
So I think you should use the site url not the admin url to get the file.
siteurl: https://mysite.local/cms
home: https://mysite.local
WordPress version: 6.0
SEOPress version: 5.7
Can you fix it or can you help me ?
Thank you
]]>Is it related to the server?
]]>In order to use full-page CDN caching I need to keep my wp-admin at naked domain [ redundant link removed ] while I want to deliver HTML output at a different url through CDN Edge network.
Canonical urls and assets url should be www version. Non logged in users should be redirected to www version for all pages also.
How is it possible? Please help!
Many thanks in advance for the helping hands.
]]>I restored a site from a Duplicator backup on a folder on my localhost and everything went great. Actually, the backend showed perfect, but the front end wasn’t found until I disabled OpenSSH plugin. Neither here nor there.
After the successful restore I created a subfolder and drug everything into it. Now the homepage shows the “Page Not Found” from the WordPress theme I installed, but I can’t even load wp-admin.
So, my question is What are the steps to successfully move a localhost website into a subfolder or subdirectory? How can I fix this? Is it simply a setting somewhere?
Thanks!
]]>