Joomla Hosting BLOG

Blog about Joomla, Technologies and Hosting Service

Joomla Hosting - How to Create Parallax Effect in Joomla

clock October 1, 2018 08:38 by author Kenny

Today’s article serves a similar purpose. We will learn the how to use parallax effect on a Joomla website. Stick with me for a while to sharpen your developing knowledge.

What is Parallax?

Before we begin, we need to have a proper understanding of what a parallax effect is. In web design, the parallax effect is a way to bring 2-dimensional experience to a website. This technique is accomplished by making a background image move slower than the foreground image. This creates a 2D illusion making you believe the objects are placed at a distant position.

There are many ways to apply parallax effect on your website. Today we will use the simplest method to use parallax effect on a Joomla website. The tool we’d be using is SP Page Builder. The reason behind using this tool is, you can create prafallax effect on your Joomla site less than 30 seconds. Plus, you don't need to write a single line of code. I encourage you to download SP Page Builder from here. Then proceed with the following steps.

Add Parallax to your Joomla website

I will assume that you were able to download and install SP Page Builder properly, if not then you can take help from the documentation. After configuring SP Page Builder successfully, play with it for a while and you’ll discover that you can do almost everything you want in a website.

Without further ado, let's jump to the real stuff:

Step 1

Choose a section you want to apply parallax effect, then click on the Row Option from Row Control Bar.

Step 2

Doing so will take you to the row setting options. Now, navigate to Style > Enable Background Options > Image. Then upload a background image. 

Step 3

You see a button under Parallax Background? Switch it to Yes. And that's it, you have enabled parallax effect to your website.

Bonus step

If you want to make customization to the parallax effect, the following section will let you do so. And don't forget to save your work. 

 

So as you can see, the parallax effect is a great way to give a lively touch to your website. It's usually used for better content display. You can leverage this technique to take your website UX to the next level. If you have already used parallax effect to your website.

Best Joomla Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - How to Applying Menu Class Suffixes?

clock August 13, 2018 13:06 by author Kenny

When creating a new menu while using the Protostar template, you may notice that the menu is vertical, but you intended it to be horizontal. There is an easy fix for this: applying a menu class suffix that is already in the template master file. 

Below is an image of what a vertical-style menu looks like in the Protostar template.

To make the menu horizonal, you can simply apply a preexisting menu class suffix directly in the back end of your Joomla site. To begin, log into the back end of the site, and open the menu module that you've created. Once the menu module is open, click on the "Options" tab and then click on "Advanced Options".

In the "Menu Class Suffix" field, type in " nav-pills". Please be sure to hit the space bar one time before typing "nav-pills" to successfully apply the menu class suffix. Be sure to save your work.

Return to the front end of the site, refresh the page, and your menu should be horizontal.

Best Joomla 3.4 Hosting Recommendation

ASPHostPortal.com

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - Tips to Speed Up Joomla Performance

clock August 6, 2018 12:54 by author Kenny

Latest Version

It is very important to always run the latest version of Joomla as it usually contains fixes such as code improvements and speed enhancements. Also, make sure to keep your extensions up to date.

Update Joomla Core

To update Joomla to the newest version you can either click on “Update now!” notification which should show up on your dashboard, or you can manually update by navigating to “Components” → “Joomla! Update.” Remember to back up your website, especially on major release updates.

Update Joomla Extensions

To update your Joomla extensions navigate to “Extensions” → “Manage” → “Update.”

Content Delivery Network

Implementing a Content Delivery Network (CDN) with Joomla is an easy way to speed up Joomla and instantly see decreased load times. By doing this, you will ensure you are serving your Joomla assets (product images, javascript, CSS) from multiple locations around the globe so they are delivered faster to your visitors.

Once the Joomla CDN integration is completed, the static content will be delivered from our global network of points of presence (POPs) around the world. All POPs are enabled by default and there’s no extra fee for locations in Asia or Oceania. Traffic spikes can easily be handled by the CDN (instead of the origin server). KeyCDN also supports HTTP/2 for even faster content delivery.

Joomla Cache

Joomla actually has some pretty powerful caching built-in already which you can enable. Cache is a way of serving pre-generated content to your users. This means that the server does not have to look up all information requested in the database every time a page is requested. There are two steps when it comes to enabling the cache in Joomla.

Image Optimization

As we mentioned in a previous post on smart image compression, on average 56 percent of a website’s page weight is made up of images. So optimizing images can drastically decrease your page load times and speed up Joomla. Unfortunately in Joomla there is no built-in option for image compression. So you can either compress and resize them beforehand in a tool like PhotoShop (using the “Save for Web” feature) or an online tool, or using a Joomla extension.

