Pre-requisites: Before proceeding, please ensure the following are in place: GCDS is installed on your Windows Server A GCDS configuration file (.xml) has been created and successfully tested Admin credentials are configured within GCDS Step 1: Locate The Gcds Sync Command: GCDS uses a command-line tool called sync-cmd, located by default at: C:\Program Files\Google Cloud Directory Sync\sync-cmd.exe The sync command you will use in Task Scheduler is: " C:\Program Files\Google Cloud Directory Sync\sync-cmd.exe" -a -c "C:\Path\To\Your\config.xml " Flag Reference: -a → Applies changes (without this flag, the tool runs in dry-run/test mode only) -c → Specifies the path to your GCDS configuration file Step 2: Open Task Scheduler Press Win + R, type taskschd.msc , and press Enter. OR Navigate to Start → Administrative Tools → Task Scheduler. Step 3: Create A New Task In the right-hand panel, click "Create Task" (use this option, NOT...
Hello Guys, Today we are going to understand how can we fix a WordPress loading issue (CSS and JS loading issue) behind the Google Cloud Load Balancer or AWS Load Balancer. Generally, When we host a WordPress site directly with Google Cloud Compute Engine VM instance or AWS EC2 instance. It's loading perfectly fine. But once we added this WordPress server behind any Load Balancer either from GCP Load Balancer or AWS Load Balancer, you site will completely broken, means the CSS and JS of your site not loaded properly. The reason for this is - When you put a load balancer in front of WordPress, you need to modify wp-config.php to process the HTTP header HTTP_X_FORWARDED_PROTO to detect the protocol that the user is using and not the protocol the load balancer is using to connect to your backend. To fix this issue, we have to make following changes in the wp-config.php file and add the below code snippet on the top of wp-config.php file - Google Cloud Platform Load Bal...