Madhurie Singh . Com

How to build my own web site from my wordpress blog !

Archive for September, 2009

How to create and use HTML Meta Tags, Title Tag, Favicon in wordpress.

Posted by Madhurie Singh on September 28, 2009

http://searchenginewatch.com/2167931

Advertisements

Posted in Webpage Design | Tagged: , , | Comments Off on How to create and use HTML Meta Tags, Title Tag, Favicon in wordpress.

How to avoid link name getting chopped or truncated?

Posted by Madhurie Singh on September 28, 2009

I have a habit of writing long headings for my articles. I prefer providing as much information about my content just from the headline.But long headlines have their own problems. 😦

Long permalinks can get chopped off as well, with only part of it working properly or with the entire link disabled. This will cause a 404 error to be generated – but not because there’s something wrong with my permalink, rather because the title is too long.

Solution one:
To fix chopped permalinks I need to edit my .htaccess file and add a line:

RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]

Solution two:
Another way to solve this truncation of link problem is by posting URLs with angle brackets () on either end. Most email and other problematic software won’t truncate URLs formatted this way.

I hope this solves my problem once and for all . πŸ™‚

Posted in Error in Wordpress | Comments Off on How to avoid link name getting chopped or truncated?

How to set Dunstan Error page for 404 Page not found?

Posted by Madhurie Singh on September 24, 2009

In order to activate the Dunstan-style Error Page plugin, I needed the API code.

How to get API code – wordpress?

There in Settings >>> Error Page >>> Enter the API code

Now my Dunstan-style Error Page is working.

But somehow its working only for 3 blogs!

