Dev {Tricks}

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting
You are here: Home / Archives for Uncategorized

December 14, 2022 by dev

Install Optimize with optimize.js (sync)

Create Google Analytics account.

 

 

Create Optimize account and container

  • Sign in to optimize.google.com.
  • Click Create account.
  • Enter an account name.
  • Agree to the Optimize Terms of Service.
  • Enter a container name.
  • Click Create.

Place the Optimize snippet (below) at the top of thein your web page(s).

<script src=”https://www.googleoptimize.com/optimize.js?id=OPT_CONTAINER_ID”></script>

Note: Replace OPT_CONTAINER_ID with your Optimize container ID.

 

 

[GA4] Link Optimize to Analytics

 

https://tagmanager.google.com/

https://support.google.com/analytics/answer/9304153#add-tag

 

Set up data collection for websites

You’ll need to add the Google tag to your web pages to begin seeing data in your new Google Analytics 4 property.

Add the Google tag directly to your web pages

You need access to the HTML for your web pages. Ask your web developer to perform these steps if you’re unable to complete the steps yourself.

  1. Sign in to your Google Analytics account.
  2. Click Admin.
  3. At the top of the Property column, select your property.
  4. In the Property column, click Data streams > Web.
  5. Click the data stream for your website.
  6. Under Google tag, click View tag instructions.
  7. On the Installation instructions page, select Install manually:
    On the screen, you’ll see the JavaScript snippet for your account’s Google tag. Your Google tag is the entire section of code that appears, beginning with:<!– Google tag (gtag.js) –>
    and ending with
    </script>

Paste your Google tag immediately after the <head> on each page of your website.

Data collection may take up to 30 minutes to begin. You can then use the Realtime report to verify that you’re receiving data.

Don’t see a Data Streams option in the Property column? You are in a Universal Analytics property instead of the GA4 property that you just created. Use the property selector or Admin to navigate to your new GA4 property.

 

 

Filed Under: Uncategorized

October 20, 2022 by dev

Redirect www to non-www and vice versa

  • how to redirect www subdomain to non-www when domain is redirected to www
  • Subdomain https www to non-www
  • Redirect all subdomains and www to non-www
  • .htaccess redirect www to non-www for subdomain that is before the www

RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.globalmainstreamjournal\.com [NC]
RewriteRule ^(.*)$ https://globalmainstreamjournal.com/$1 [L,R=301]

 

 

Filed Under: Uncategorized

January 9, 2022 by dev

Convert your old router to wifi repeater (Range Extender)

  • How to use old router as a repeater.
  • How to extend wifi range with old (second) router.
  • How to connect two router in one home network.
  • How to convert tp link router to repeater.

The same method, you can apply to any other wifi router.

All steps are in OLD router. You just have to connect old router to new with cable, and old router to PC with cable.

At first, you may have to reset the router to its default state, if required.

  • Plug in the router
  • Take a pin
  • Put the pin in the tiny hole behind the router
  • Press and hold for 10 seconds (all signal light will be on at a time)

1. Login to your router using default username and password.

http://192.168.0.1/

By default TP-Link user and password is “admin”

2. Go to Wireless > Wireless Settings and name your Wireless Network.

  • Enable WDS Bridging
  • Servey for your primary device
  • A new window will be opened and you can find your primary device.
  • Connect it.
  • It will fill up some fields automatically.
  • Now seclect Key type:
    WPA-PSK/WPA2-PSK
  • Enter your password of primary device.
  • Save

3. Then go to Wireless > Wireless Security

  • Check this option and enter password for new extender.
    WPA/WPA2 – Personal(Recommended)
  • Save.

4. Now go to DHCP > DHCP Settings and

  • Disable DHCP Server.
  • Save

5. Now click on Network > LAN and change the IP Address to your choice.

  • For example: 192.168.0.9
  • Save
  • Modification of IP address or Subnet Mask will result in the rebooting of the Device, OK?
  • It will reboot your device

Done!

 

Filed Under: PC Tips and Tricks, Uncategorized

June 25, 2021 by dev

How to manually import emails | CWP

Filed Under: CentOS Web Panel, Uncategorized

June 9, 2021 by dev

How To Schedule Automatic Shut Down In Windows 10

  • Create a shutdown timer for Windows
  • Put a shutdown timer on your Windows desktop with this command
  • Create a shutdown timer shortcut
  • Automatic shutdown in Windows 10

Method 1: Auto Shutdown via Run

  • Press the “Window + R” key to open the RUN window.
  • Type “shutdown -s -t ” and press Enter Key.
    shutdown -s -t 300

    This will shutdown PC automatically after 5 minutes.

Method 2: Auto Shutdown via Command Prompt

  • Open Command Prompt
  • Type “shutdown -s -t ” and press Enter Key.
    shutdown -s -t 600

    This will shutdown PC automatically after 10 minutes.

Method 3: Auto Shutdown via Task Scheduler

  • Open Start and Search for Task Scheduler and then press enter to open Task Scheduler
  • Now click on the “Create Basic Task” from the Action options
  • Name the Task such as “Shutdown PC” and click next
  • Choose start time and click next
  • Set the Start date and time of the task and click Next
  • Select “Start a program” option from a various actions list and then click on the “Next” button
  • Click on Browse Button and choose “shutdown.exe” from C/Windows/System32
  • Enter “-s” as the argument and click on the “Next” button to proceed
  • Click Finish Button to complete the task
  • That’s All.

Filed Under: PC Tips and Tricks, Uncategorized, Windows Tagged With: Schedule Automatic Shut Down, Schedule Shut Down, turn off pc automatically

  • 1
  • 2
  • 3
  • Next Page »
  • Upwork
  • Freelancer
  • Fiverr
  • Guru
  • PPH

