Month: January 2012

How to remove the Fatal error: SOAP-ERROR: Parsing Schema: unexpected in sequence error?

If you use the eBay API in any way on your website related to your products or orders then you may have come across an issue which happened last week probably around Jan 26 2012. If you call any eBay

Tagged with: ,

How to 301 redirect static URLs using htaccess

If your website has static URLs i.e. do not contain any query string parameters and you need to redirect your old website URLs to your new website URLs then you don’t have to fear anymore. You can write simple redirect

Tagged with: ,

How to 301 redirect non-www URLs to www URLs using htaccess

If your website can be accessed by two different URLs then your website could be penalized for duplicate content by the search engines which would be costly in terms of your rankings. For e.g. if your website can be accessed

Tagged with:

How to 301 redirect SSL URLs to non-SSL URLs using .htaccess

If you would like to rewrite your SSL URLs to non-SSL URLs then please add the following code to your .htaccess file. RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.adeelsarfaraz.com/$1 [R=301,L] The above code should be used in the following conditions: 1.

Tagged with:

An alternative way to check mySQL version in the Magento check script

Magento, like most other open source softwares, provides a list of requirements which need to be fulfilled before it can be installed on your machine. If you are installing Magento for the first time then I would recommend that you

Tagged with: ,

How to parse large sized XML files using PHP XML Parser

I was recently provided a Google Base XML file by a client to load on one of his websites. The size of the XML file was over 20MB.  The format of the XML file was as follows: <?xml version=”1.0″?> <rss

Tagged with: ,

How Google can penalize your website for duplicate content

My company’s SEO team lead came to me with an interesting problem and I thought I share it with everyone. It so happens that his team were doing SEO related work on an e-commerce website and they were seeing a

Tagged with: ,

Steps to implement mySQL FULLTEXT

mySQL has full text indexing and searching support from version 5.0 onwards however there are some limitations. If you need to implement full text indexing then please review points given below: 1. mySQL allows full text indexing on MyISAM tables

Tagged with: ,

How to use JavaScript to detect mobile and hand held devices

If you are maintaining separate web pages on your website for visitors viewing your website on their mobile phones or hand held devies then you can use the following JavaScript code to check the visitor’s user agent and direct them

Tagged with: ,
Top