Why on earth its not working for the 4th blog :(.

Ok I Found the culprit!!!!!!!!

Dunstan Error 404 works only with Permalinks setting Β with “Index” i.e. Β  Β /index.php/%year%/%postname%/

No other permalinks setting will work for Dunstan 404 error page!

Posted in Error in Wordpress | Tagged: , , | Comments Off on How to set Dunstan Error page for 404 Page not found?

How to get API code for wordpress.org?

Posted by Madhurie Singh on September 24, 2009

In order to activate the Dunstan-style Error Page plugin, I needed the API code.

Now I tried looking for API code in my admin page under Profile page but I did not get anything.

SO I went back to my wordpress.com blog not wordpress.org. If I did not have the blog in wordpress.com, I would have to create a blog only for the sake of the API code. How strange?

So I login to my wordpress.com blog.

There in the top left hand corner I found Β  Β  My Account >>Profile >> API code πŸ™‚

I copied that API code and again went to the admin page of my wordpress.org blog.

There in Settings >>> Error Page >>> Enter the API code

Now my Dunstan-style Error Page is working.

But somehow its working only for 3 blogs!

Why on earth its not working for the 4th blog :(.

Ok I Found the culprit!!!!!!!!

Dunstan Error 404 works only with Permalinks setting Β with “Index” i.e. Β  Β /index.php/%year%/%postname%/

No other permalinks setting will work for Dunstan 404 error page!

Posted in Error in Wordpress | Tagged: , , , , | Comments Off on How to get API code for wordpress.org?

404 Broken Link Error page – File not found- permalinks

Posted by Madhurie Singh on September 21, 2009

Today I was feeling great πŸ™‚ and saw 472000 search result of my name madhurie singh!

But the happiness did not last long 😦 when I found some of the links to my site were giving error : OOPS ! The Links is broken.
The page it takes the browser to is the dreaded 404 File Not Found!!!!

And the funny part is the link that takes me there was a page that I had never created i.e. http://www.madhuriesingh.com/tag/holiday !!!

Now I am wondering how on earth did this happen. What does this error mean?

Hmm this site explains it http://www.bloghighlight.com/broken-links-sinking-search-engine-rankings/ best.

http://www.bloghighlight.com/7-top-wordpress-seo-plugin-to-boost-blog-traffic/

SO I gave a search on 404 error tag link broken:

I see a great number of sites on the same error handling, so lemme start browsing and scanning for the best site:

The first site is http://codex.wordpress.org/Creating_an_Error_404_Page.
http://wordpress.org/support/topic/273787

http://perishablepress.com/press/2008/12/31/redirect-all-broken-links-from-any-domain-via-htaccess/
http://codex.wordpress.org/Glossary
http://codex.wordpress.org/Using_Permalinks#Using_.22Pretty.22_permalinks
http://codex.wordpress.org/Using_Permalinks#PATHINFO:_.22Almost_Pretty.22

http://www.lunarforums.com/lunarpages_webhosting_help/problem_with_wordpress_404-t47372.0.html

This site claims to resolver all 404 error s by uploading a php file classes.php and functions-post.php

http://wordpress.org/support/topic/54340 πŸ™‚

Ok after reading here and there, one important thing that I have found is that I need a mod_rewrite installed and working and the server able to read the htaccess file.

I checked my .htaccess file which is in the root directory. I use File Manager in Cpanel to view it even though its a hidden file.
Legacy File Manager does not show hidden files.

My .htaccess file is blank 😦 even though I have done changes in permalinks of all my blogs.
It just has this in it
# BEGIN WordPress

# END WordPress

So obviously I need to make sure it has at least the mod_rewrite function to make the necessary changes that I have set through the wordpress admin page to all my blogs!

Let me find out the reason for the .htaccess file not being written !

1. One common reason is that the file is not accessible by the wordpress admin page to make the changes in .htaccess file for desired permalinks.
So I will have to change the permissions to allow the wordpress to write the .htaccess file. So I change its permission to 666 not 777.

Now I changed the permalinks from /%year%/%month%/%date%/%post%/ Β to Β /%index%

This is a great site for explaining the permalinks and how to solve errors because of permalinks:
http://www.articlesbase.com/communication-articles/when-wordpress-permalinks-404-42939.html.

If nothing works I will check this site later http://www.lunarforums.com/lunarpages_webhosting_help/problem_with_wordpress_404-t47372.0.html

Posted in Error in Wordpress | Tagged: , , , | Comments Off on 404 Broken Link Error page – File not found- permalinks

How to create 404 Error Page

Posted by Madhurie Singh on September 21, 2009

http://www.mattcutts.com/blog/free-direct-text-links/

http://www.google.com/support/webmasters/bin/answer.py?&answer=93641

http://www.google.com/support/webmasters/bin/answer.py?answer=100044&cbid=-6o2s9sgm6no7&src=cb&lev=answer

http://codex.wordpress.org/Creating_an_Error_404_Page

http://www.codinghorror.com/blog/archives/000819.html

http://teqsnacks.com/2007/08/11/wordpress-turning-404-not-found-random-visitors-to-blog-readers/

http://www.gravytrain.co.uk/blog/2009/07/10/how-to-manage-broken-links-and-404-error-pages/

http://www.spotonseoservices.com/custom-404-error-pages-site-usability/

http://www.goldseo.com/news/customize-word/

Some examples of 404 error pages

http://andrewferguson.net/wordpress-plugins/dunstan-style-error-page/

http://www.blogcatalog.com/search.frame.php?term=error+404+wordpress&id=adac469ca34fa44577c7f945d788a294

http://www.blogcatalog.com/search.frame.php?term=error+404+wordpress&id=c154e5fa70de5b126287f8bd9e2c87af

BROKEN LINK REMOVER AND FIXER plugins

http://www.dailyseoblog.com/2009/06/8-wordpress-plugins-to-make-your-404-error-pages-user-friendly-efficient/

http://techblissonline.com/broken-links-remover-wordpress-plugin/

broken-links-remover.zip

http://blog.semetrical.com/link-building-using-404-error-reports/ makes use of 404 for link building!!

Posted in Error in Wordpress | Tagged: , | Comments Off on How to create 404 Error Page

How to fix and solver Permalinks Problem using .Htaccess

Posted by Madhurie Singh on September 21, 2009

Fixing Permalink Problems
Fixing .htaccess Generation Issues
If your installation of WordPress does not generate a .htaccess file or if it does not write the new rules onto your existing .htaccess file then there are a couple reasons that could be causing this. Work step by step and continue to the next step only if the previous step does not work.

Change File Permissions: You must chmod the .htaccess file to 666 to edit it with the WordPress template editor, but this is not recommended, since if you do that, any user of your blog, who can edit templates will be able to edit it. You can change the permissions to 660 to make it server-writable, which again will have the same limitation.
Server Blockage: Your host might have blocked the SERVER_SOFTWARE variable and this will cause WordPress’ .htaccess generation to fail. If you are sure that your server is running Apache, you can force WordPress to believe that your server is running Apache by changing your wp-includes/vars.php file. Follow the steps below to implement these changes.
Open the wp-includes/vars.php file using the built in file editor in your WordPress Admin panel.

To navigate to this panel, login to WordPress, click on “Manage”, then on “Files”, scroll to the bottom and type in wp-includes/vars.php into the text box under the “Other Files” title.
Look for
$is_apache = strstr($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) ? 1 : 0;
and replace it with
// $is_apache = strstr($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) ? 1 : 0;
Add a new line under
// $is_apache = strstr($_SERVER[‘SERVER_SOFTWARE’], ‘Apache’) ? 1 : 0;
and type in
$is_apache = 1;
Users of XAMPP (Windows): Some versions of XAMPP do not enable mod_rewrite by default (though it is compiled in Apache). To enable it β€” and thus enable WordPress to write the .htaccess file needed to create pretty permalinks β€” you must open apache/conf/httpd.conf and uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (i.e., delete the hash/pound sign at the front of the line).
Permalinks, .htaccess, and MS Frontpage
A note about Microsoft Frontpage: many servers (shared and dedicated) maintained and built by various hosting companies come with mod_frontpage compiled with the apache build, and in many cases with the Frontpage Server Extensions installed, on each virtual server. This is more common than not, many/most binary distributions used in the server build process at most hosting companies these days include both mod_fronpage and the server extensions. Even if you’re not using Frontpage, because of the way that the extensions interact with apache (and the httpd.conf file) you’ll likely get something like a 500 error or blank white page when trying to view your WP install (although the admin panel may operate correctly) simply because extensions/mod_frontpage exist on your server.

WordPress will operate correctly with the Frontpage Extensions installed, however permalinks will not function at all and ANY change to the permalinks section from the WordPress admin interface will cause corruption of the Frontpage server extensions due to the addition of the mod_rewrite rules to the .htaccess file. There is however now a fix for this situation.

Quick Fixes, Frontpage or Permalinks
Frontpage Extensions Fix: If you don’t care about permalinks and just want to make the MS Frontpage server extensions work again, simply edit your .htaccess file and remove the WordPress section with the rewrite rules.

To Use Permalinks: If you don’t care about Frontpage(but your hosting company has the extensions installed)

You will need to remove (or have your hosting company do so) the MS Frontpage server extensions, or simply edit the .htaccess file to removed all of the Frontpage Lines, leaving only the WordPress mod_rewrite code.

Using FrontPage AND Permalinks Together
Finally, A solution.

There have been a number of threads on this issue in the support forums, and until now, no solution to the problem.

Normally, on a Unix server with the Microsoft FrontPage Server extensions installed WordPress works just fine and you are able to edit and publish pages (with Microsoft FrontPage) β€” until β€” you make a change to the permalinks (for example to the date based kind that I like /2005/04/etc). I often suggest that type of URI to folks asking about permalinks etc, as that is the method recommended by the w3c (see http://www.w3.org/Provider/Style/URI ).

Now, the problem is that FrontPage uses the .htaccess file (which the WordPress mod_rewrite rules must access) for its “publishing” and “web authoring” configuration. As soon as the WordPress mod_rewrite code is added to the file, two things happen β€” the permalinks don’t work and the Frontpage Server extensions become corrupt.

I have tried countless ways to get around this, including trying to use rewrite rules that “ignore” the %{HTTP_USERAGENT)% used by FrontPage, to using a second AccessFilename .wpaccess to the httpd.conf file, and a host of other things, and nothing worked to allow use of FrontPage and management and use of permalinks in WordPress at the same time.

The solution is actually simple, and I figured it out by accident.

If you are using, or wish to use FrontPage (or if your hosting package is pre-configured that way) along with WordPress, you’ll need to take the following simple steps on your server or have your hosting company do them for you.

Microsoft FrontPage creates the following directory

_vti_bin
Nested within that it creates both
_vti_adm
and
_vti_aut
In addition to in your site (or WordPress) root folder in all of those directories you will find additional .htaccess files.

In all three of these directories AND in the root directory, at the top of ALL of the .htaccess files you simply need to add one line:

Options +FollowSymlinks
There may or may not already be a line in each like

Options None
Edit and save each .htaccess file and you’re done. Now everything works perfectly, including FrontPage, AND the permalinks of your choosing.

Long Permalinks
When using extra long permalinks in email and posting in comments and chats, some long permalinks are “chopped off” or only the first section is actually recognized as a link and the end seen as text. Here is an example.

http://yourdomain.example.com/2005/10/4/article-about-joe-fred-sally-and-bog
Can result in:

http://yourdomain.example.com/2005/10/4/article-about-joe-fred-sally-and-bog
To click on the lower link, the user would get a 404 Page Not Found Error. If you have a tendency to use very long permalink post titles, take these steps to prevent this problem.

1. Check that you are indeed using Permalinks.

2. Edit your .htaccess file and add the following:

RewriteRule ^post/([0-9]+)?/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]
3. Test it. Find a post’s ID number and type the following (with your information) in your browser and you should be redirected to your post:

http://yourdomain.example.com/post/(the ID #)
It is also worth noting that most email software will not cut off URLs that have been delineated with angle-brackets (), so when pasting URLs into emails, you should write them as so:

Read my blog post at
Additionally, some decent email clients offer a “preformat” option when composing plain-text emails. Using the “preformat” option when pasting links will force the email client not to insert linebreaks inside the links.

Fixing Other Issues
If your .htaccess file is being generated correctly, but Permalinks still do not function, the following might be a problem. If problems persist, post a note in the WordPress Forum’s How To section.

AllowOverride Not Enabled
Your server may not have the AllowOverride directive enabled. If the AllowOverride directive is set to None in your Apache httpd.config file, then .htaccess files are completely ignored. In this case, the server will not even attempt to read .htaccess files in the filesystem. When this directive is set to All, then any directive which has the .htaccess Context is allowed in .htaccess files. Example of enabled AllowOverride directive in httpd.config:

Options FollowSymLinks
AllowOverride All

You may also have to enable the AllowOverride directive in your DocumentRoot:

# … other directives…
AllowOverride All

You may also have to change the AllowOverride settings for the site. This is surely the case when using Mac OS X Server, but might be likewise with other systems. Usually you can find the site configuration files in /etc/httpd/sites/
If you don’t want to set AllowOverride to all (as it is above) then your AllowOverride list must include the FileInfo directive. You must restart your Apache server for any httpd.config file changes to take effect. For more information on which overrides are allowed, read about Apache Core Features.
Paged Navigation Doesn’t Work
Sometimes navigation to second (and subsequent) pages of posts does not work as expected. Your page may generate a link to a page with one of these URIs:
http://www.example.com/page/2/
http://www.example.name/category/categoryname/page/2/
http://www.example/year/month/day/page/2/
http://www.example/year/month/page/2/
The result of clicking one of those links is that the page loads with all the surroundings (header, footer, sidebar), but instead of a page of posts, there is an error message: “Sorry, no posts match that criteria.”
This is due to a glitch in the .htaccess file that WordPress generates. To fix it, delete the contents of your .htaccess file and re-create it.
In the Control Panel, go to Manage > Files (More Info on Editing Files)
Click the link to your .htaccess file to edit its contents
Copy the contents of the file and paste it to a text file in a text editor. This is a precaution in case your .htaccess file has manual entries for redirects, denials or other handy htaccess tricks
Delete all contents from your .htaccess file and click the Update File button.
In the Control Panel, go to Options > Permalinks.
Click the Update Permalink Structure button to freshly generate new rewrite rules for your permalinks.
Test the results using a link that had previously broken.
Add any manual htaccess entries back in your file (Place manual htaccess entries before the # BEGIN WordPress or after # END WordPress lines.)
You may also perform similar steps by deleting the .htaccess files from the server, creating a fresh empty .htaccess file, changing its permissions to 666, and then in Options > Permalinks generate a new set of htaccess rules by clicking the Update Permalinks Structure button.
If that still doesn’t work, take a look at the WordPress support forums, specifically, this support post.
Permalinks to pages don’t work
If you’ve tried to navigate to a newly created Page and encounter an error, you likely need to update your Permalink structure. Remember, each time you add a new static Page to WordPress, new rules must be generated and updated to .htaccess (WordPress 1.X) or to the internal rewrites array (WordPress 2.X).
Permalinks to Ultimate Tag Warrior tag pages don’t work
If you get 404 errors on local tag URLs when using the UltimateTagWarrior plugin on WordPress 2.X, it’s because the internal rewrites generated by WordPress are being overly greedy and getting invoked before UTW’s rewrite rules have a chance. This usually occurs only when using a custom permalink structure (like /%postname%/). To fix it, either switch your Permalink structure to “Date and name based” or hack the UTW plugin to place the UTW rewrites at the top of the internal rewrites array. More Info on this.
Permalinks work but no pages are returned
Some versions of PHP 4.4.x and 5.x have a bug that causes mod_rewrite to fail when used with some versions of Apache 2.x. More details at http://bugs.php.net/bug.php?id=35096 and http://bugs.php.net/bug.php?id=35059.
More Help
If these steps do not work, search for your problem in the Codex, Troubleshooting, or in the Support Forum. As a last resort, file a bug report.

Tips and Tricks
If you want to list your site in Google News, one of the requirements is to have at least three digit identifier at the end of every url.

This is easily accomplished using %postname%-%post_id% structure, which will append post ID to the end of URL so it becomes http://mysite.com/cooking-tips-tricks-344.

Having your posts end in .html
There’s an easy way to having your posts end in a .html extension, using the structure tags above. Following the example used on properly terminating permalinks, you could have a page like http://yoursite.com/2006/01/01/happy-newyear.html with this rule:

/%year%/%monthnum%/%day%/%postname%.html
Note that this does not generate static .html files. It only adds the .html extension, pages are still being dynamically generated. The SEO benefit to this is debatable, but it can be useful should you need to migrate away from WordPress, since the pages can easily be made static and retain their URL structure.

WordPress versions prior to 2.3 lacked canonical URLs, making .html something very beneficial to add (forcing the URL to be canonical). Now it only provides limited, if any SEO benefits (see External Resources for further analysis).

Avoiding interpretation as an archive link
Note that even though one might never make more than one posting a day, and thus wishes to use e.g., %year%%monthnum%%day%, links so generated will however be interpreted as the archive of all posts for that day. One needs at least %year%%monthnum%%day%%hour% to target an individual post.

See Also
Linking Posts Pages and Categories for how to link from one article to another
External Resources
Optimize WordPress Permalinks
Beautify your URLs with Permalinks
How to Configure WordPress to Create Search Engine Friendly URLs for Permalinks
The htaccess Rules for all WordPress Permalinks
URL Rewriting Tutorial β€” the whats, hows and wherefores.
Boost Search Engine Optimisation (SEO) using Permalinks
Understanding WordPress Permalinks
WordPress Permalink Canonicalization using htaccess
Customize and Optimize Your Dated WordPress Permalinks
Clean Permalinks for IIS using .htaccess
The Easiest Lighttpd Rewrite Rule
URL rewriting with lighttpd
Permalinks with Lighttpd β€” using mod_magnet; works on 1.4.2+

Posted in Error in Wordpress | Comments Off on How to fix and solver Permalinks Problem using .Htaccess

How to create and add a Tag Page in WordPress.

Posted by Madhurie Singh on September 21, 2009

In trying to find solution for my 404 Link broken Error, I found this good site.

http://wpguy.com/articles/how-to-make-a-tag-cloud-page/

Posted in Webpage Design | Tagged: , , | Comments Off on How to create and add a Tag Page in WordPress.

How to save custom changes in the existing Atahualpa theme for wordpress.

Posted by Madhurie Singh on September 21, 2009

I have four blogs that I plan to host under one domain name ! πŸ™‚

Hehehe I know it’s a tall want.

But I know the benefits of promoting one domain with different sections. I could have gone for categorizing the posts but I can foresee that my each blog is catering to different audiences.

So One thing I want is a different themes for each different blog. That way people will get confused.

There is one thing I have already encountered with customization of themes. When I reinstall wordpress or take a back up the settings have to be either re done manually or if if I am sensible, I make a file while has all the settings.

Initially I was using Andreas 09 theme but unfortunately it’s not designed well and has run time error. So I had to switch back to my favourite theme Atahualpa πŸ™‚

I am in love with this brilliant theme. I can do so many custom changes but 😦 I cannot save these custom changes. That is a drawback which I hope the makers of this theme will get over soon)

One funny thing happened today. I had dark green header. So when I added subscribe by email, I just could not see the words! I was quite fed up. Then I saw an option Over Style and Config. Under it was the first option Body Text Links.
I clicked it and found that by default the link colour is black. So in gark green background it was hardly visible. So what I did was change the link color to #FFFFFF which is white.
Then I went to change the other features. Later while cheching my website I was shocked to find that none of my links were visible. I was wondering now what kind of error was that! Then suddenly I realized that what if the link color had something to do with it. I found the reason for my error links. The links were there, but in while color, hence invisible in white background :).
So I changed back the link color to #999999, steel grey color. My problem solved.

In Atahualpa theme, there is a lot that is ready made but still it allows nearly everything to be customized.

If you notice using the same theme I have now three blogs up as three sites under one domain name :).