Joomla Compression

Joomla has a Gzip compression feature built right in which you can easily enable. Navigate to “System” → “Global Configuration” → “Server.” Then enable “Gzip Page compression.” Don’t forget to hit “Save.”

Optimize CSS & Javascript

By concatenating your CSS and Javascript files you can improve your frontend performance and download times, as your browser doesn’t have to fetch as many files and it reduces the total number of HTTP requests being made. Remember though if you are running over HTTPS and your server supports HTTP/2, this is no longer necessary. If you are unsure of whether your server supports it, you can use KeyCDN’s HTTP/2 test tool. Minification is also recommended, which is the process of stripping out whitespace, line breaks, etc.

Clean up Joomla (DB)

Sometimes you might have issues where your database tables need to be repaired and optimized. Joomla doesn’t have a feature built-in for this but you can easily do it via PhpMyAdmin.

Browser Caching

You can enable browser caching by editing the page cache plugin. This tells the browser whether they should request a file from the server or grab it from the browser’s cache.

To enable navigate to “Extensions” → “Plugins.” This is a large list so you will need you will probably want to search for the term “cache.” Then click into the “System – Page Cache” plugin. You can then enable “Use Browser Caching.” Don’t forget to hit “Save.”

Speed Optimization Extensions

If you are wanting to take your Joomla site one step further you might want to check out these additional Joomla extensions which offer additional ways to boost your website’s performance.

  • jQuery Easy (Call jQuery from Google CDN or locally)
  • LLFJ – Lazy load your images, prevent additional HTTP requests until the user scrolls down
  • Javascript Async and Defer – Improve your page loading time by allowing javascript loading asynchronously
  • ScriptsDown – Move your scripts down to the bottom of the page

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - All You Need to Know About Joomla and the GDPR

clock July 30, 2018 08:38 by author Kenny

 The GDPR privacy laws come into force next week on May 25!

If you're new to the GDPR, we've got some reading resources at the bottom of this post.

In this guide, I'm going to focus on how Joomla is dealing with the GDPR.

The Joomla team aim to release a new version of Joomla 3. Originally, they were focused on Joomla 4 and had no plans to add more features to Joomla 3. But, the GDPR changes are considered important enough that there will be a GDPR-focused release: Joomla 3.9.

What Joomla GDPR changes will you see?

The Joomla developers are doing an excellent job outlining their plans for 3.9. The Joomla team plan provide three new GDPR-focused features:

  1. Tools to make it easier to submit and manage user requests. These will make it easier to the users to submit information requests and to download their data. You can track discussion of these tools here.
  2. Features that enable site owners to gain the consent of the registered users. You can read discussion of the consent tracker here.
  3. An API for extension developers so they can report the data they collect. This info can be displayed in a new com_privacy extension. You can track discussion of com_privacy here.

Joomla GDPR Feature #1. Managing user requests

These features are already close to completion. You can already test these tools by downloading the latest version of Joomla's privacy frarmework. This is a normal copy of Joomla 3, but with the GDPR tools added.

Michael Babker, who's leading the 3.9 release, explained the user-facing part of the main Joomla GDPR com_privacy extension:

  • There's a new frontend for com_privacy so users can submit and confirm information requests. There will be new menu links to make this frontend visible to users.
  • Joomla will send an email to the user after they submit a request. Users will have to click a confirmation link.
  • Initially this feature will be restricted to authenticated users. This might change in the future. However, the GDPR is less important to anonymous visitors, and a form like this could also become a spam target.

And here's Michael's summmary of the admin area of com_privacy:

  • There are new screens available via Components > Privacy. All requests sent from the frontend of the site will be stored here.
  • The administrator can move requests from Pending > Confirmed > Completed. There's also an "Invalid" option if users don't respond to the confirmation email.

Joomla GDPR Feature #2. Gaining user consent

The plan here is to port an existing plugin. This will add consent boxes when people send you data. For example, the image below shows a consent box on Joomla's contact forms.

To be honest, getting and tracking consent is a difficult problem and there's a lack of clarity around the law. Do you need to store this consent data for a fixed period of time? Does the consent expire after some time?

Joomla GDPR Feature #3. An API for extension developers

These features are the most difficult of all. Not only does Joomla need to build the platform to store data, but extension developers need to build their own integrations.

This discussion explains that the Joomla team are using a Google Summer of Code project that was created as a user activity tracker. Here is the plugin where we can choose which actions to track:

And this next image shows how the data may be stored in com_privacy:

Once this is done, it will be time to build the API for extension developers and encourage them to start reporting their data. This discussion kicks off the process of building the API. I've seen some ideas on how to encourge extension developers to integrate their code. One good idea is updating the JED to show which extensions support Joomla's privacy tools.

What can you do now?

As you can see, Joomla 3.9 won't be released in time for the arrival of the GDPR.

You will not run into legal problems if you're not compliant immediately. You may not ever run into legal problems if you're outside of Europe. But, this is a great opportunity for all of us to think more carefully about our customers' data.

The most important thing is to start the process of complying with the GDPR and show that you're taking it seriously. Some ideas:

  • Update your privacy policy to be clear about what data you collect and why you're doing it.
  • Add consent check-boxes if you're using contact forms.
  • Update your "Contact Us" page to allow people to reach you about privacy issues.

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.

 



The Ways to Speed Up Your Joomla Website and Improve Conversion

clock July 9, 2018 12:07 by author Kenny

Is your website loading slow? Really? Do you know, what can happen if your website is loading with a one-second delay? You can lose around 11% of your page views. You can lose 7% of your conversions. 16% decrease in customer satisfaction. You are helping your competitor to grow faster than you. And this is just a one second delay. And a few extra second delays in website loading can damage your website as well as your business. So, now you must be aware that how important it is to have a fast loading website to grow. Fast loading website is also vital to rank on Google as well because page load speed is also considered as a ranking signal as well.

Why website loading speed matters?

It is true that slow loading speed kills conversions. Let me prove it. If you are purchasing something online and you are just getting loading and loading. Would you wait for it? I am sure, you will not and will go to another website to purchase that item. Same will do your customer as well. So, to retain the potential customers, you have to make your website load within 2 seconds otherwise you are losing your potential customers even without visiting your site. Now, the question is how to check Joomla website loading speed.

Tools to test website loading speed

There are a lot of online tools available in the market to check your Joomla site speed globally except China. These tools help you to analyze your website performance and give you actionable information to assist you in improving website speed and make it load faster.

PageSpeed Insights

PageSpeed Insights is an online Joomla site speed test tool developed by Google itself. It helps you to analyze the content of a web page, then generates suggestions to make that page faster. It creates you the following details: Page Load Distributions, Page Stats, Optimization Suggestions like optimize images, Leverage browser caching and few other with how to instructions.

GTmetrix

GTmetrix is a fantastic tool that gives you a report about your website that how well it is performing and provides you with actionable tips to optimize your site for fast loading. GTmetrix not only checks your website loading speed but also check your website for YSlow matrix and assign your website grade between A to F. Its reporting is divided into six parts: Page speed, YSlow, Waterfall, Timings, Video, History.

Pingdom Speed Test

Pingdom speed test is a popular and well-known tool to test website speed online. This Joomla speed test tool allows you to check website performance from 4 different locations: Melbourne, Australia; New York City, New York, USA; San Jose, California, USA; Stockholm, Sweden. The results of a Pingdom speed test provide you with performance insights, similar to Google Page Speed Insights with actionable recommendations. Its report is divided into performance grade, Load time, Page size, Requests by content type and domain.

Web Page Speed Test

All the Joomla speed test tools work same, but the difference is that some provide more information and more functionalities. Same Web Page Speed Test is also another tool mentioned in the article, but it offers you 40 locations and around 25 browsers including mobile to test your website performance. Same the way, it also breaks its results in different parts on the based on various performance tests.

Uptrends

It is not that favorite tool as compare to others, but it is too powerful comes with lots of features. It offers you to test your Joomla website from a different location and different browsers. You can also check mobile loading speed with the help of Uptrends. These are the some of the best tools to check loading performance of your website. But if these show you that your site is loading slow, then the question is how do I make my site load faster? So let’s check out.

How to make my Joomla site load faster?

Enable Joomla cache

Enabling Joomla cache can help you to reduce the loading time of your website when a user visits on your site. If you enable the Joomla cache, the system stored all the static elements on visitor’s hard drive or temporary storage. So when the visitor returns on your website, if all the parts will load from your temporary storage instead of the server, it takes less time to load your website. In technical terms, the next time, when visitor visit on your website, his browser can load the page without sending the HTTP request.

Choose a Good web hosting

Web hosting is an integral part of the website. If your website hosting is not good, you will face lots of downtimes, and also the performance of your website will be down. If you are not choosing a good web host, it doesn't matter how much you have optimized your website. You will end up with server downtime and slow website loading speed.

