6 proven ways to get traffic to your website

You don’t need all internet users to visit your website for success, but your goal should be to grow your target audience. With the right strategy, you can drive traffic to your website. Here are six proven ways to achieve it.

Get Social

Hope is not a strategy when it comes to getting traffic to your website. If you produce great content, you must be proactive in getting your target audience to find it. Social media channels provide a wonderful way to promote your content and increase traffic to your website. Facebook, for example, is one of the most effective platforms that you can utilize to reach your target audience. Twitter can be used for short, snappy links to draw people to your site and gain traction.

Create top-notch headlines

Headlines are an essential part of your content and they help determine if your target audience will take an interest in what you are promoting. Lacking compelling headlines will cause your content to be overlooked, and your potential audience will move on to something more interesting. Think about writing headlines that are thought-provoking, witty and that stir emotions. You want to pique the interest of as many people as you can with a magnetic headline.

Focus on-page SEO

Content optimization still plays a valuable role in driving traffic to websites. You want to make the most out of elements like image alt text, internal links to new content and meta descriptions. Optimizing on-page SEO is a worthwhile traffic delivery strategy that could help gain more relevant traffic in search engines. This can be used to give your website competitive power and a stronger audience. You can have your pick of the best web hosting 2019 providers to improve traffic to your website.

Start guest blogging

Guest blogging is a great way to gain exposure and get in front of an audience. By securing a guest post on a reputable site, you help establish your credibility and authority by providing valuable content that will compel the audience of your guest post to visit your own site.

Utilize email marketing

You can gather an email list of people who have opted-in to receive your communications. It’s vital to have quality contacts of people who are interested in what you are promoting. In this sense, email marketing will help to drive website traffic and increase repeat visits. Promotional emails can be used to attract a new audience, while personalized emails can be used to cater to your subscribers’ exact preferences and needs.

Infographics

Infographics have the potential to draw your target audience to a topic they find interesting and keep them engaged. For infographics to be effective, they must be easily understood, typically tell a story, comprise of unique content, be eye-catching in design and detailed yet concise. It’s a solid way to build engagement.

Driving traffic to your website can be a real challenge, but with the right strategies, you can get it done. You have to work at it, putting in a constant effort in order to appeal to your target audience’s interests. You want to provide value, gain trust and have new and repeat visitors.

This is a guest article by Sophia Williams.

Browser title is not working for blog or post in WordPress

Hi

i am trying to view my blog or post in detail description at that time my browser title shows %page_title%, But it has to show my blog or post title in that place. please help me to solve this issue.

My permalink settings as below

/%category%/%postname%/

Note: i have attached a screen below for reference.

blog_title_LI.jpg

Word

AND OR in the same statement

Hello i have a mysql statement and i want to add more parameters to get different results.

SELECT DISTINCT M.message,F.friend_one,F.friend_two, F.role,U.uid,U.username
    FROM users U,friends F, messages M WHERE ( U.status='1' AND F.friend_one = '88') OR (F.friend_two='88' ) AND F.role='friend'

88 is the users id so i want to show M.message from friends of 88 but not 88 itself
hints:
when one is becoming friend with other friend_one is 88 -for example- and friend_two another user id or vice versa
M table has id of user as a column of course

5 must-have features for your WordPress e-commerce website

First, let’s look at what you might need to add these features.

What are the tools for a great e-commerce website

WordPress is a great base upon which to build any e-commerce store. What’s more, WordPress comes replete with plugins that enable you to add features and functionalities without the need for complex coding, like Toolset.

Combine it with WooCommerce, and you’ve got yourself a powerful combination of e-commerce management tools on your side.

1. Custom Search

A custom search is a great way to help customers find the items they seek as soon as possible, avoiding any distractions.

Don’t assume that shoppers know the exact item they’re looking for, especially if they’re just here to window shop. A custom search allows you to provide a number of filters so that customers can narrow down their search and find exactly what they want.

2. Detailed product page