I have tried to keep the basic layout same but changed only the color. The color are also that which I have tried to keep as much close to the wordpress blog.
so http://www.madhuriesingh.wordpress.com = www.madhuriesingh.com/superindiankid
http://www.singhmadhuri.wordpress.com = www.madhuriesingh.com/howtobuildsite
http://www.singhmadhurie.wordpress.com = www.madhuriesingh.com/superindianmom

Now I have one home page www.madhuriesingh.com which redirects to different blogs.
That’s the advantage of going for BlueHost , they allow multiple blogs to be hosted under one single domain name.

To bring the Blog Title in the center, there is no provision. But it can still be achieved by pushing the logo to the right.

So Under Style and Edit the Header Area, edit the Logo Inage :Styling to margin: 0 10px 0px 480px;

I prefer soild border instead of Dashed. So where I see Dashed, I change it to Solid.

Also I perfer to have my PAGES displayed below the logo and images. So I have changed the Configure Header area to %logo %image %pages. I have removed unwanted lines and borders.

The rest of the stuff is easy to handle in Atahualpa.

Posted in Webpage Design | Tagged: , , , , , , | Comments Off on How to save custom changes in the existing Atahualpa theme for wordpress.

Code for RSS, Technorati, Digg, Del-ic-ious, subscribe, email for wordpress.

