Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

You can change the PHP configuration on your site by creating a text file called 'php.ini', which goes in the root folder of your site. You use this to set the options when PHP is run on your site: there are a huge number of these.

Some useful ones are:-

display_errors=0
This stops error or warning messages being displayed - you may want to do this on a production site because these messages give attackers information about your server
allow_url_fopen=0
This stops your files from being accessed remotely through a PHP include - again this will help your site security
memory_limit=32M
Increases the amount of server memory available to your script (the default is 8 MB)
upload_max_filesize=8M
Increases the maximum upload file size (the default is 2 MB)

You can find further information on this in the official PHP documentation, available from PHP.net.

Add a comment

What is a Google sitemap? A Google sitemap is an xml file containing a list of the URLs on your site.

 

The easiest way is to use the extension OSMap by JoomlaShack, see https://extensions.joomla.org/extension/osmap/

 

A Google sitemap takes the general form:-

 

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.mysite.com/</loc>
<priority>0.5</priority>
<lastmod>2009-07-30T08:19:27+00:00</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://www.mysite.com/example-page.html</loc>
<priority>0.5</priority>
<lastmod>2009-07-30T08:19:37+00:00</lastmod>
<changefreq>monthly</changefreq>
</url>
<url>
<loc>http://www.mysite.com/example-page-2.html</loc>
<priority>0.5</priority>
<lastmod>2009-07-30T08:19:37+00:00</lastmod>
<changefreq>monthly</changefreq>
</url>

.
.
.
</urlset>

 

 

The page addresses are contained within the <loc> tags, a quick check through them will show whether your pages are being properly indexed.

 

It is important to remember though that a sitemap is merely advisory, and is not normally essential. A few years ago it was the case that Google often only looked at a few pages on a site, and including a sitemap could make a substantial difference to your Google ranking, by making it easier to crawl. These days the Google robot does a very good job of crawling even very complex sites, and can index most URLs, even those containing complex query strings, so it is doubtful whether a sitemap makes a large difference. However even making a small difference with your Google ranking is worthwhile, so it is worth doing if you can.

 

Once you have generated a satisfactory sitemap, you need to upload it to your site, to the www root folder of your site. The you need to notify Google. To do so, type the following into the address bar of you web browser.

 

http://www.google.com/webmasters/tools/ping?sitemap=http://www.yoursite.com/sitemap.xml

 

replacing yoursite.com with the URL of your site. You should receive a notification message saying that the notification has been received.





Add a comment

What is the difference between a Joomla Component, a Module and a Plugin?

This issue can seem rather confusing to a novice Joomla user, but it is really worth understanding this, because each have their specific uses.

Add a comment

Understanding Types of Joomla Extensions

When editing a Joomla! template one of the biggest challenges can be finding the css style rules that apply to a particular element. It really helps if you understand the basics of css selectors, and how they are applied to css style rules.

Add a comment

Understanding CSS Selectors When Editing Joomla Templates