| Subcribe via RSS

moving wordpress to another server

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz


To update WordPress options with the new blog location, use the following SQL command:

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');

If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

Browse through WordPress blog to check if everything is okay. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain.

source: Read full article on this link http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/

Tags:

websitegrader.com

May 21st, 2008 | No Comments | Posted in anything under the moonlight, seo tools by dreamluverz


I discovered a new site http://www.websitegrader.com

that checks your site’s stats, page ranks, analyzes your site in dept and a whole lot more.

Tags:

GMap_Factory.inc.php on line 22

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz

Are you getting this error? Sorry to tell you that it doesn’t support php4. So check your hosting if they got php5.

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in

…\wp-content\plugins\googlemapper\classes\GMap_Factory.inc.php on line 22

Does this plugin support PHP4?

Unfortunately, no it doesn’t. GoogleMapper uses PHP5’s OO framework, and while I’d like to tell you that a PHP4-compatible version is coming soon, limited time and resources are keeping me from going after it. If there’s anyone out there that would like to take a swing at making a PHP4 version, and would like some info to help get goin’ on it, please contact me. - http://wordpress.org/extend/plugins/googlemapper/faq/

Tags: , ,

mod_rewrite domain

May 21st, 2008 | No Comments | Posted in anything under the moonlight, apache, htaccess by dreamluverz

RewriteCond %{HTTP_HOST} ^(www\.)?yourdomain\.com [NC]
RewriteRule ^(.*)$ http://newdomain.com/$1 [R=301,L]

Introduction to mod_rewrite

Tags: ,

wordpress reference

May 21st, 2008 | No Comments | Posted in wordpress by dreamluverz

I stumbled on this site and it’s a good reference for wordpress especially with the scripts. All files are listed here, functions, classes. Check it out. It would be helpful for you

http://xref.redalt.com/wptrunk/nav.htm?_functions/index.htm

Tags: ,

wordpress: If this file were writable you could edit it.

May 21st, 2008 | No Comments | Posted in anything under the moonlight, wordpress by dreamluverz

Error: If this file were writable you could edit it.

If you’re getting this error check the folder for wp-content and for themes and change its permission to 777 as well as it’s sub folders esp the current theme you’re using.

for references you could also check the following links:
http://wordpress.org/support/topic/115385

http://codex.wordpress.org/Changing_File_Permissions

Tags: , , ,

wordpress: The uploaded file could not be moved to

May 20th, 2008 | 1 Comment | Posted in wordpress by dreamluverz

Error: The uploaded file could not be moved to

Change file permission of the upload folder and it’s subfolder to 777
and it will be fixed. Usually this happens if you transfer your blog to a new server

Tags: , ,

domain redirection

May 20th, 2008 | No Comments | Posted in SEO, apache, server by dreamluverz

As far as SEO is concerned 301 redirect is the most effecient way of domain redirection.

Some ways of doing it:

PHP Redirect

<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.new-url.com” );
?>

.htaccess

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

Check out here for other languages

other reference : http://www.somacon.com/p145.php

Tags: ,

reciprocal link checker script

May 20th, 2008 | No Comments | Posted in php by dreamluverz

I found this code for reciprocal link checker on http://forums.digitalpoint.com/showthread.php?t=111

maybe you want to give it a shot. gudluck :)

<?php $mydomain = "www.domain.com"; // Set this to your domain $list = file_get_contents("sites.txt"); $urls = explode ("\n", $list); ini_set (default_socket_timeout, "5"); echo "<B>Checking back links to $mydomain....</B><P><FONT SIZE=-1>"; foreach ($urls as $url) { if (strlen ($url) && $url{0} != "#") { echo $url . "<B><FONT COLOR="; if (strpos (file_get_contents($url), $mydomain) != FALSE) { echo "GREEN> Found"; } else { echo "RED> Missing"; } echo "</FONT></B><BR>"; } } echo "</FONT>"; ?>
Tags: , , ,

reciprocal link checker

May 20th, 2008 | No Comments | Posted in seo tools by dreamluverz

Wanna verify the links pointing to your site then check out the list of sites below:

Tags: ,