So before choosing a hosting for your website, consider checking the following things. The public reviews on social media, forums. Never trust on less reputed blog’s reviews. Most of the times these are sponsored reviews. Never go with cheap or free web hosting. They can damage your website. Don't forget to compare the shared and dedicated plans. I will recommend you to go with dedicated plans. Of course, they will be expensive, but they are worth to buy.

Enable GZip compression

The smaller your web pages, the faster they will load. Compression is the latest technology to load the web page fast. Joomla offers you the functionality to compress your files before sending to the visitor with Gzip compression. It reduces the page size and makes your Joomla site load faster. To enable the option, please go to "System → Global configuration → Server → Server Settings", find the option “GZIP Page Compression” then enable it. We have a detailed article on how to enable Gzip Compression on Joomla site. Have a look at it.

Optimize Website images

Images are the most critical part of the website. But these are also the primary factor to slow down your site. But removing images is not the solution. Because if we take an example of an e-commerce website, can you imagine the conversion rate without having the excellent quality of product images? It will be damn low. So, you can’t go without the photos. So what is the solution? You have to optimize the images so these can be load fast. There are numerous online tools available to compress the images without losing the image quality: If you are a photoshop user, consider saving the image Save for Web and Devices; Avoid using a .png image unless these are necessary; Use TinyPNG.com (I am a big fan of it.); You can use compressor.io; Smush.it is also a great tool to compress images.

Use a CDN

CDN stands for Content Delivery Network. CDN is the most useful way to improve a site’s performance. But the question is how a CDN make a website load faster? As the name suggests that it helps you to deliver your content to your visitors. Beyond the server that hosts your website, you can use another server as well to decrease the loading time of your website. And it is possible with the help of a CDN. It helps your website by shortening the distance between a visitor and the server delivering your content.

Optimize CSS + Javascript

This is the time to show more creativity on your website. And to make your website more creative, you need to use different CSS and JS files. This will lead to increase the website load time. Because they will block the content from rendering before they are executed fully. But luckily, we have a solution for this. You can compress these files. Once you have squeezed all your CSS and JS files, this will remove the lots of white space from your files, but also it will affect the code readability. So if you want to edit your code again, you have to beautify it. But it will save a lot of sizes and will help you to make your site load faster. Most of the time, we use different CSS or JS files to develop a website which leads to slow down your site. So instead of using separate files, copy the code of all the files and create a new large file. So when a visitor visits your website, it will load only one file instead of too many.

Use a defer or async attribute in the scripts to delay the execution.

These optimizations can be done on Joomla template level only. So what about the files that load from the Joomla core? Don’t worry, and we have a solution for that as well. Check out the next point.

Use Speed Optimization Joomla extensions

You can combine the external CSS or JS files on template level as discussed in the last point. But how to optimize the CSS/JS files that load directly from the Joomla Core.

Minimize HTTP requests

According to Yahoo, 80% of the load time of a web page is consumed to download the different part of the website like stylesheet, scripts, media etc. An HTTP request is made to download one of these components, so the more elements on a web page, the more HTTP requests required and the longer it takes for the page to render.

Use asynchronous loading for CSS and JavaScript files

You can optimize the way they will load. You can load the Synchronous or Asynchronous way. In Synchronous, browser load one file at a time so if one file takes time to load it will stop loading another file and will wait for the loading. On the other hand, in Asynchronous, if one file takes time to load, browser keep that file loading and start loading other data simultaneously.

Optimize for mobile devices

Yes, it is most important to have a mobile-optimized website. Your website should perform well on all kind of devices from small screen to large screen. It should load fast and should be fully responsive so it could make a better user experience.

Use external hosting platforms

Images, videos, and large files take more time to load so if we host them on an external hosting platform, the website loading speed can be improved. There is the number of websites available in the market which allows you to upload your videos or images on their website and then you can use those on your site: YouTube - Allows you to upload video; Vimeo - Allows you to upload and share videos; Pinterest - Allows you to host images; Flicker - Allows you to host images.

Reduce the number of Joomla extensions you use on your site

When you use any third party extension, they load their CSS and other scripts which affects your website very severely. So it is always recommended to choose less Joomla extensions and if you need to use, choose them wisely. The major trouble makes extensions are: Social Media Counter to cont the share and likes on your website; Google Analytics, Google Adsense or fonts etc. also slow down your website. So always choose lightweight extensions so your website speed could not affect. Using optimization rules in the .htaccess file. If you have renamed your htaccess.txt file to .htaccess, you can use it to add some code which tells your browser not to request specific image types from the server if they are already present on your PC.

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - ASPHostPortal.com :: Joomla Tips for Getting to Google Top 10