Posted by Madhurie Singh on September 15, 2009

All websites must have at least a single point contact with the site content.

I wanted to add various ways to allow people reading my posts to be in touch with the content and possibly allow them to subscribe to the new posts, comments in general.

I tried a lot but did not fine one single place where I could get all my requirements. Hence this post. πŸ™‚

I am pasting the code for all the means that readers use to get linked to my site.

1. BOOKMARK

Bookmark and Share
<!– AddThis Button END –> <!– AddThis Button BEGIN –> <div><a href=”http://www.addthis.com/bookmark.php?v=250&amp;pub=madhuriesingh&#8221; title=”Bookmark and Share” target=”_blank”><img src=”http://s7.addthis.com/static/btn/lg-bookmark-en.gif&#8221; width=”125″ height=”16″ alt=”Bookmark and Share”></a></div> <!– AddThis Button END –>

2. Technorati

Add to Technorati Favorites

<!– AddThis Button BEGIN –><a href=”http://technorati.com/faves?sub=addfavbtn&amp;add=http://www.madhuriesingh.com”><img src=”http://static.technorati.com/pix/fave/tech-fav-1.png&#8221; alt=”Add to Technorati Favorites” /></a><!– AddThis Button END –>

3. DIGG

Digg!

<!– AddThis Button BEGIN –><a href=”http://digg.com/”&gt; <img src=”http://digg.com/img/badges/100×20-digg-button.gif&#8221; alt=”Digg!” width=”100″ height=”20″ /> </a><!– AddThis Button END –>

4. RSS SETTINGS

for subscribing to posts, comments through RSS select Yes for all options.

Select Yes for Subscription By Email, and type Subscription by Email in title.

Write YOURSITEFEEDBURNERID without any space in the the box for feedburner id.

To get my FeedBurner id. I went to http://www.feedburner.com. Created a google id, login and went to my feeds. Entered the site name for which I wanted a feedburner id. And followed the instructions. There I get my feedburner id.

5. Download Plugin ZIP file for Feedburner Feedsmith from this link

http://www.google.com/support/feedburner/bin/answer.py?answer=78483&topic=13252

And download the zip file to extract FeedBurner_FeedSmith_Plugin.php file
upload it in plugins site and from admin site activate this plugin FeedSmith.

6. Google icon RSS

<a href=”http://fusion.google.com/add?feedurl=http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img style=”border:0;” src=”http://buttons.googlesyndication.com/fusion/add.gif&#8221; alt=”” width=”104″ height=”17″ /></a>

7. MY YAHOO

<a title=”Madhurie Singh . Com” href=”http://add.my.yahoo.com/rss?url=http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img src=”http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif&#8221; alt=”” /></a>

8. NEWSGATOR

Subscribe in NewsGator  Online

<a title=”Madhurie Singh . Com” href=”http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img src=”http://www.newsgator.com/images/ngsub1.gif&#8221; alt=”Subscribe in NewsGator Online” /></a>

9. SEND to PHONE

<a href=”http://www.plusmo.com/add?url=http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img src=”http://plusmo.com/res/graphics/fbplusmo.gif&#8221; alt=”” /></a>

10. Free Dictionary

Add to The Free Dictionary

<a title=”Add to The Free Dictionary” href=”http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img src=”http://img.tfd.com/hp/addToTheFreeDictionary.gif&#8221; border=”0″ alt=”Add to The Free Dictionary” width=”91″ /></a>

11. RSS ICON for SUBSCRIBE BY EMAIL


powered by feedburner

<a rel=”alternate” href=”http://feeds.feedburner.com/YOURSITEFEEDBURNERID”><img src=”http://www.feedburner.com/fb/images/pub/feed-icon32x32.png&#8221; alt=”” /></a> &lt; powered by feedburner

2. Thank Feedburner

I heart FeedBurner

<a href=”http://www.feedburner.com&#8221; target=”_blank”><img src=”http://www.feedburner.com/fb/images/pub/i_heart_fb.gif&#8221; alt=”I heart FeedBurner” /></a>

Posted in Webpage Design | Tagged: , , , , , , , , , , , , , | Comments Off on Code for RSS, Technorati, Digg, Del-ic-ious, subscribe, email for wordpress.

Creating Multiple subdirectories wordpress installation in one single database one domain.

Posted by Madhurie Singh on September 12, 2009

I am gonna try creating multiple wordpress installations as I have three wordpress blogs that I want to publish in one domain.

I initially thought of trying different database for different installations but then I realised I will have lots of back related work in future!

Also I know my target readers will be nearly the same like minded people who are like me and want all that I seem to be writing about.
So keeping all related data in one database makes sense provided I keep different tables for different wordpress installations.

Now I have done it for my four blogs, ofcourse only the database and wordpress installation part till today.:) But that is an achievement.
I encountered 500 internal server error, then 404 page not found and multiple redirection to a url as errors :(. But I managed to solve but the internal sever error. See my next post for the 500 internal server error solution.

So to start with when I have three blogs which I want to install in one domain, I must have a way to redirect people to each one of them seprately, right?
So it makes sense that I create a homepage where I will have all the links to my several other blogs.

So for that homepage also I created a separate wordpress installation. I name it homepage obviously.

Since when ever someone types in my domain url i.e. http://www.madhuriesingh.com, I want it to goto the homepage.

So I create a subdirectory in the root /public_html a subdirectory called “Homepage” and install wordpress in it through the Simple Scripts. All the files are now under one subdirectory call /public_html/Homepage .

Now I make a temporary directory in root directory, and name it “Tempdir”. so I have public_html/Tempdir

Again I select the “Homepage” directory, and copy it into “Tempdir”.

Then I rename this copied directory which has same name as “Homepage” as my new Blog name i.e. “OnlyForKids”

Now I move this subdirectory from “Tempdir” to my root directory /public_html/OnlyForKids

So now under root directory I have three subdirectories

/public_html/HomePage
/public_html/OnlyForKids
/public_html/Tempdir

I delete “Tempdir” .

Now I type http://www.madhuriesingh.com/homepage .

I am taken to the page where wordpress wants me to enter the Blog Name and my email id .

After I enter the details, a login id and password is generated by wordpress. I copy the password and login the admin page of my blog.

The first thing I do is change the password in my profile page to a more memorable password.

I repeat the same procedure for my other blog and type http://www.madhuriesingh.com/OnlyForKids.

Again I get new login and new password for the second blog.
I change the password and I own two different blogs under one domain name but a single database.

Now I need to change the URL such that, even when I type http://www.madhuriesingh.com I am actually redirected to the subdirectory URL http://www.madhuriesingh.com/homepage !:)

So to enable this, I first goto the admin page of my first blog, HomePage.

I select the settings page.

Here I leave the first URL, i.e. WordPress Blog URL as it is to http://www.madhuriesingh.com/homepage
but I change the second line i.e Blog URL as typed by others to http://www.madhuriesingh.com
I save this setting.

Now I go back to the cPanel of my webhost.
Here I locate the index.php file under the subdirectory HomePage.

I COPY (not move) the index.php file from subdirectory HomePage to the root directory /public_html

Now I open the index.php file in any editor.

I goto the line 17 and change the call
require(‘./wp-blog-header.php’); to require(‘./HomePage/wp-blog-header.php’);

I save this index.php file and close it.

Now I type in browser http://www.madhuriesingh.com

I am taken to the url http://www.madhuriesingh.com/HomePage directly ! πŸ™‚

yippppppppyyyyyyy I have done it again !:)

