Unveiling the Secrets of AdSense Bad Content Filtering: Tips for Publishers

Transform your contention a visual masterpiec

Introduction Google AdSense, a renowned advertising platform, provides website publishers with an opportunity to monetize their content through targeted ads. However, to maintain the quality and integrity of their ad network, Google employs stringent content filtering mechanisms to ensure that ads appear on web pages that meet specific quality standards. In this article, we’ll delve … Read more

Redirect Non WWW to WWW Using .htaccess

Redirect non www to www using your domain name RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule (.*) http://www.example.com/$1 [R=301,L] Or use this for any domain: RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] If you have ssl enabled then add this two line for http to https redirect RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Speed up WordPress CMS Menu Loading

Overview We can customize the WordPress navigation menus with writing few lines of codes. wp_nav_menu is the WordPress menu function to display custom menus created in domain.com/wp-admin>Appearance>Menus panel . It is a must use function but it’s not perfect for all website or projects. Default menu function OK for small websites but if your site is large and have more … Read more

Redirect HTTP traffic to HTTPS using an .htaccess

Create a .htaccess file then write this code you will redirect all HTTP traffic to HTTPS. ##Global Http to Https Redirect RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L] If you want a single page to redirect http to https then use this code. ## single page redirect RewriteEngine On RewriteRule ^redirect-http-to-https-page\.html$ https://www.example.com/redirect-http-to-https-page.html [R=301,L]

How to Use Accelerometer in AS3 AIR

Question in Mind: How to control a car with Accelerometer sensor in ActionScript 3 (AS3)? How to read Accelerometer sensor property with ActionScript 3 (AS3)? How to test Accelerometer with AS3 in iOS And Android Devices? Solution: Step 1 – Open Adobe Flash then create a new document using File > New… > from “General” … Read more

Create PDF or JPG File in Adobe Air Using ActionScript 3 and AlivePDF Library

We can use purePDF or AlivePDF ActionScript 3 libraries for creating PDF from Adobe Air. This example code showing how to saved and stored a .JPG file on the device. this way you may save .PDF file also. I will show full PDF example here. f = File.documentsDirectory.resolvePath(fil_name+”.jpg”); stream = new FileStream(); stream.open(f, FileMode.WRITE); i = new … Read more

How to Open a PDF file using Adobe Air AS3 for PC, Mac and Mobile (iOS and Android)

StageWebView is a solution for viewing a PDF or Webpage under ActionScript 3 Air (PC, Mac, Mobile, iOS and Android) Application. var pdf_file:String = “your-pdf-file-name.pdf”; var pdfView = new StageWebView(); pdfView.stage = stage; //Set mask area(x,y,w,h) pdfView.viewPort = new Rectangle(20,103,960,640); //Your PDF file location based on your operating system i may change “app:/” var filePath:String … Read more

How to Play and Stop Sound in Flash ActionScript 3

You may searching a solution for how to play and stop sounds in Flash ActionScript 3, play and stop button in flash, how to stop audio in flash, how to stop audio in flash cs5 or how to stop audio in flash cc, stop all sound as3, Actionscript 3 stop sound on frame. all of … Read more