clock March 15, 2017 05:56 by author Armend

You may disregard this article if starting a website on Joomla solely for your personal needs and are not interested in making it visible to the whole Web community. Oh, you are still reading – in this case, you definitely decided to make Google fall in love with your website and show it up on the desired 1st page of the search results. Search Engine Optimization is no easy task, but with time and perseverance you’ll pursue your goal. Here are the first simple, but really indispensable steps from iJoomla.com which will take your Joomla site closer to top rankings in Google.

  • 1. Your Site Name should be your site’s name. There can be a temptation to cram as many keywords as possible into the “Site Name” field. It doesn’t help and when users register at your site, they get an email saying “Welcome to Widgets, Buy Widgets, Cheap Widgets, Bargain Widgets!” You don’t want that.
  • 2. Turn off your PDF links. When we analyze Joomla! Sites, we often find PDFs ranking higher than the original pages. Because PDF pages have no menu links, they’re a dead-end. Users can’t move from the PDF to the rest of your site. So turn off those links.
  • 3. Don’t waste your site’s link juice with lots of social bookmarking links. Lets face it, very few pages have a chance to hit the Digg home page or do well on Reddit, so only place those buttons on your best articles. Your visitors appreciate clean, uncluttered pages — and so do search engines.
  • 4. Redirect the www and non-www versions of your site to the same place. All you need to do is add this little piece of code to your .htaccess file.
  • 5. Turn on your cache. Search in Google and you’ll see a size for each site. Smaller, faster sites are more popular with visitors and with Google. One easy way to make your site act small and load faster is to turn on your cache in Global Configuration.
  • 6. Enter a full description for all your sections and categories. These pages are great for organizing your site… and for improving Page Rank. If you organize your sections and categories carefully, your site becomes very easy for both people and search-engine spiders to navigate.
  • 7. Less is often more Having thousands of Joomla! pages indexed in Google isn’t always a good thing, especially if those pages don’t bring value. Some components, for example, can produce lots of extra pages that are completely worthless. One easy way to check if your site is putting garbage on Google is to search for site:mydomain.com. If you find pages that don’t have good content, you might want to remove them.
  • 8. Empty your global configuration metadata. I’m sure you’re all big fans of Joomla!, but I’m equally sure that “Joomla! – the dynamic portal engine and content management system” doesn’t describe your site. Take it out. Now you know what to start with for great Joomla SEO. This platform has great possibilities for creating a website that will rock the Net. If you’re considering migration to Joomla from your current CMS platform or in case your Joomla 1.5 or 2.5 requires an update, check out ASPHostPortal.com which can handle your Joomla content migration or update easily and totally automatedly letting you focus on promoting your online project.

 

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - ASPHostPortal.com :: Deploying Joomla Containers using Docker Compose

clock March 8, 2017 04:56 by author Armend

Deploying Joomla Containers using Docker Compose

Docker Compose is a tool that allows you to deploy an application composed by multiple containers. For example, imagine that you want to deploy Joomla. It requires two containers, the web application (which it also runs the web server apache) and the database.

 

Deploying using the docker CLI

First, let's deploy Joomla using the Docker command line interface.

  • Run the database container. We do it first because the database is a dependency of the application.

docker run --name db -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql

  • Run the application container, link it to the database and map the port 80

docker run --name my-joomla --link db:mysql -d -p 80:80 joomla

Executing containers in the background

The previous commands allows you to run the containers and all the logs will be shown in the terminal. If you want to run the containers in the background, you need to add the parameter -d
docker run -d --name  db -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql

Stopping containers

If you want to stop and delete a running container, allowing you to start another container with the same name, you just need to execute the following command. The last parameter is the container name.

docker rm -f db

NOTE: you can get the name of all running containers executing the command docker ps )

Installing Docker

You can install Docker by executing the following command:

curl -sSL https://get.docker.com/ | sh

Deploying using Docker Compose

Docker compose makes things more simple. It allows you to create a simple YAML file that will contain everything required to orchestrate both containers. Let's run the previous example using Docker Compose.
Create a file called compose-joomla.yml with the following content:
joomla:

  image: joomla
  links:
    - db:mysql
  ports:
    - 80:80
db:
  image: mysql
  environment:
    MYSQL_ROOT_PASSWORD: example
and run docker-compose up
docker-compose up

Installing Docker Compose

If you do not have Docker Compose installed yet, you can do it by executing the following commands:

curl -sL https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