The product page is a critical piece in your website’s sales funnel. Whereas the home page or categories page show off how expansive your inventory is, the product page is your chance to give individual items a chance to shine.

Once shoppers land on the desired WooCommerce product page, you want to give them something impressive to look at.

Not only should you include great images and descriptive text but you should make sure you customize your WooCommerce product page. A custom product template will provide a unique shop window which will help your items stand out.

Not only can you style your page but you can also include other important features to it such as custom fields, taxonomies and special offers.

3. Related product recommendations

Another way to help visitors find what they need on your WooCommerce website — and help you upsell or cross-sell customers in the process — is to provide related product recommendations. You can do this in a number of ways and at different points throughout the customer journey.

You can display related product widgets or sliders beneath a product’s photo and description.

You can display a related product pop-up after an item was added to the shopping cart. You can also display related product pop-ups if someone is about to abandon the website before completing their purchase.

The goal is to accurately assess their needs based on their behavior and profile and provide them with an item that is related to the product they’ve shown interest in or an item that can replace the current one they’re looking at (in case it’s not exactly what they were looking for).

4. Product categories slider

Another way to compel visitors to peruse more of your store is to display product categories sliders around the site.

Related product widgets are essential in upselling items that visitors have already shown interest in. But product categories introduce them to inventory they might not have even been aware of or simply hadn’t considered buying at the time.

It’s a great way to inspire customers to stick around and get all their shopping done while they’re on your website.

5. Multilingual

One of the easiest and most cost-effective ways to expand into new markets is by creating a multilingual website. Not only will new customers be able to understand you but you can also localize your website by using the correct currency, taxation and by offering free shipping.

This is where a multilingual plugin should enter the picture. Specifically, you will need two plugins to accomplish this. WPML is the WordPress multilingual plugin. The free WooCommerce Multilingual plugin is the glue that connects WPML to your WooCommerce website.

With multilingual functionality programmed into your site, international customers can now enter your website and experience as seamless and welcoming an experience as those who are local to your business.

Wrapping Up

If you’ve spent enough time online as a consumer, you recognize that e-commerce websites come equipped with certain features and functionality you wouldn’t see on an ordinary business website. When building your own e-commerce site, be sure to take the five must-have features above into consideration if you want to compel your visitors to become customers. This WooCommerce tutorial will help get you started.

This is a guest post by Joe Lobo.

Flextype – Open Source Flat-File Content Management System

HELLO GUYS!

I'm Sergey Romanenko a web-developer with strong will for learning and researching new technologies and architectural solutions.
I like creating and using specialised tools for making development processes as efficient as possible.

Let me introduce my pet project - Flextype!

Flextype is Open Source, fast and flexible file-based Content Management System.
That's Easy to install, upgrade and use. Flextype provides amazing API's for plugins, themes and core developers!

FEATURES

Simple

Easy to install, upgrade and use.
No installation needed, just copy files to your server!

Fast

Flextype is realy fast and lightweight!
No database required, flat files only!

Flexible

Flextype provides amazing API for plugins, themes and core developers!

Easy editing

Use your favorite editor to write your content with plain HTML and Flextype Shortcodes.

Dynamic Content Types

The flat-file nature of Flextype lets you define custom fields for any of your pages.

Open Source

Flextype is an open-source project licensed under the MIT LICENSE to set the world free!

COMMUNITY

Flextype is open source, community driven project, and maintained by community!

Github Repository - https://github.com/flextype/flextype
Discord - https://discordapp.com/invite/CCKPKVG

NO LIMITS

With Flextype you can create any project you want.

  • Business site
  • Landing page
  • Personal site
  • Portfolio
  • Product site
  • Documentation
  • Personal resume
  • Blog

CONTRIBUTE

Flextype is an open source project and community contributions are essential to its growing and success. Contributing to the Flextype is easy and you can give as little or as much time as you want.

  • Help on the Communities.
  • Develop a new plugin.
  • Create a new theme.
  • Find and report issues.
  • Link back to Flextype.
  • Donate to keep Flextype free.