Posted in Website Database | Tagged: , , , , , , | 21 Comments »

Corrupt .htaccess – 500 Internal Server Error wordpress installation !

Posted by Madhurie Singh on September 12, 2009

I was again at the end of my wits, rather even now I am lost ! 😦

I was trying to make my 3 blogs installed in 3 different subdirectories. Since I have created one blog just for the homepage, I obviously want that subdirectory to be accessed by my domain name url, http://www.madhuriesingh.com. The homepage is in a subdirectory, called homepage.

So I tried to redirect the domain to point to my subdirectory calledd homepage, even when the called URL is http://www.madhuriesingh.com !

but when I tried to do a lot of redirects for testing purpose, I suddenly was not able to access the /wp-admin.php. I am getting this weird error, 500 Internal Server Error…..!!!!!!!!!!!

Now I can see from google search that, it’s pretty common problem with Apache Server.

This error occurs when the .htaccess file is corrupted.
Now a sharp experienced eye can make out from the error message what culprit is doing this mischief! But I will have to learn.

Creating and editing (.htaccess)
If you do not already have a .htaccess file, create one. If you have shell or ssh access to the server, a simple touch .htaccess command will create the file. If you are using FTP to transfer files, create a file on your local computer, call it 1.htaccess, upload it to the root of your WordPress folder, and then rename it to .htaccess.

You can edit the .htaccess file by FTP, shell, or (possibly) your host’s control panel.

If your .htaccess file contains errors that bring down your site (“Internal Server Error (500)”), you will need to use FTP or your host’s control panel to delete the rogue .htaccess file.
This para is from Codex site: Very clear:)
Automatically updating .htaccess
If WordPress can’t update your .htaccess file automatically, it will tell you something like If your .htaccess file were writable, we could do this automatically, but it isn’t… near the bottom of the Options β†’ Permalinks panel.

If you want to let WordPress do this, you’ll need to give WordPress write access to the .htaccess file. The exact permissions necessary depend on your server setup. Try adding write permissions for the owner, then group, then world, testing after each change; once WordPress has edited the file successfully, don’t add any further write permissions.

After applying the permalinks, you should change the permissions to something stronger like 660 or 644 to prevent others on the server from potentially having access to it.

Read the next post where I explain how to go step by step and make changes to .Htaccess file.

This site tries to clarify a bit of my query.
http://www.recommendedwebtools.com/index.php/69/htaccess-and-wordpress/

But the best way is to do reading of .htaccess on my webhost help base.
http://helpdesk.bluehost.com/index.php/kb/article/000115

This site gives steps of solution that I will now:
http://www.pupuweb.com/blog/fix-wordpress-internal-server-error/
How To Fix The WordPress Internal Server Error
Here is what you need to do :

Back up your current .htaccess file.
Delete all of the information from your .htaccess file and save it i.e. upload a blank .htaccess file.
Your blog should now be usable again so go into the admin area and set your permalink structure again.
Open your new working .htaccess file in an editor. Now copy over all the non WordPress .htaccecss information from your old backed up .htaccess file eg. any search engine htaccess information, ip blocks etc – basically everything Non-WordPress that you added before.
If you find that adding all the code from the previous .htaccess file is causing an Internal Server Error again then remove it all and enter the information back to the working .htaccess file line by line to see what is causing the problem.

Bear in mind, this might not resolve every Internal Server Error you get though if you suddenly get this error on your WordPress blog, this is the first thing I recommend doing before contacting your host or looking for an alternative solution.

Copyright Β© 2009 Blogging Tips

I saw this site but do not know how to interpret it :(. Looks like I need to read about the .htaccess file thouroghly now.
http://shop.alterlinks.com/htaccess-validator/htaccess-validator.php

http://httpd.apache.org/docs/2.2/howto/htaccess.html

One good way to avoid Internal Server Error is by using blog URL as the site URL which I want everyone to remember. I set this in the settings page.
The wordpress URL remains = http://www.madhuriesingh.com/homepage
The Blog URL changes = http://www.madhuriesingh.com

Then copy the index.php file from the subdirectory /public_html/webpage to root directory /public_html

That will avoid the redirection problem totally. Also it will avoid the usage of .Htaccess file for redirection path, as this .htaccess file will not be referred for redirection at all. This way the corruption of .htaccess file by redirection purpose is avoided :).

There are other reasons for the .htaccess file to get corrupted.
In case I activate a theme which has some kind of bug and internal redirection, the .htaccess file is referred to but, when it does not get the right path written down in the instructions, it assumes and goofs up by writing something garbage as path.

So I have learnt that I must not use any theme that is already not tried and tested and upload it only if it is recommended in wordpress.org site.

There are several free themes site from where I can easily download attractive themes. But since I have already encountered a major error (am I lucky) Internal Server Error, using Andreas09 theme that I downloaded from Andreas Viklund’s site, which is not in the available themes of the wordpress.org. I could see an error in the footer area of the activated Andreas 09 theme on my site.

So the moral of the error called 500 Internal Server Error,
1: when ever there is any redirection be ware, else .htaccess file will get corrupted.

2: when there is a theme to be activated, look for the most used and recommended theme only.

3: when trying to

Posted in Error in Wordpress | Tagged: , , , , | 19 Comments »

How to Install a new Plugin?

Posted by Madhurie Singh on September 11, 2009

I want to add a new plugin to make my website google ad friendly.

I found on my admin page itself this link http://wordpress.org/extend/plugins/adsense-now/installation/

I download the zip file for adsense.
Next I click the Add New Under Plugins (Under APPEARANCE).

Then I upload the adsense . zip file. upload theme zip file

Next I activate the plugin for adsense.
setting of adsense plugin

Now I select top space for Adsense Ads.
settings of adsense space

There , setting of adsense is also done πŸ™‚ in any theme.

Posted in Webpage Design | Tagged: , , , , | Leave a Comment »

How to add new theme to wordpress site?

Posted by Madhurie Singh on September 11, 2009

Today I am gonna add new themes for my wordpress website. As of now, I did not want to word hard on something which takes loads of times, until I was sure of my first site installed correctly.

Now till I install other sites in the same database, I may take a month or so. So I want to give my site a good look, till I finalize on the other sites and rest of the fine tunings.

To add a new theme, log into the admin page of the website. ie http://www.madhuriesingh.com/wp-admin/install-theme.php

or I can go to the admin page and click Add New Theme under APPEARANCE.
click add new theme

I like Andreas as I have using it in my blogs. So I will click and preview it first. I like the preview and will Install it now. I click Install button.
preview and install a theme

I am using Andreas09 for my wordpress blogs, but the available theme in wordpress.org is Andreas01 !
So I google it and download the zip file of Andreas09-16 .zip. Then I click upload button in the Install Theme page.
I select the downloaded zip file for upload.
upload theme zip file
Activate the installed theme

This is how my site looks after activating the theme Andreas 09.
my website after activating the theme

Posted in Webpage Design | Tagged: , , , , | 41 Comments »

Deciding to Install wordpress in a subdirectory/ root on webhost of my website!

Posted by Madhurie Singh on September 8, 2009

I have now installed wordpress more than 50 times πŸ˜› !

And I realize a few very important things in deciding where to install wordpress.

A: WordPress in the Root directory i.e. /public_html