Deploying Containers in the Cloud using Manageacloud

First, in our account, we create a server configuration, called docker_compose_joomla, using shell, for Ubuntu 14.04 and using the following content:

#!/bin/bash
set -x # enable debug
# install docker
curl -sSL https://get.docker.com/ | sh
# install docker compose
curl -sL https://github.com/docker/compose/releases/download/1.5.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
# add the configuration for joomla using Docker Compose
mkdir ~/compose-joomla
cat > ~/compose-joomla/docker-compose.yml << EOL
joomla:
  image: joomla
  links:
    - db:mysql
  ports:
    - 80:80
db:
  image: mysql
  environment:
    MYSQL_ROOT_PASSWORD: example
EOL
# execute both containers
cd ~/compose-joomla/ && /usr/local/bin/docker-compose up -d

Running applications in the cloud

A server configuration is everything that is required to run applications in the cloud using Manageacloud.
Deploying from the web interface
There are two ways to deploy a server from the web interface:

  • By clicking "Quick Deployment" from the server configuration view
  • By clicking "Production" or "Testing" from the advanced deployment page

Deploying using the mac cli

You can also deploy from the command line interface:

mac instance create -c docker_compose_joomla

Installing mac Command Line Interface

You can install mac cli by executing the following command:

curl -sSL https://manageacloud.com/mac | bash

Deploying using Manageacloud triggers

The mac cli and the web interface requires credentials and some other minor tweaks to run. However, if you use triggers , you will isolate all that complexity. You can deploy just by executing a POST into an URL.

  • First, create a new trigger at you account
  • Comment out the lines that contains the credentials:

export MAC_USER=[...]
export MAC_APIKEY[...]

  • Add the following line to the trigger

mac instance create -c docker_compose_joomla

Now you can run the trigger, deploying the application, just executing a POST to an URL. Example:

curl -X POST https://manageacloud.com/trigger/my_trigger_65rov8bpp6pl8dr

Triggers and Webhooks

Triggers are bash scripts that isolates all the credentials and complexity. Triggers are specially ideal to run in Webhooks as part of the Continuous Integration or Continuous Deployment pipeline.

Deploying using macfiles

Sometimes is just not good enough to deploy single servers as you need to use infrastructure resources such as load balancers, autoscaling groups and more.
macfile is a technology agnostic framework that allows you to integrate any technology that uses bash . Access to the quickstart guide for more information.

Deploying using API

If you want to integrate the deployment of Joomla with an application, you should use the API to create the server. For example:

$ curl -X POST -i -H "Content-Type: application/json" \
-H "Authorization: ApiKey username:myhashedpass" -d \
'{"hardware": "512mb", "cookbook_tag": "docker_compose_joomla", "location": "sfo1", }' \
https://manageacloud.com/api/v1/instance

Deploying using Manageacloud scripts

Sometimes you need to deploy server configurations in existing servers. In this case, you can deploy using the Manageacloud script, accessible from the deployment page. For example:

curl -sSL https://manageacloud.com/api/cm/configuration/docker_compose_joomla/ubuntu/manageacloud-production-script.sh | bash

When should I use Manageacloud scripts ?

You can use Manageacloud script in many different cases, for example:

  • In the Dockerfile to create the configuration of your container
  • If you create development servers using Virtual Box
  • and more

Conclusion

Docker Compose is a fantastic tool to deploy containers and microservices in the cloud. Using it along ManageaCloud offer us the flexibility required to deploy applications in the cloud, covering many different use cases and deployment scenarios.

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - ASPHostPortal.com :: Top 10 Joomla! SEO Tips and Tricks

clock March 1, 2017 04:56 by author Armend

SEO may sound complicated and expensive, but there are a number of things you can do to improve your search engine ranking that won’t have you spending a dime or tearing your hair out. 

  • Don’t install any sample data when you set up a Joomla! site.

When you launch your Joomla! Site, it’s very easy to forget to delete all the demo articles that come with it. That will give you pages, links and newsfeeds that are irrelevant to your topic. Delete your sample data and don’t forget to empty your trash as well!

  • Your Site Name should be your site’s name.

There can be a temptation to cram as many keywords as possible into the “Site Name” field. It doesn’t help and when users register at your site, they get an email saying “Welcome to Widgets, Buy Widgets, Cheap Widgets, Bargain Widgets!” You don’t want that.

  • Turn off your PDF links.

When we analyze Joomla! Sites, we often find PDFs ranking higher than the original pages. Because PDF pages have no menu links, they’re a dead-end. Users can’t move from the PDF to the rest of your site. So turn off those links.

  • Don’t waste your site’s link juice with lots of social bookmarking links.

