greencode
Forum Replies Created
-
Forum: Plugins
In reply to: [Site Reviews] Star rating not showingHi. So sorry I haven’t replied sooner. The notification decided to go into my Spam folder! This is perfect. It is indeed just for the one business so what you’ve suggested works as it should. Tested on the Structured Data Testing Tool and it’s now showing up correctly. Thanks for your help with this.
Forum: Plugins
In reply to: [Site Reviews] Star rating not showingHi. Thanks for this. That’s great i.e. mysite/reviews where I have the reviews and a reviews form the schema is showing up correctly but how do I get the schema to show for the homepage of the site? Basically I want it so when you see the site homepage in Google’s listings that you then see the star rating. I don’t want the star rating to show up on the reviews form page. Thanks
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude cookie not workingYep, totally misunderstood that function.
I’ve now added the code to the htaccess file as outlined in the other post and everything’s working as it should.
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude cookie not workingApologies for not getting back sooner – I was on holiday.
If you visit https://www.talentedladiesclub.com/ you will see a panel in the bottom right of the page. Upon clicking “OKAY” this plants a cookie, tlc_cookies1, in the browser. However, if I reload that page that panel remains even though I have excluded that cookie in the Litespeed settings.
What I’ve had to do is add style=”display: none;” to the DIV ID “cookiespop” so as to not annoy our users.
If you let me know when you’re online I’ll quickly remove the display:none so you can see it.
Forum: Plugins
In reply to: [LiteSpeed Cache] Exclude cookie not workingThanks. It’s “PUREKDDU”
Forum: Fixing WordPress
In reply to: Uncaught Error: Call to undefined function language_attributes()Well, I seem to have resolved it. If I have this code:
<?php /** * The template for displaying the header * * Displays all of the head element. * */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head>Then it works perfectly with no errors!
Forum: Plugins
In reply to: [LiteSpeed Cache] Purge all cache not appearing after updateAh ha, apologies. I didn’t see that icon there.
Forum: Plugins
In reply to: [LiteSpeed Cache] Purge all cache not appearing after updateIs that in the Manage section?
Hi. Thanks for replying. Is there anywhere else I can share the link with you as the site is not live and I’ll need to share the link privately and ask for your IP address so you can see the site. Thanks.
Hi. Thanks for replying. What I did was:
– Install WP in a subdirectory e.g. /site
– Load up WP CMS and go to Settings > General and change the Site address to root e.g. https://www.mysite.com and the WordPress address should be https://www.mysite.com/site
– Follow Method 1 to change the .htaccess file to:# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?mysite.com$ RewriteCond %{REQUEST_URI} !^/site/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /site/$1 RewriteCond %{HTTP_HOST} ^(www.)?mysite.com$ RewriteRule ^(/)?$ site/index.php [L] </IfModule> # END WordPressThanks.
BTW, great plugin.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not working in sub-directorySorry, just to add to this. The only way of using WP in a subdirectory install without WP changing the htaccess file randomly is by using Option 2 (Method II (With URL change)).
You mentioned
1. Setup a symbolic link
or
2. To avoid using .htaccess under ~/public_html/site/ but parent folderNot sure what you mean by either of these. I have tried removing the .htaccess in the subdirectory but that has absolutely no effect and Litespeed still fails to work.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not working in sub-directoryHi. I’d like to revisit this as it’s not working. It does work when you follow Step 7 as you outlined above but whenever WordPress gets updated or plugins get updated then the code you add to the .htaccess to direct WP to your subdirectory install gets overwritten with the regular WP code and then causes a Error 404 on the entire site!
Forum: Plugins
In reply to: [LiteSpeed Cache] Not working in sub-directoryThanks for this. I tested this today and it works perfectly. I had been moving the index.php file into the site root and have been doing this for years as this was originally the suggested method by WordPress so I’m not sure when they changed this advice. Anyway, all good and Litespeed is working as expected.
Forum: Plugins
In reply to: [LiteSpeed Cache] Not working in sub-directoryHi. Just wondering if there’s any news on this and whether you’ll be able to get it working for subdirectory installs? Thanks.