This is a good idea only for those who have intentions to work with only one blog.
If tomorrow, I wish to start a new blog, like this current blog http://www.singhmadhuri.wordpress.com, then I will have problems.
I will then have to either create a separate subdirectory for the second blog2 or I will have to move the blog1 first into a subdirectory and then create a new subdirectory for blog2. Now moving wordpress installation to a subdirectory later at any point is tricky always.

B: WordPress in the subdirectory right from the start under Root directory i.e. /public_html/Blog1

This is an excellent idea. Any fresher must do this to have a clean root directory and have all wordpress installation of blog1 in a subdirectory called blog1.

If tomorrow I wish to install a second wordpress blog2 in the root directory, all I have to do is create a new subdirectory under root called blog2. i.e. /public_html/blog2

Also the problem of my URL with and added subdirectory name is solved by using the facility called “Redirecting WordPress” through CPanel. So people have to type only one url everytime to reach any of my blogs. i.e. http://www.madhuriesingh.com

C: WordPress installed in the root when I have only one blog, blog1. But later on I migrate the blog1 to a subdirectory under root directory called public_html. Now my final path looks like this /public_html/blog1

Posted in Migrating Wordpress Blog | Tagged: , , , , , , , , | 16 Comments »

Migrating wordpress from root to subdirectory on webhost!

Posted by Madhurie Singh on September 7, 2009

Tonight I will make a subdirectory for wordpress files to keep the root directory clean.

My root i.e. /public_html has all wp_ files that were created after SimpleScripts installed wordpress. Then other files were added after I imported wordpress.date.xml file through my wordpress site admin page.

I am creating a subdirectory say ONLY4KIDS where all my wordpress files will be moved.

I go to my CPanel and make a new directory under public_html. I name it as Only4kids.
Then I select all files except index.php and .htaccess files and move them into subdirectory Only4Kids.

move all wordpress files to subdir

The subdirectory is created.
created now subdirectory for wordpress

Now I need to change the link address from http://www.madhuriesingh.com to http://www.madhuriesingh.com/Only4kids throughout my database.

For that I Click phpmyadmin in CPanel. Then I click the database connected with this wordpress. In my case it is madhurie_wrd01.
I then select all the tables preceding with wp_ .
select all tables in original table and export

Then I click EXPORT button on top. An sql file containing all my database details and content is downloaded to my laptop. This file is madhurie_wrd01.SQL
exporting the tables to change wordpress to subdirectory

Now I open this SQL file in an editor and find all http://www.madhuriesingh.com with http://www.madhuriesingh.com/only4kids.
I save this sql file.
change all urls to new url with subdirectory

Before I upload it back to the database, I select all the tables and drop them.
drop all tables and import the file which has updated url

Now I click IMPORT and select the updated SQL file madhurie_wrd01.SQL
import all updated tables in database

So now all places where the reference to http://www.madhuriesingh.com are changed to http://www.madhuriesingh.com/only4kids

Now I need to change the index.php file line 17. The index.php file should be in the root directory where I change this line 17.

I change line 17 ie require(‘./wp-blog-header.php’); to require(‘.only4kids/wp-blog-header.php’);

But I get this error message when I load my site http://www.madhuriesingh.com

Warning: require(.only4kid/wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home8/madhurie/public_html/index.php on line 17

Fatal error: require() [function.require]: Failed opening required ‘.only4kid/wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home8/madhurie/public_html/index.php on line 17

Lemme try to change the path in settings on the wordpress admin page.

OOPS 😦 !!!!
I am getting same error message here too !!!!!!!!!!!!!!!

Ok lemme guess, maybe the path has some minor error.

I will rewrite line 17 of index.php with a front slash before the subdirectory only4kids
require(‘.only4kids/wp-blog-header.php’); to require(‘./only4kids/wp-blog-header.php’);

I save the index.php file and load my site again.

YIPPPPPYYYY it works!

There is my baby .
mysite after migrating to subdirectory

reference
http://sandboxblogger.com/giving-wordpress-its-own-directory/comment-page-1/#comment-1890

Posted in Migrating Wordpress Blog | Tagged: , , , , , , , , | 1 Comment »

How to Backup wordpress database and settings of my website!

Posted by Madhurie Singh on September 6, 2009

Since it’s my lucky day today ie 6/09/09 I will try and do as much possible with my website.

Today I will learn to take back ups of my database from the host CPanel and from the wordpress frontend.

There are a few things that need to be saved or backed up in case there is any breakdown.
a) My Files which contain all scripts and settings. These are all files and directories which were created during WordPress Installation by SimpleScripts and when I Imported the blog XML file through the wordpress admin page.
These are all files found under Public_html in case I have not created any separate directory for wordpress installation. Else it’s the sub-directory under public_html where all wordpress files are placed. So I will save these first.

I go a level above public_html and select this directory. Then I click Compress button to create a ZIP file for the public_html.
It will be saved in root directory. Now I select this public_html.zip and download it to my computer.

create zip of public_html file

The public_html.zip file is created.
zip of public_html file

Simple. I can download it by two methods. First method is the FTP method which is very simple. In the CPanel, I click FTP unlimited. I get two directories. I select the zip file and send it to the folder in to which this zip file will be downloaded. πŸ™‚

ftp download of the zip file

This download process will take minimum 20 min. So remember to make plans for that 20 min.

Another method to download is through CPanel itself. I like CPanel a lot. It’s like working on my laptop with no crazyness of mind boggling technical stuff that some softwares do.
Here too there is a button Download, that I click and it asks which file to download. I write the file name and hit the go button.
Simple. I am done with the downloading of the zip file. Here of course I do not have the choice to select or change the download folder much. I have set my explorer to download file to my desired folder in my desired drive.

Now that the zip file of public_html is saved in my lappy, I will go and delete the zip file from the root directory. πŸ™‚

There I am done.

b) The next important stuff to save or back up is my database with tables of all my posts, comments, settings etc.
I click “phpmyadmin” and select the database which is meant for wordpress that I am interested in backing up.
I can see all the tables. I select all the tables with wp_ extension. Then I click export. I click on save as file option and hit go button.
select all tables in original table and export
exporting the tables to change wordpress to subdirectory

There I have saved my database too in an madhurie_wrd01.SQL file.

c) The third stuff is to export the wordpress from my admin page.
I click TOOLS and click Export. All my wordpress pages, posts, setting, comments, stats everything except the theme related stuff will be saved in wordpress.Date.XML file

Check this post of mine for snap shots on exporting wordpress.
https://singhmadhuri.wordpress.com/2009/09/02/exporting-importing-settings-of-wordpress-for-my-blog-website/

I am safe and hopefully sound πŸ™‚ too with all these backups.
I must remember to do this after every night to be always safe. Protection is better than Termination . LOL

Posted in Website Safety Tools | Tagged: , , , , , | Leave a Comment »

Unable to Create / Upload / Parent Directory not Writable by Server !

Posted by Madhurie Singh on September 6, 2009

I am testing my website before I launch to the world.

I tested earlier by writing a test post, which I could post successfully. πŸ™‚

I want to add an image into a page.

I tried browser uploader but it was too slow. So I tried Flash uploader.
Ok it did start uploading the image, but at the end of the upload it gave me this error 😦
error uploading image parent directory not writable

1. The first thing I am going to check is whether I have the Permission to write in the parent directory or not?

I click the “mysqldatabases” in CPanel. And give all the privileges to the user name that I am using to access the wordpress wp-admin account.
give all privileges to user

Let me check again, if now I can upload image.

Bad Luck ! 😦 Still the same error.