Lets face it, very few pages have a chance to hit the Digg home page or do well on Reddit, so only place those buttons on your best articles. Your visitors appreciate clean, uncluttered pages — and so do search engines.

  • Redirect the www and non-www versions of your site to the same place.

All you need to do is add this little piece of code to your .htaccess file. Note: Replace MyDomain with your domain name and .com with your domain extension.

## Can be commented out if causes errors.
Options FollowSymLinks
# mod_rewrite in use
RewriteEngine On
RewriteCond %{HTTP_HOST} ^MyDomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.MyDomain.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} !^.*MyDomain\.com [NC]
RewriteRule (.*) http://www.MyDomain.com/$1 [R=301,L
]

  • Turn on your cache.

Search in Google and you’ll see a size for each site. Smaller, faster sites are more popular with visitors and with Google. One easy way to make your site act small and load faster is to turn on your cache in Global Configuration.

  • Enter a full description for all your sections and categories.

These pages are great for organizing your site… and for improving Page Rank. If you organize your sections and categories carefully, your site becomes very easy for both people and search-engine spiders to navigate.

  • Less is often more

Having thousands of Joomla! pages indexed in Google isn’t always a good thing, especially if those pages don’t bring value. Some components, for example, can produce lots of extra pages that are completely worthless. One easy way to check if your site is putting garbage on Google is to search for site:mydomain.com. If you find pages that don’t have good content, you might want to remove them.

  • Empty your global configuration metadata.

I’m sure you’re all big fans of Joomla!, but I’m equally sure that “Joomla! – the dynamic portal engine and content management system” doesn’t describe your site. Take it out.

  • Be confident.

Joomla! is fantastic software that allows you to easily create lots of high quality pages that are great for your SEO. If you keep a close eye on your site and take the time to learn how Joomla! works, there’s no reason why you shouldn’t have top-flight search engine rankings!

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.

 



Joomla Hosting - ASPHostPortal.com :: Joomla Security Issues that Get Sites Hacked

clock February 22, 2017 04:56 by author Armend

As Joomla site recovery specialists, we're regularly approached for help and see the same Joomla vulnerabilities come up time and again. What's sad is that they are incredibly easy to correct, but once a Joomla site is hacked it comes at considerable cost to get it fixed and secure again.

The Security Issues

#Issue 1: Build it and Forget It
The number one cause of hacked sites is lack of maintenance. It is incredibly simple and doesn't require much investment in time, but most sites get hacked simply because they do not stay up-to-date with the security releases for the Joomla core or its extensions.


The problem stems from the fact that hackers are more and more aggressive and use automated tools to execute attacks at scale. 10 years ago you could leave a site as it was for several years, but these days any open source software, including Joomla, requires maintenance and security patch application.
The web is a wild west and your website needs to stay up-to-date if you're going to keep the desperadoes out.

The fix:

  • Create a schedule for checking for and applying updates.
  • Sign up for notifications from the Joomla vulnerability database and the Joomla core security notification list.

If you're the site builder: make sure and offer your clients some form of maintenance service. Include it on any estimates or proposals you provide them along with the rationale for why it is important.

#Issue 2: Lazy Passwords

If you don't take password security seriously, your site will be hacked. Password guessing is an incredibly common attack because of how often it's successful. No one likes to have to remember difficult passwords but it is essential to security.
Passwords that are simple words with numbers or relatively short are quickly guessed using automated "brute force" attacks.

The fix:

Use long passwords that are nonsensical and use a few special characters, but that you can remember. This works because password length creates complexity which makes using a computer script to guess them difficult so long as there is some variation.
For example: president!Tokyo!furious!zebra
If you're the site builder: make sure and explain to your clients why this is important and provide them with these longer passwords.

#Issue 3: Self Hosting (or Bottom Barrel Hosts)

It's not difficult to get a virtual private server, dedicated server, or even in-house box set up. For some agencies and freelancers its attractive because you can host many sites at a cost savings compared to shared or reseller hosting. However, it's critical that the server environment is set up with the security packages and configured correctly. Additionally, just like for any Joomla website, servers require maintenance in order for the security to remain effective.
Even if your Joomla site is in good shape, if your server is vulnerable, you're going to end up hacked. We get many requests for help from agencies and individuals that have self hosted or chosen bottom barrel hosting providers and ended up in trouble.

The fix:

Either use some form of a managed server or hire a system administrator to regularly audit your server security.

