How to redirect subfolder of a domain to subdomain ?

Recently when we migrate one of our website from one hosting provider to another hosting provider, we decided that we should move only few subdomains of the main website to second hosting provider and continue for few subdomains with existing hosting provider. One major thing during this migration, we wanted to do is convert the … Read more

How to repair a crashed wordpress posts database table ?

Today suddenly our wordpress based this website stopped working and I received an Jetpack alert that our website is offline.. when I tried to to check by visiting the website, I seen following 3 obervations, When visited on homepage, I could see an error message as, 2. I had allready logged into dashboard before … Read more

How to enable SSH login using WHM in VPS hosting ?

If you want to enable SSH access to user other than root, you will need to login to WHM using credentials provided by your VPS server provider. Once logged into WHM, from left sidebar, scroll below to find “Account Function” and click on “Manage Shell Access” as below, From opened page, click on “Normal Shell” … Read more

Accessing website URL and path in JAVAScript

If you want to know what the current URL user have visited in browser in your Javascript code, so you can perform some operations like we did in our another post “How to hide code / Div based on contents in URL using Javascript ?” where we tried to hide a button only on specific … Read more

Working with different elements of DOM in html

We tried to understand what the DOM means in html in our previous post “Understanding HTML Document Object Model (DOM)” . In this post, we will show some more fun ways to work with DOM elements so you can do many customised things from JAVA Script to update your html code. Here we will continue … Read more

Understanding HTML Document Object Model (DOM)

The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents the page so that programs can change the document structure, style, and content. The DOM represents the document as nodes and objects. That way, programming languages can connect to the page. A Web page is a document. This document … Read more

How to create JSON objects with unique entries in Django REST Framework ?

This post is in continuation with “Writing class based Views in Django REST Framework” , for all related DRF posts, visit “Django REST Framework” page. When we are working with creating JSON objects for users using API, sooner we realised that we are can push the data with same “userid” for multiple times, and problem … Read more

Example of creating JSON Array in JAVA

To know more about JSON , read “What is JSON and Understanding JSON syntax with simple example” and “Cloud Technologies” In this post, we will show you how to write a simple JSON Array by writing code in JAVA. This post is related to our previous post “Example of creating simple JSON in JAVA” Lets … Read more

Example of creating simple JSON in JAVA

To know more about JSON , read “What is JSON and Understanding JSON syntax with simple example” and “Cloud Technologies” In this post, we will show you how to create a simple JSON by writing code in JAVA, Here, the JSON object is created as, now, the JSON elements can be added to this object … Read more