I tried changing the option in Miscellaneous Setting by Unchecking the options create directories of months, but that too did not work :(.

So now I need to know if the database is writable or not. Which means, that there are ways to prevent writing accidentally to the database.

I went to the File Manager through CPanel.

I clicked wp-content directory and changed the permission to 777 from 755.
But still the image cannot be uploaded. 😦

I can feel my brain thickening with frustration.

Lemme shut the laptop and sleep over it. Good Nite πŸ™‚

Ok I am fresh, my lappy is also cleaned, no virus, no dupicates, no garbage. Well I ran an updated AVG to scan and clean system. My poor laptop was struggling to cope up with humungus rubbish! I feel lighter too. Slept at 1:00am, which is early by my standard. πŸ˜› . Hehe

Lemme now start with giving a fresh search on my problem. Wow Google search has given back so much so fast that I am in love with the search engine.

http://andywibbels.com/2006/12/wordpress-error-unable-to-create-directory-wp-contentuploads-is-its-parent-directory-writable-by-the-server/

Let me try this link.

It says all that I have tried already. I have checked for the uploads directory, changed the permissions, changed the path, deleted the month and year directories.

Ok the comments also are with me, lots of people are in the same boat like me. Done everything possible yet not able to get the picture uploaded !
So now what?

Hmm there is a comment which says Bard
Here’s what fixed it for me…
Go into Misc Settings and check the address for the uploads folder. Mine had an extra slash.
It should be “wp-content/uploads/”
NOT “/wp-content/uploads/”
08/07/2008 at 11:57 A

no slash changed the writable error

Let me see, if that is the problem. I change my path from /wp-content/uploads to wp-content/uploads
YIPPYYYYYYY !!!!

IT WORKS !!!!!
πŸ™‚

But wait ! Why am I not able to upload the image to my page!
OH GAWD ! Not again !

Step 1. Create a test page and check if it is visible/ accessible on the site http://www.madhuriesingh.com . Yes it does.
Step 2. Upload a test image and check. Yes it uploads and is visible too.
Step 3. Rename the test page as Movie Review for Kids. And upload the desired picture. Yes all of these works πŸ™‚

Step 4. Thank the Saviour whose comment helped me .
DONE , Since it’s my lucky day , lemme try and do as much work possible wrt wordpress and my website !

Posted in Error in Wordpress | Tagged: , , , , , , , | 16 Comments »

How to change links within wordpress posts after migrating!

Posted by Madhurie Singh on September 4, 2009

Now that I got my site up.

I will check for a few things to make sure the pages and content are correct.

I click on the page Indian Mom’s Reviews4Kids.

I see everything fine. In the last paragraph, I see a few links to other pages.
My site page with correct site name and link name

I click on School Reviews.
The page which opens is not in my site http://www.madhuriesingh.com, but it opens the page in http://www.madhuriesingh.wordpress.com !!! 😦

My links within posts directs  to wordpress blog

Obviously the links do not update when the wordpress is migrated !

I have to change all the links myself.
SO I click phpmyadmin and click the table that is for this website.
click myphp to goto tables

Now I click the table meant for this website. madhurie_wrd01
Click the table for which the links have to change

Now I select wp_posts in the table madhurie_wrd01.
Then I click export button. And save the sql file.

export the wp_posts to edit the links

Now I open the wp_posts table in any editor, find and replace all http://www.madhuriesingh.wordpress.com to http://www.madhuriesingh.com
Save the file.

find and replace all links

Now I go back to myphp and drop the wp_posts table.
drop wp_posts table to import updated file

Now I will import this updated wp_posts.sql file back into the tables lists.
import back changed wp_posts file

There I am done with my changing of all the links that were pointing to the wordpress blog back to my site posts. πŸ™‚

Now lemme test the links again.

I click on the School Reviews link in the page Indian Mom’s Reviews4kids of my site http://www.madhuriesingh.com

Yippy! I am taken to the correct page School Reviews within my site. πŸ™‚
my links corrected page

Posted in Migrating Wordpress Blog | Tagged: , , , , , , , , , , | Leave a Comment »

How to Un Install Worpress, using CPanel !

Posted by Madhurie Singh on September 3, 2009

Doing something new is very interesting. But it’s very important to learn to undo something more efficiently. Then it become easy to try out new stuff with less damage. So when I have a back up plan ready,( in case my plan fails,) I am not lost. πŸ™‚

When trying to install wordpress in different ways, in different directories, while learning how to back up, how to retrieve etc. it’s less dangerous since I know that I can at anytime UN Install wordpress and start fresh. By now I must have un installed the wordpress script at least 10 times. :p

The simplest way to un install wordpress is through CPanel. Go to CPanel. GO to SimpleScripts. When I click SimpleScripts, I see a window where there is a link that says, WordPress is installed already. I click the uninstall link under it.

uninstall wordpress

I am taken to another page, where I am asked if I am sure I want to permanently delete the wordpress. I click Yes. I am done with the uninstall of wordpress.:)
final unistall window wordpress

Now I goto the Database through mysql database. I click that and see if all database created by the last install is deleted.

Then I go to File under CPanel. I click FileManager and go to my root directory /public_html . There should be no files with wp_ nor any license or readme files.

Now when I type my site url http://www.madhuriesingh.com, I get an error page from the server.

Posted in Website Host | Tagged: , , , , , , | Leave a Comment »

Exporting, Importing, Settings of WordPress for My BLOG Website!

Posted by Madhurie Singh on September 2, 2009

Once the installation by SimpleScripts of WordPress is complete, I received a mail and a pop up page confirming the site URL and the site administration path. The email sent by SimpleScripts also mentions the password of the database.

This is the Page on successful installation of wordpress.

Page on successful Worpress installation

When I clicked on the URL HTTP://WWW.MadhurieSingh.Com , I was taken to my own site! WOW what feeling! This is what I saw:
MY Blog Page

Earlier I had done some mistake in naming the database. So when I clicked my URL, I was taken to this Default.HTML page!
first look of my site

It’s got My site name and a few ads, that’s all!

Since I am still learning, I glad I did this mistake. I know now that to install wordpress the best way is to let all default settings run initially. Later all these details can be changed.
So I again go back to the SimpleScripts. The page shows my earlier WordPress installation script. I click Uninstall to remove the last installation of database and other details.

When I had tried to access http://www.madhuriesingh.com/wp_admin, it had shown my this page.
Error while accessing the wordpress wp_admin1

Whenever I get this kind of erroneous page, I have the liberty to delete the wordpress script that I had installed last. And start a fresh Install on WordPress.

But this privilege is exercised only because I have not yet announced my website to the world. I am in my testing stage which is the most crucial step. I am in mood to hurry up. I may take 2 more months before I am confident to launch the website http://www.madhuriesingh.com to the world.

Now I have to export the wordpress files from my http://www.madhuriesingh.wordpress.com to my computer.
SO I go to the wordpress blog. Click Export under TOOLS.
exporting wordpress blog

An xml file will be downloaded and saved in my computer. wordpress.date.XML

Now come back to my site admin page http://www.madhuriesingh.com/wp-admin page.
Here I Click IMPORT under TOOLS.
Click Import under Tools in WordPress Admin page

I am again taken to the page where I have to click WordPress that is found in the last row.
I click WordPress

I select the xml file which was downloaded as wordpressXXX.xml .

Click wordpress after Import button is clicked

When I click Import button in Tools of wordpress
The uploading of all posts, images etc begin one by one.
while importing wordpress xml file from my computer
And there I am, DONE with my wordpress IMPORT! πŸ™‚

Now when I go back to my site http://www.madhuriesingh.com

I can see the posts written by me with pictures and pages.
my site after wordpress is imported

The Site Title is still “MY BLOG” 😦

So now I have to change the Settings so that my site looks more personalized.