#Issue 4: Poorly Chosen Extensions & Templates

Poorly chosen extensions and templates often create flaws in Joomla security (more on this below.) Here are a couple common scenarios:

  • A site builder needs functionality which is more esoteric and has a hard time finding a solution. They find an extension which fits the need fairly well, but doesn't appear to be of high quality or well-maintained. They install the extension anyways and trust that everything will work out.
  • A site builder tries to save some money by downloading a commercial extension or template from a free scripts website and not the developer (it's not quite pirating because it's open-source, but still unethical because they are sticking the developer by not supporting their work.)

These are scenarios in which not only may holes be being created in the Joomla security, but that the site builder may actively be incorporating malware and other malicious code without realizing it.

The fix:

Use extensions and templates from reputable sources. If you can't find one, either hire a Joomla developer or Joomla development company to create it bespoke or find another solution for the need if you can't afford custom work.
Sometimes it's better to do without then to do with!

#Issue 5: Legacy Directories/Code

For any site that's been on the web for more than a couple years, it's likely that it has accumulated some legacy code. If this code isn't cleaned up, it significantly increases the chances that the site will be compromised. This is because over time more and more vulnerabilities are discovered by hackers.

The 3 most common scenarios:

  • The webmaster or site builder installs an extension, doesn't end up using it, and forgets about it.
  • A Joomla developer working on the site creates a staging or backup directory to test some updates in and once the updates are incorporated in the live site forgets to remove the staging directory from the server.
  • The website uses multiple applications and while one is actively updated the others are neglected. For example, a Joomla site with a WordPress blog that is not updated.

The fix:

  • Once or twice a year audit your Joomla extensions for anything that you're no longer using and uninstall it.
  • Check for and remove any staging or backup directories. Whenever you're finished using a staging directory, make sure you clean it up as a final step.
  • Remember that vulnerabilities can be exposed by any code on your server, so make sure and keep all applications updated with the latest security patches.

What About Joomla Security Holes?

Joomla is developed by veteran developers who are highly aware of the security environment of the Internet and the risks involved. Joomla has a built-in security model to combat common vulnerabilities in web applications. Because of these factors, even though the core application is under an incredibly high level of scrutiny by hackers it rarely has significant security issues and when they are discovered they are patched very quickly.

Security holes are more likely to appear in poorly coded extensions that don't use the Joomla security model due to the inexperience or laziness of the developer. This is why it's critical to be particular when choosing extensions and not haphazardly installing everything that might work.

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



Joomla Hosting - ASPHostPortal.com :: How To Remove Index.php in Joomla

clock February 8, 2017 05:26 by author Armend

So you setup your Joomla! website, produced it live, as well as a couple of weeks/months/years later realised that you'd forgotten to allow the HTAccess file for SEF URL's. The finish result becoming that as an alternative to obtaining a nice Search Engine (and user) friendly URL like /category/Blogs/post/, you as an alternative have /index.php/category/Blogs/post/.
You may just enable the HTAccess file, but all of the old URL's will return a 404. Not excellent if your web site has currently been indexed by search engines, even significantly less fantastic if you have got a great deal of inbound links on other web sites.

 


It's in fact incredibly straightforward to resolve, and within this post I'll be displaying you the two simple steps you need to take to configure your web site to redirect the old /index.php/* URLs towards the nice SEF ones you would like.

The very first step is easy, we want to allow the HTAccess file (assuming you haven't currently). In the root of one's Joomla! internet site can be a file named htaccess.txt, rename it to .htaccess

Second step: We need to have to add a mod_Rewrite rule to catch the old-style hyperlinks. Open .htaccess inside a text editor and uncover the line "RewriteEngine On". Right away under add the following (lines with a hash are comments, it is possible to skip these if required)

# Make sure the requested URL isn't a file or directory
# Why you'd create a directory called index.php, but best to be sure
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f

# Use a reg-Ex to find URL's where index.php is followed by something.
# If so, create a redirect to whatever followed the slash
RewriteRule ^index.php/(.*)$ /$1 [R=301]

Do not forget to save the file!

Now in the event you visit http://yoursite/index.php/category/Blogs/post/ you should be redirected to http//yoursite/category/Blogs/post/. Due to the fact you are sending a 301 (Permanently moved), the search engines must update their indexes at the same time.

It really is something folks encounter a good deal, but as you'll be able to see it's incredibly straightforward to resolve.

Joomla Hosting Recommendation

ASPHostPortal.com provides our customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. We offers Joomla hosting starts from $1/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable Joomla Hosting, we should be your best choice.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions

Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in