Common goal of this topic:
Review project (UI/UX/Security)
Find new developers, designers, testers and users.

Use jQuery Autocomplete to populate from multidimenisonal JSON array

I have a JSON array that has multidimensions to it:

{
      "@id": "a",
      "@label": "A",
      "drecord": [
         {
            "@id": "aaliyah",
            "@rdate": "2001-08-25",
            "@lease": "bh05",
            "name": {
               "surname": "Aaliyah"
            },
            "job": "hip hop singer/actress",
            "dead": {
               "@value": "y"
            },
            "cause": "Burned to death in a plane crash",
            "ddate": {
               "date": "2001-08-25"
            },
            "bdate": {
               "date": "1979-01-16"
            },
            "other": {
               "#text": [
                  "Full name: Aaliyah Dana Haughton, was to have appeared in the second and third",
                  "movies."
               ],
               "movie": "Matrix",
               "home": {
                  "@id": "http://www.aaliyahEbertonline.com/"
               },
               "imdb": {
                  "@id": "Aaliyah"
               },
               "fg": {
                  "@id": "5727911"
               }
            }
         },

and i am trying to use the jQuery Auto Complete to get the name and surname to populate...right now all its doing is returning blank results when i type in a name like "aaliyah".

here is my jQuery Code:

$( function() {

    $( "#birds" ).autocomplete({
      source: function( request, response ) {
        $.ajax( {
          url: "dpsportion.json",
          type: "GET",
          dataType: "json",
          data: {
            term: request.term
          },
          success: function( data ) {
            response( data );
          }
        } );
      },
      minLength: 2,
      select: function( event, ui ) {
        console.log( "Selected: " + ui.item.drecord.name.fname + " aka " + ui.item.drecord.name.surname );
      }
    } );
  } );

what am i doing wrong? I thought i had to reference the line that i want like drecord.name or drecord.surname

Regular Expression to extract names

The challenge I need to resolve is getting a sub-string from strings such as those below. Each line is of an array so I am iterating and working on one line at a time in a JavaScript loop. All of the strings have the names at the start of the line:

Joe Smith will run...
Jane Jones will follow...
Bridget Burns and Jack Jones will be away...
Jack Jones, Gracie Burns and George Burns have three days in...

The sub-string I need is the name(s) at the start of each string. My JavaScript is handling an example of the first or second line adequately by:

substr   = replace(/^(\w+ \w+ )(?:.*)/g,"$1").trim();

will output Joe Smith or Jane Jones respectively.

Is there a method to extract just the names, preferably as one variable?

I have some experience with regular expressions but not enough to reliably extract what I need from examples such as these.

6 most prevalent problems in the software development world

The expectations of the modern software user are very high since innovation has come to define the modern world. In order to create the best software programs, developers have to identify the common challenges and solve them. The following are the six common problems in the software development world.

1. Overly demanding clients

As mentioned earlier, most clients are exposed to technology now more than ever before. This has resulted in clients knowing exactly what they want from a software program and what they do not want to be included.

This has many potential challenges to developers because some of the demands that clients make are simply not achievable through software or they are very difficult to achieve. Since the clients are not familiar with software development, they might not be aware of the complexity of it.

Modern developers thus need to have great communication skills so that they can negotiate effectively with demanding clients.

2. Keeping up to date with emerging languages and frameworks

The software development world is evolving very quickly. Not too long ago, the only programming languages that existed were common all across the globe. It was thus easy for developers to get into the development world knowing that their learning process is a clear-cut one.

Today, however, there are hundreds if not thousands of software development languages, frameworks, and tools. This makes it very difficult for developers to learn the art of development. In addition, keeping up with new and emerging languages also becomes difficult since frameworks and tools are also rapidly changing.

3. Creating individualized software programs


Nowadays, it is important to understand the local market and culture of the software user. The world is made up of many different languages and cultures. Therefore, software programs have to be localized in order to be suitable for users of a certain territory. It takes a lot of time and resources for developers to familiarize themselves with multiple cultures.

The localization software testing process also becomes a challenge when there is not enough information about the specific area that the program is meant to serve.

As the world continues to embrace technology, developers will have to continue learning about different ways they can effectively localize software programs.

4. Securing work

Another challenge that modern developers face is securing a job for the skills they have. While software developers are still needed a lot in the modern industry, the demand for certain skills might change over time.

In recent years, for instance, web development and software development have almost become the same thing. With this kind of evolution, software developers who are only familiar with developing programs might lose out on opportunities in the web development world. Web developers who are not familiar with program development might also miss some opportunities that require those skills. Software and web developers thus need to have a wide range of skills in the modern market in order to keep up with the job market.

5. Difficulties in communication

Software development involves a lot of co-operation with different parties. Communication is thus central to the job. A software developer is needed to communicate with everyone from the development team to engineers and clients as well as other parties. Sometimes, communication challenges arise between these parties making the development work more difficult.

Miscommunication between team members, for example, can lead to huge delays and setbacks in the development process. Challenges in communication are common and a good software developer needs to figure out ways in which to lessen or eliminate these challenges for a smooth development process.

6. Balancing life and work

Finally, it is always a challenge for developers to balance work and life. Creating software takes a lot of time and oftentimes, this work extends to your home. Most software developers in the modern world, in fact, work from home offices or near where they live.

The line between work and personal life thus gets thinner and thinner.

This is a guest article by Ines Kohl.

Javascript file is not triggering the function

I am using Netbean IDE 8.1 to build the website.
I build a very simple website with simple Javascript function, window.alert().
Upon my testing, I put the button triggered function in the javascript but the function is not triggering.
If I put the function under the HTML, it does triggered the function.
Any idea?

Please note that I also have linked my HTML file to the Javascript file.

The importance of using an ad blocker

However, it isn’t just the annoyance of ads popping up to consider. You want to consider your safety as well. With all that to keep in mind, the use of ad blockers continues to grow for personal and professional computer systems.

Whether you have considered installing an ad blocker or not, here are some reasons why it is essential to have one.

What is an ad blocker?

Ad blockers can be either a program you download or an add-on to the current browser you use. Either way, they provide the same service – to block ads from appearing and compromising your online experience.

There are different ways an ad blocker removes ads from your browser. Some will get rid of cookies and web markers which carry information between website sessions. No matter what the method is, the primary purpose is to stop ads for disrupting your computer.

Enhance your online safety

Digital advertising is a great way to promote a particular service, product or company across a massive space at one time. The downfall, however, you cannot guarantee each ad is genuinely what they claim to be. Now the issues of privacy and safety come into effect.

There has been a rise in something called malvertising – a combination of malware and advertising. Malware (malicious software) is a software developed with the intent of harming and attacking your device and data on it. Malvertising is when the attackers that create the malware buy out popular ad spaces on legitimate websites. What you think is an ad corresponding to a legitimate company is actually a virus waiting to attack your device.

So with your ad blocker software, you are effectively removing and blocking ads that could do major harm to your system and stored data. They don’t remove all ads, but they are the best way to secure your online activity from malvertising.

Stop getting tracked

More and more you will hear consumers complain about websites tracking their movement online. Companies will gather information from the sites you access and use that to target ads. Sometimes it is handy when a product you’ve been searching for appears in a side banner. Other times, though, it is uncomfortable to have ads pop up about something you googled once.

Ad blockers can stop your online footprint from being tracked by ad servers. So while you browse the internet, you won’t have to worry as much about who is watching you and selling your data to third parties.

Enhance your overall online experience

An added benefit of installing an ad blocker is decluttering your browser for a more enjoyable internet experience. Without an ad blocker, your device needs to load not just the page you want to view, but it also has to load all the attached ads. The result is a slower loading process and a frustrated viewer. Since the ad blocker removes the ability of the ads to pop up, your device no longer has to take the time to load them and can focus solely on your requested action.

On top of that, your favorite websites you love to peruse through have a cleaner look to them. No random sounds, pop up ads or anything else unwelcomed. You will instead have a clean white space to make the website more appealing.

If you are concerned about your online safety and frustrated with all the unwanted ads appearing, an ad blocker will be your best option. Remove anything unwanted and protect your data from being sold to third parties with an ad blocker.

This is a guest article by Jordan Choo.

Codeigniter with Oracle 12c

hi all,

I am new to Codeigniter, start learning because of one of our customer want the conversion of their some Oracle Forms to web app and I found it is much easier to use CI framework of PHP but one thing I can't connect / work with their Oracle database 12c Release 2. I have a VM with Win 8, Oracle DB 12c and WAMP ( latest downloaded on 10-Nov-2018 ). I searched for it and found various solution (not any of 12c), tried some but still I failed to even load data from a table.
can somebody help me, I can upload my project files if here is option and I can.
I have modified php.ini file in Apache to un-remark for line extension=oci8_12c and have entry in database.php ( 2 entries are there first for Mysql and another one for Oracle )

$active_group = 'default';  // MYSQL entry
$query_builder = TRUE;

$db['default'] = array(
    'dsn'   => '',
    'hostname' => 'localhost',
    'username' => 'root',
    'password' => '',
    'database' => 'mydb01',
    'dbdriver' => 'mysqli',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);

$active_group = 'oracle';  // Oracle entry
$query_builder = TRUE;

$db['oracle'] = array(
    'dsn'   => '',
    'hostname' => 'localhost/orclpdb',
    'username' => 'hr',
    'password' => 'hr',
    'database' => 'orclpdb',
    'dbdriver' => 'oci8',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);

more entries i tried, will show here if someone want ( or can upload files )

Please help in this matter.
regards

use of $(this) for a class

I am a novice at JavaScript an jQuery. I am writing a project and trying to incorporate $(this) to read a data attribute. Once the data attribute is determined and assigned to a variable, I intend to use that to access other form elements.

Instead of reading the data attribute as intended, clicking the button is submitting the form.

This is a code sample:

<fieldset class="new_inputs" id="new_inputs1">
    <label for="file_input_1">Input File:1</label>
    <input class="fileRenamingFormInput" name="file_input_1" id="file_input_1" type="text" value="">
    <br>
    <select class="fileRenamingFormSelect" name="destinationFile_1 id="destinationfile_1">...</select>
    <input class="fileRenamingFormFileOut" name="file_out_1" id="file_out_1" type="text" value="">
    <br>
    <textarea class="copyCommandBlock" name="copyCommandBlock1" id="copyCommandBlock1"></textarea>
    <button type="submit" class="btnGenerate" id="btnGenerate1" data-idx="1">Generate command</button>  <- Button Javascript might act on
    <button type="submit" class="btnCopy" id="btnCopy1" data-idx="1">Copy</button>
</fieldset>

<fieldset class="new_inputs" id="new_inputs2">
    <label for="file_input_2">Input File:2</label>
    <input class="fileRenamingFormInput" name="file_input_2" id="file_input_2" type="text" value="">
    <br>
    <select class="fileRenamingFormSelect" name="destinationFile_2 id="destinationfile_2">...</select>
    <input class="fileRenamingFormFileOut" name="file_out_2" id="file_out_2" type="text" value="">
    <br>
    <textarea class="copyCommandBlock" name="copyCommandBlock2" id="copyCommandBlock2"></textarea>
    <button type="submit" class="btnGenerate" id="btnGenerate2" data-idx="2">Generate command</button> <- Button Javascript might act on
    <button type="submit" class="btnCopy" id="btnCopy2" data-idx="2">Copy</button>
</fieldset>

This is the JavaScript

$("button.btnGenerate").click(function(e){
    e.preventDefault();
    var idx = $(this).data("idx");
    console.log(idx);
});

The logic I am seeking to employ is:

  • When "button.btnGenerate" is clicked, don't submit the form
  • assign data-idx to variable idx
  • once I have variable idx, I can more efficiently use it plus text strings to get form values from sibling or other form elements. For example, if var idx = 2;

    var fnIn = document.getElementById(fileinput'+'idx').value
    var fnOut = document.getElementById(fileout'+'idx').value
    var str = 'cp '+fnIn+' '+fnOut;
    document.getElementById('copyCommandBlock'+idx).value = str;

With the page loaded in the browser there could be multiple fieldsets. They are created dynamically based on the user clicking a button to add another set of fields. I am using $("button.btnGenerate") as the listening event for it is generic.

Is that selector still too generic since it is a class?

Thanks for taking the time to read this. Hope someone can help

reading image from excel using POI

Hi Team,

I have an excel which has multiple rows and each row can have multiple images associated with that , which are postioned on a specific cells of that particular row.I know while we are positioning a image on top of a cell, that is not associated with the cell and it is actually floting the sheet of the workbook.My target is to read those images and at the same time mapping that image with particular cell using apche POI. I have two questions actually:

  1. Is there any way to associate an image with a excel cell so that I can read the image using POI as a cell property?
  2. If above point is not feasible, then is there any way that I can read the image from the excel and map that images with particular rows?

**I have attached the sample data.

I have already treid cell.getSheet().getWorkbook().getAllPictures().. But that is returning all the images, but I don't understand which image is positioned on top of which cell.

Any help will be highly appreciated. I am waiting for your reply :).

Building an eCommerce website for a project where to start?

Hi All,

As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card merchant to process the transaction. customers would also need to sign up and create an online account.

I have created simple websites before, with HTML and CSS, but thats it. What development langauges would I need to know other than the two above? I assume PHP and Javascript will be the other two.

The website does not have to be CMS based.

Thanks in advance.

M

Java vs PHP for web application decision (again)

The facts: We are talking about a small company (5 persons) with many clients that making real money (we don't) . We provide our own software that has unique features against the e-commerce completion.

The problem: the first glimpse of the problem arose around 2012 and made clear around 2014 with web sockets. Some clients didn't want a simple chat with their client but instead a full live eShop where they could negotiate the prices of a product or even start a discussion with a visitor. The solution would be implementing web sockets in to our framework and that worked , but using incredible resources without any sideway compensation benefits. What that could be ?: 1) we use app scope caching (for object or list of objects) and thought that is done in the memory of the server, each request you have to deserialize / serialize (if there are changes) objects (that is CPU expensive and time consuming , I calculated that it cost almost 2 milliseconds in each response). More over if I have something running along with the app why not having a DB pool where the most common prepared statement persists?

The first solution: Was a new PHP framework that was basically a C++ extension , everything worked fine (almost (if someone interesting I could share more)) (it went in production only in one project). Application scope caching was working with lockers when those objects updated, and we could have a first r&d glimpse in db pooling in PHP. More over it would eliminate DNS lookup since the SPA app would hook to the WebSocket if available or to AJAX if not. (when I am talking about SPA here you would see the same content if you visit a URL for the first time as if you visit it through an inner link).

And then PHP 7.0.2 came: The incontinences of PHP are monumental, but the all thing shattered in the ground. In fact we weren't trying to produce a framework we were trying to produce an application server that would hold that framework. The application server part could be done with more resources and in a specific PHP version, but we don't have the resources nor do we want to bind ourselves to a specific PHP version.

The /lets move back/ moment: There is a language that you can use an application server ,you can share application scope caching objects without deserializing / serializing and also has many add ons for web sockets and more its easy and I have know know it since teenager (no it wasn't my first language) , that language is Java and an application server along with it like Tomcat for example.

The decision is difficult to make , switching to Java , would require rewriting all of our apps , but the two main goals will be achieved (app scope caching , db pool). On the other hand there is a limit to understanding how a JVM is working internally and to write good code for that , using system extensions (example imageMagick).

One plus for Java would be that after that we could share our java code without classes and one serious downside would be that we coudn't write more C++ extensions to make our life easier + faster + more efficient. But to maintain a PHP application server is far more difficult than I first thought.

I would highly appreciate any point of views on that , since I am in a crossroad.