Title: greencode's Replies - page 9 | WordPress.org

---

# greencode

  [  ](https://wordpress.org/support/users/greencode/)

 *   [Profile](https://wordpress.org/support/users/greencode/)
 *   [Topics Started](https://wordpress.org/support/users/greencode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/greencode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/greencode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/greencode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/greencode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/greencode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 121 through 135 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/8/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/greencode/replies/page/8/?output_format=md)
9 [10](https://wordpress.org/support/users/greencode/replies/page/10/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/10/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Star rating not showing](https://wordpress.org/support/topic/star-rating-not-showing-5/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/star-rating-not-showing-5/#post-10479311)
 * Hi. 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Site Reviews] Star rating not showing](https://wordpress.org/support/topic/star-rating-not-showing-5/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/star-rating-not-showing-5/#post-10443769)
 * Hi. 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Exclude cookie not working](https://wordpress.org/support/topic/exclude-cookie-not-working/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/exclude-cookie-not-working/#post-10365087)
 * Yep, 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Exclude cookie not working](https://wordpress.org/support/topic/exclude-cookie-not-working/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/exclude-cookie-not-working/#post-10339764)
 * Apologies for not getting back sooner – I was on holiday.
 * If you visit [https://www.talentedladiesclub.com/](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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Exclude cookie not working](https://wordpress.org/support/topic/exclude-cookie-not-working/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years ago](https://wordpress.org/support/topic/exclude-cookie-not-working/#post-10246026)
 * Thanks. It’s “PUREKDDU”
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Uncaught Error: Call to undefined function language_attributes()](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-language_attributes/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/uncaught-error-call-to-undefined-function-language_attributes/#post-10178236)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Purge all cache not appearing after update](https://wordpress.org/support/topic/purge-all-cache-not-appearing-after-update/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/purge-all-cache-not-appearing-after-update/#post-9989081)
 * Ah ha, apologies. I didn’t see that icon there.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Purge all cache not appearing after update](https://wordpress.org/support/topic/purge-all-cache-not-appearing-after-update/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/purge-all-cache-not-appearing-after-update/#post-9989010)
 * Is that in the Manage section?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] display inline-block](https://wordpress.org/support/topic/display-inline-block-3/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/display-inline-block-3/#post-9759693)
 * 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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Stop changing WordPress rules!](https://wordpress.org/support/topic/stop-changing-wordpress-rules/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/stop-changing-wordpress-rules/#post-9759686)
 * 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](https://www.mysite.com)
   and the WordPress address should be [https://www.mysite.com/site](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 WordPress
       ```
   
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] display inline-block](https://wordpress.org/support/topic/display-inline-block-3/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/display-inline-block-3/#post-9755495)
 * BTW, great plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Not working in sub-directory](https://wordpress.org/support/topic/not-working-in-sub-directory/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/not-working-in-sub-directory/#post-9744907)
 * Sorry, 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 folder
 * Not 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Not working in sub-directory](https://wordpress.org/support/topic/not-working-in-sub-directory/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/not-working-in-sub-directory/#post-9744899)
 * Hi. 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Not working in sub-directory](https://wordpress.org/support/topic/not-working-in-sub-directory/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/not-working-in-sub-directory/#post-9613675)
 * Thanks 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Not working in sub-directory](https://wordpress.org/support/topic/not-working-in-sub-directory/)
 *  Thread Starter [greencode](https://wordpress.org/support/users/greencode/)
 * (@greencode)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/not-working-in-sub-directory/#post-9603894)
 * Hi. Just wondering if there’s any news on this and whether you’ll be able to 
   get it working for subdirectory installs? Thanks.

Viewing 15 replies - 121 through 135 (of 536 total)

[←](https://wordpress.org/support/users/greencode/replies/page/8/?output_format=md)
[1](https://wordpress.org/support/users/greencode/replies/?output_format=md) [2](https://wordpress.org/support/users/greencode/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/greencode/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/greencode/replies/page/8/?output_format=md)
9 [10](https://wordpress.org/support/users/greencode/replies/page/10/?output_format=md)…
[34](https://wordpress.org/support/users/greencode/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/greencode/replies/page/35/?output_format=md)
[36](https://wordpress.org/support/users/greencode/replies/page/36/?output_format=md)
[→](https://wordpress.org/support/users/greencode/replies/page/10/?output_format=md)