If you look in the tpl_header.php in the default template, you will see how the link for the Home page uses:
Code:
<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a>
If your link is to go to your address:
http://your_domain_name.com
or in your case .com.au
You really are better using a relative link than a specific link, as it is a good coding habit ...
For your domain, you could use:
Code:
<?php echo '<a href="' . HTTP_SERVER . '">'; ?>Main Website</a>
and if you mean for a subdirectory on your server, such as:
/my_fav_directory
such as:
http://your_domain_name.com/my_fav_directory
you could use:
Code:
<?php echo '<a href="' . HTTP_SERVER . '/my_fav_directory/' . '">'; ?><?php echo Main Website; ?></a>
and if you mean for the subdirectory that your store is in, and your store is in:
/shop
such as:
http://your_domain_name.com/shop
you could use:
Code:
<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo Main Website; ?></a>
Relative links are always a better idea than hard coded links, as a rule, for secure vs non-secure pages and for moves to root or sub-directories on the same site or moves to other domains ...
Bookmarks