I click GENERAL SETTINGS and change the BLOG TITLE to “MADHURIE SINGH.COM”

Change the Tag line that always follows the BLOG TITLE to “All about Kids, product review….”

Change other settings, time zone, date and time format etc.
settings page of wordpress site

I save the settings and click the WRITING SETTINGS, be enabling everything.
I leave the mail setting untouched and save the setting.
writing settings for wordpress site

Next I change the READING SETTINGS.
Here there one very important setting to be done in order to have a static homepage, instead of the recent posts that appears in the home page.

I first create a new page with title “Indian Mom’s Review’s for Kids” and add content that I want to appear on my homepage always. I assign this page as Front Page under STATIC Page.
Then I create another page called “RECENT POSTS” and assign it for Posts Page. This page “Recent Page” now will show all my recent posts, instead of the Home page.
How to make a static home page in wordpress

I save these settings.

And click Discussion Settings. Here I make sure the comments are nested and needs moderation.
discussion setting for wordpress site

I click save button.

I leave the MEDIA and PRIVACY settings as it is.

Now I click an important setting called PERMALINKS.
This setting allows how the posts will be indexed and appear in the search. It’s important that I change it to
Day and name http://www.madhuriesingh.com/2009/09/02/sample-post/

This way the search engines will be easily searching the file headings instead of some numbers.

Permanent setting of the posts in wordpress site
I save the settings.

The last setting I have to make is under MISCELLANEOUS settings.
This has the path name where all files will be uploaded into my server directory.
Default is wp-content/uploads and I should not touch it unless I am changing my subdirectories.
Then in order to organize the Uploads into months and year folders with time track, I click the other two options too.
Miscellaneous setting of wordpress site

I save the last settings.
Now this is how my Site looks. πŸ™‚
My site after settings changed

Mission Completed πŸ™‚

In the next post I will be try to install the wordpress into a sub directory by shifting all the wordpress files from root directory i.e /public_html to sub directory say /public_html/only4kid

Posted in Migrating Wordpress Blog | Tagged: , , , , , , | 16 Comments »

Is it better to install WordPress in Root or Sub Directory?

Posted by Madhurie Singh on September 1, 2009

I am a bit confused on whether to install wordpress in the root directory or in a subdirectory under root?

http://www.techcounter.com/wordpress/install-wordpress-files-to-a-subdirectory-but-run-your-blog-off-the-root-directory/
This is an excellent site that solved my dilemma and confusion.

I really want to install my wordpress in a subdirectory, simply because, I have future plans to install more blogs under the same root directory of my domain. But if I install in wordpress in the root directory http://www.madhuriesingh.com, I will have a clutter of several directories and I am sure I will mess my web life worse than a fly caught in the spider’s web.
SO I am gonna create a separate sub directory for my wordpress installation under Root directory. I will call this say “only4kid”. Now this will have path name as http://www.madhuriesingh.com/only4kids/

Now if I go by the normal rule, anyone who wants to goto my website has to type “www.madhuriesingh.com/only4kid ! Naah! This is bad. Why will anyone want to remember or type so many words to reach my site. Unless it’s popped up by the search engines!

I want people to remember only one thing, and that is my name, which is my site name.

So the solution is to go change the path address for accessing the data and
to change the path address that readers will be typing to access the data in my site.
Confused?

Ok let me simplify this.

I live in a house, where my hubby and my two kids also live. We have a separate room to each of us. But when we give our address to anyone, we give the address of our flat. We do not mention which room πŸ™‚
But when they reach our home, we direct them to the exact room they should go, to meet the right person!

So even if I give my site address as http://www.madhuriesingh.com, I will have to direct my readers to the path address http://www.madhuriesingh.com/only4kid/ πŸ™‚

Now let’s see, how this is possible in WordPress.

Say I have already created a database called Only4Kid in the Root directory /root of my domain on the server provided by BlueHost, while running SimpleScripts for wordpress.
I log into my website, http://www.madhuriesingh.com/Only4Kid. Then I log into the admin page of my site.
I reach http://www.madhuriesingh.com/only4Kid/wp-admin/ .
Goto Settings > General
Make WordPress Address as http://www.madhuriesingh.com/Only4Kid
Blog Address as http://www.madhuriesingh.com
wordpress installed in subdirectory

Now I will save these settings.
I saw my site and got scared! 😦 It’s showing big error message. But that’s ok, it’s suppose to show error, since the site is pointing to wrong path. :p

SO I need to set the path of the wordpress database right, before any other step.
At any point of time, when I have goofed up royally knowingly, all I do is go back to my SimpleScripts and install wordpress database again. But before that I make sure to delete the database and directories created by the last installation. An advice to all new comers. Always keep snapshots of all the your work step by step.
The exact steps to change and move the wordpress from root to subdirectory will be posted in another post.
At this point of time, there are some other basic things that I need to experiment and set up.

A few sites that googled as a result of my search to move wordpress, to sub directory.
http://educhalk.org/blog/?tag=change-url This is the best and I am gonna follow this site.

http://mu.wordpress.org/forums/topic/9542
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
http://www.corvidworks.com/articles/giving-wordpress-its-own-directory
http://samdevol.com/wordpress-troubleshooting-finished-installation-and-it-doesnt-work/
http://www.dailyblogtips.com/always-install-wordpress-on-the-root-directory/
http://www.bizquarium.com/install-wordpress-subdirectory
http://techblog.touchbasic.com/html/single-unified-login-for-multiple-wordpress-2-8-installs-in-subdirectories-using-cookies/
http://blogging.seocompany.ca/wordpress/how-to-setup-a-blog-using-wordpress/

http://www.searchforblogging.com/

Posted in Migrating Wordpress Blog | Tagged: , , , , , , | 5 Comments »

How to add a pop up!

Posted by Madhurie Singh on September 1, 2009

I am keen to get the traffic to my site converted into dedicated readership. One good way to do this by making the readers subscribe to the posts through email. Also that ensures a niche databank.

I do have other ways already incorporated in my blog, but I am not sure how many are actually following my blog. One sure way to have hard data generated to keep track of the traffic is by getting people to register via subscription form. I am not too keen on making people share all their demographic details, but I would love to get them registered. SO a pop up is a great idea to get them to sign up, with just their name and email address. I know how I detest pop ups that ask for more than email addresses. Also if a pop up pops more than two times, I close that site once and for all!

So I am first gonna try this feature for free.
A good site that I stumbled upon is http://www.maxblogpress.com/plugins/mup/
http://www.maxblogpress.com/plugins/mofa/
http://www.slipfire.com/creating-a-lightbox-subscription-form-in-wordpress-39.htm

Now I can see they offer this free stuff only for 10 days. SO I will not use this as of now. I would prefer to make use of it later when I am launching my site. πŸ™‚

Well, that means I still have look for this usable free feature.
I am aware of http://www.sapha.com which is free with Bluehost package. This site offers excellent contact form which can be added anywhere in the site. I will come back to this site, later when I am actually incorporating the contact form.
But what I am interested is in a pop up, for any purpose.
Some of the sites I copied from the google search result which will be reviewed by me later on are :
http://roshanbh.com.np/ ( I really liked this site, seems very professional and knowledgeable)
http://granades.com/simple-popup-images/
http://www.profitblogger.com/wordpress-pop-up-plugin-for-explosive-marketing/
http://maketecheasier.com/wordpress-plugins/wordpress-popup-scheduler
http://blogtactics.com/how-to-add-a-newsletter-optin-subscription-form-to-your-wordpress-blog/

Posted in Website Widgets Plugins | Tagged: , , , , , , , , | Leave a Comment »