Home » Archive

Articles in the Webmaster Category

Internet, SEO, Webmaster »

[19 Aug 2010 | Author: 0xC0FF33 | No Comment | ]

Many web pages include a site search these days, that makes it possible for users to search content exactly on the page they are and not on the whole web, but what should one do, if no results were found?
Normally search engines would also index these pages, because they can’t see, that there is no result and we set the status to 200 which means “Okay, page found”. To prevent that, some webmasters use a “404 – File not found” header, so that the search engines would not index the …

Code Snippets, Drupal, Internet, PHP, Programming, Webmaster »

[2 Aug 2010 | Author: 0xC0FF33 | 3 Comments | ]
Code snippet: Export simplenews subscribers from drupal to CSV

Some of you may know the newsletter module simplenews for drupal. If you’ve ever tried it, I am sure you soon realized, it’s a mess. The template functionality is too complicated and poor, emails are send via cron, you have no statistics and only poor ones with other extending modules…
Because of that, I think many people will change the newsletter system and maybe outsource it, so that you have to export your existing simplenews subcribers with username and some more data, than just the email address. Unfortunately there is no …

Code Snippets, Internet, PHP, Programming, SEO, Webmaster »

[18 Jul 2010 | Author: 0xC0FF33 | No Comment | ]

Since April 2009 Google offers some nice feature in web search called Suggest, which is the  list of search queries you see,when you type in some search query into Google. I think everyone knows and uses it…
In addition to this nice helper on the website itself, Google also provides the same results as a feed or javascript code, which made me think of some way to utilize it and it seems to be a perfect helper for keyword research issues. The magical URL  is: http://www.google.com/complete/search with its parameters.
Parameters are:

hl: string value which determines …

Internet, PHP, SEO, Webmaster »

[2 Jun 2010 | Author: 0xC0FF33 | No Comment | ]

You need to do a 301 or 302 redirect, but have no access to the server configuration files or the .htaccess file? Unfortunately not all hosters allow you to edit the .htaccess file, where you could easily set a redirect via the line:
Redirect /oldpage.html http://www.example.com/newpage.html [R=301,L]
I recently had exactly that problem, but PHP has some nice function, that helped me out: header(). The function allows you to send a raw HTTP header to the client browser. A 301 or 302 redirect is stored in the header section and so we can …