Recent Posts

  • MariaDB Upgrade to the new version | Plesk – CentOS 7 / RHEL 7
  • Google Workspace MX record values
  • Could not open input file
  • How to remove journal path for single journal OJS website.
  • How to Clean the YUM Cache in CentOS
  • How to run php file through command line? How do I enable PHP?
  • How to disable functions using the PHP disable_functions directive in php ini
  • Error 503 Backend fetch failed
  • Unblock iRedMail IP
  • Most Read Articles
  • Import export database | Linux
  • How to reset MySQL root password | CWP
  • MariaDB Upgrade to the new version | CWP
  • Install Optimize with optimize.js (sync)
  • Journey to Laravel & Vue – December to February 2022/2023
  • Elementor
  • Java Errors
  • How to Install Zip/Unzip
  • Redirect www to non-www and vice versa
  • How to change Time Zone in Debian 11 / Debian 10

Categories

  • Affiliate Marketing (1)
  • Customization (3)
    • CSS (1)
  • Email Solutions (20)
    • FrontApp (1)
    • Google Spreadsheet (2)
    • Microsoft Outlook (1)
    • PHP Email Form (3)
    • PolyMail (1)
    • Recaptcha (1)
    • Roundcube (3)
    • Thunderbird (2)
    • WebMail (4)
  • Games (1)
  • How to (75)
  • Joomla (6)
    • Akeeba (1)
    • Fix & Tricks (3)
  • jQuery (3)
  • jQuery Plugins (4)
    • BX Slider (1)
    • Slick (1)
  • Laravel (1)
  • Marketplace (5)
  • Miscellaneous (26)
  • OJS (52)
    • Help (35)
    • Installation (9)
      • Issues (5)
    • Plugins (7)
    • Theme (6)
      • Templates (6)
        • Frontend (5)
        • legacy (1)
    • Theme Customization (9)
    • Theme Development (13)
    • TPL CSS JS (2)
    • Upgrade (11)
  • Oxwall (3)
  • Payment Methods (1)
    • Paypal (1)
  • PC Tips and Tricks (12)
    • MS Office (1)
      • PowerPoint (1)
    • Windows (3)
  • PHP Parse error (2)
  • phpBB (1)
  • Server and Hosting (174)
    • Billing and Management (10)
      • Blesta (5)
      • Boxbilling (2)
      • WHMCS (5)
    • Debian (5)
    • Email (9)
      • Postfix (3)
    • Error and Fix (16)
    • FTP (2)
    • Mail Server Solusion (5)
      • iRedMain (4)
    • MySQL (9)
    • Providers (54)
      • AWS (23)
      • Bluehost (23)
      • Cloudcone (12)
      • Contabo (26)
      • Digitalocean (54)
      • HostGator (22)
      • VPSDime (24)
    • Security (18)
      • SSH (6)
    • VPS Management (60)
    • Web Control Panel (125)
      • CentOS Web Panel (36)
      • cPanel (24)
      • DirectAdmin (89)
        • Find & fix (38)
      • ISPConfig (11)
      • Plesk (20)
      • Webmin (19)
        • Usermin (2)
        • Virtualmin (11)
      • WHM (13)
  • Uncategorized (14)
  • Wordpress (86)
    • Elementor (2)
    • Find and Fix (9)
    • Functions (5)
    • Genesis (9)
    • Glossary (1)
    • How to (20)
    • Neuron TD (15)
      • Console Error (1)
      • functions (5)
        • register_post_type (1)
        • register_sidebar (1)
        • theme_files (1)
        • theme_supports (1)
      • Image Directory (1)
      • Menu (2)
      • Query (4)
    • Plugins (12)
      • Contact Form 7 (5)
      • Duplicator (1)
      • Essential Grid (2)
    • Softaculous (3)
    • Speed and Security (4)
    • Stock Theme Development (6)
      • Header Footer (1)
      • PHP (1)
      • VC (1)
    • Theme Development (2)
      • Issues (1)
      • Menu (1)
    • Timer Theme Development (3)
    • Update (2)
    • Woocommerce (2)
    • WP Basic Guideline (8)

Important DEV links

  • Premium Themes
    • Themeforest
    • Envato Market
  • Built With (What Theme is That?)
    • What WP theme is that
    • Joomla Template Detector
    • Drupal Template Detector
    • Prestashop Template Detector
    • Shopify Theme Detector
    • Squarespace Template Detector
    • OpenCart Detector
    • WordPress.com Theme Detector
  • Domain/IP history checker
    • Who IS request
    • Hosting Info
  • Check DNS Propagation
    • DNS Checker
    • intoDNS
  • What is my IP
    • What is My IP Address
    • What is My IP
    • IP location
    • What is My IP
    • Porkbun
  • SEO Tools
    • Visitor Traffic
    • Broken Link
    • Website Speed Test
      • SEMrush
      • GTmetrix
      • Pingdom
      • PageSpeed Insights
      • DebugBear
      • keyCDN
  • Photo Image
    • Remove Background 50 Free Preview Image 375 × 666 per month
  • Domain Registrars
    • 123-Reg
    • Porkbun
    • Freenom
    • Namecheap NEWCOM598
  • Hosting Providers
    • Bluehost
    • Hostgator
    • Inmotion
  • Hosting Control Panel
    • CWPpro (FREE)
    • DirectAdmin (Trial 60 Days, One account $2/month)
    • ISPConfig (Free)
  • Webmaster Tools
    • Google
    • Bing
    • Yandex
  • Miscellaneous
    • Time Calculator

 

  • Home
  • WordPress
  • OJS
  • Oxwall
  • Server and Hosting

Copyright © 2023 · Executive Pro Theme on Genesis Framework · WordPress · Log in