Three ways to unzip the zip files on Your web site.



As a webmaster you have to upload files to your web site. These files can be simple .html or .php files or script files. Script files can be .pl, .cgi or .php …

Sometimes you need to upload zip files to your web site when you are uploading script files, backup files or moving data from one host to other etc.

Once you upload zip file there are three ways you can unzip it.

1. Using your web host panel ‘Extract’ function.
2. Using telnet.
3. Using a small php script utility.

1. Using your web host panel ‘Extract’ function.

unzip files using cpanel

1. Login your cpanel or any host panel.
2. Go to ‘File manager’.
3. Open up the folder where you have uploaded the zip file via your ftp software.
4. Select the file with left mouse button.
5. There is a link called ‘Extract’ on top of the page or on right menubar. Click on it.
6. You will be prompted where to unzip the files. Select the location or leave it default. If you leave it to default, files are extracted into the same folder.
7. Click ok. You will see the list of files extracted.

2. Using telnet.

unzip files using telnet

1. Open your putty.exe application and SSH into your web site.
2. Go to your script directory where the zip file is.
3. Run the following command based on the file type:

If a file ends in .zip (for example, file.zip) type:
unzip file.zip

If a file ends in .tar (e.g., file.tar) type:
tar -xvf file.tar

If a file ends in .gz (for example, file.gz) type:
gzip -d file.gz

If a file ends in .tar.gz (e.g. file.tar.gz) type:
gzip -d file.tar.gz
and then
tar -xvf file.tar

3. Using a small php script utility.

unzip files using php script

Here is a php script that unzips the zip files in a directory.

1. Copy the code and and paste it in a text file and save it as unzip.txt on your computer.
2. Upload the text file into the directory where the zip file is. Rename it to unzip.php.
3. Access the script like – http://www.yoursite.com/script/unzip.php
4. You will see the list of zip files. Select the file and click on ‘Unzip’ button.

.

Author: Radhika (c)
http://www.webmasters-central.com/






Is your Shopping cart Search engine friendly and optimized?



Most of the web sites have products or services to sell. Either digital products or physical goods … The part of the web site that manages the inventory and provides the buying experience to the buyers comes under ecommerce.

Recent (or long existing ?) trend on competing to top spots on search engine results pushing ecommerce providers to update or change the shopping cart designs and code to suit the webmaster needs. Some of these changes are carts with search engine optimization, rss feeds, rich snippets etc.

Usually shopping carts are either self hosted (installed on your own web site) or thrid party services (other web site hosts your products on their site) to provide buying and delivery of the products.

Simple ways of search engine optimization of your shopping carts:

1. Search engine friendly URLs:

site.com/cart/catid-1/prodid-1/

is way better than

site.com/cart/catid=1&prodid=1

The top one is called search engine friendly url as it doesn’t contain any query strings like the second url which is dynamic url. Though Google and some other search engines crawl these dynamic urls perfectly, still webmasters tend to look for straight urls.

2. Customized URLs:

See the above example. It just saying catid-1 and prodid-1. It doesn’t tell the searcher what exatly the page is about. So if your cart can get the URLs like the following, it would be another search engine optimized feature …

site.com/cart/cat-marketing/prod-search-engine-optimization-ebook/

3. Customize each product page with specific title, metatags and keywords:

This is a BIG plus point in shopping carts as you can optimize every product page with it’s own title, metatags like description and keywords etc. In google webmaster tools you will see google listing your web pages if they have duplicate titles. So this is another proof that google gives importance to title of the page.

So shopping carts with optimized pages are very good for search engine ranking.

4. XML feeds:

If the cart has rss feeds that updates every time you add a product is useful to inform google that your ecommerce site is growing. If your cart has ping functionality, then it will automatically informs google about your new product page.

.

Author: Radhika (c)
http://www.webmasters-central.com/






HTML Emails – pros and cons?



‘HTML emails’ are simply like a web page displaying in email clients based on html code. As contrary ‘text based’ email are simple text like our notepad.

Email marketers like to send their emails in html format because of the control on layout and colors. But many email clients disable the html display by default. So it will be better to offer an alternate format of text based email while the subscriber is subscribing.

What are pros of HTML emails?

1. Color full and eye catchy:

Because of the usage of different colors and font, these html emails grab the attention of your subscriber. You can include images, tables and div tags to align text and seperate the content of your email to enhance the important points.

2. Email openings:

Email marketers tend to get the opening rates of their campaigns to assess their advertising dollars expenditure. For that html emails are a way to go to include a tracking tag which is not possible with text based email. But email link click tracking is possible even with text emails.

3. Hide affiliate links:

Though many subscribers are reluctant to click on hiden links, marketers are still tempted to hide the affiliate links behind other urls. This way they will get the cookie created in the subscribers computer for sale tracking.

What are cons of HTML emails?

1. Display of html emails is off by default:

Email clients have a setting where the reader needs to turn on the html format. By default it will be turned off (in most email clients). Most users are not aware of these simple settings. So they end up looking at raw html code instead of a well formated email.

2. Weight of the html email:

The html email, especially created in WYSIWYG editor tends to be bloated up. So the bigger the size of the email. Using a code editor to create html is always a good idea.

3. Pop-ups and javascripts:

These are blocked by the email clients automatically. Email clients like hotmail blocks the images too unless your subscribers opted them to display.

Here is a small study done a while ago on how many people actually prefer HTML email. Study was posted here:

Text or Html email format? Which format your subscriber prefers?

Though only 20% of subscribers prefer to get the emails in html format, it doesn’t mean that you should backoff from sending them. Follow some tips:

* Use minimal html
* Offer alternative format (like text or mime format)
* Don’t try to fool your subscriber
* Less images
* Ask the subscriber to add your email to safe list

All the above tips helps you to send your email as html based ones.

.

Author: Radhika (c)
http://www.webmasters-central.com/






« Previous Entries  Next Page »