Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Bidding Directory   High Bandwidth Dedicated Servers   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-16-2008, 12:41 AM   #1 (permalink)
Contributing Member
 
DaHLiA's Avatar
 
Join Date: 10-25-06
Location: India
Posts: 125
iTrader: 1 / 100%
DaHLiA is liked by many
Send a message via Yahoo to DaHLiA
How to create sitemap for wordpress blog?

I tried Google XML Sitemap generator plug-in but it keeps giving me the error:

There was a problem while notifying Google. View result
There was a problem while notifying MSN.com. View result
There was a problem while notifying Ask.com. View result


When clicked on the view result link, it takes me to my blog's 404 page not found page!

So, i tried this another approach which I found via google.

1. Installed and activated RunPHP plug-in. Set the permission for Admin
2. Created a new Page via Wordpress admin panel and entered the below code

PHP Code:
<?php
global $wpdb;

$allposts $wpdb->get_results(”SELECT FROM wp_posts WHERE post_type=’post’ AND post_status=’publish’ ORDER BY post_date DESC”);

foreach(
$allposts as $ap) {
$perma get_permalink($ap->ID);
print 
<a href=” $perma >” $ap->post_title </a><br/>;
}

?>
Now my page's content area is blank.

Any idea how can I resolve this?
Thanks!
__________________
Cheers,
DaHLiA
___________________________________
My Virtual Shelter
“Knowing is not enough; we must apply. Willing is not enough; we must do.”

Last edited by DaHLiA : 04-16-2008 at 12:53 AM.
DaHLiA is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-16-2008, 01:27 AM   #2 (permalink)
Contributing Member
 
Locomotive's Avatar
 
Join Date: 12-05-06
Posts: 140
iTrader: 0 / 0%
Latest Blog:
None

Locomotive is liked by many
DaHLiA, it is quite difficult to understand. Have you tried to ask the same on the WP support forums? It seems that you are trying to edit wrong file.
BTW what sitemap are you trying to install? Google or ordinary one?
Locomotive is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-16-2008, 01:46 AM   #3 (permalink)
Contributing Member
 
DaHLiA's Avatar
 
Join Date: 10-25-06
Location: India
Posts: 125
iTrader: 1 / 100%
DaHLiA is liked by many
Send a message via Yahoo to DaHLiA
Nope Locomotive, have not yet asked the WP Support forum. I shall do that.
I want to generate a Google Sitemap that is why I used that plug-in but that was not working for me. So in the meantime, I wanted to create a simple sitemap and that is why I tried that second method which I mentioned above. Now neither that works.

Can anyone help me with generating a simple sitemap for my blog if you have no idea with that plug-in issue, please?
__________________
Cheers,
DaHLiA
___________________________________
My Virtual Shelter
“Knowing is not enough; we must apply. Willing is not enough; we must do.”
DaHLiA is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-18-2008, 10:55 AM   #4 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,029
iTrader: 0 / 0%
Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
This may be a stupid question, but did you register an account on Google, Live and Yahoo!?
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is online now  
Add Post to del.icio.us
Reply With Quote
Old 04-18-2008, 11:07 AM   #5 (permalink)
Contributing Member
 
DaHLiA's Avatar
 
Join Date: 10-25-06
Location: India
Posts: 125
iTrader: 1 / 100%
DaHLiA is liked by many
Send a message via Yahoo to DaHLiA
Are you referring to the Gmail, MSN and Y!Mail accounts Izzmo? Yup, I have.

Meanwhile I raised this query with WP Support forum. One of the moderators there advised me that this could be a problem with my host which probably is not allowing outgoing links. I don't understand what he exactly meant tho. I have again raised a query there
__________________
Cheers,
DaHLiA
___________________________________
My Virtual Shelter
“Knowing is not enough; we must apply. Willing is not enough; we must do.”
DaHLiA is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-24-2008, 07:32 AM   #6 (permalink)
Contributing Member
 
teampower's Avatar
 
Join Date: 06-08-07
Location: Hire-Maid
Posts: 75
iTrader: 0 / 0%
Latest Blog:
SEO What To Avoid !

teampower is liked by many
Send a message via AIM to teampower Send a message via MSN to teampower Send a message via Yahoo to teampower
why dont just use wp sitemap pluggin
teampower is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How create a sidebar on my blogger blog?? rony888 Blogging Forum 2 12-19-2006 01:43 AM
Looking for a dynamic xml sitemap generator (sitemap.xml) for Google Sitemap beta2 Luca L. Google Forum 0 07-30-2006 05:17 AM
Blog software to create subdomain on website agent14 Blogging Forum 2 07-07-2006 10:10 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:01 PM.
© Copyright 2008 V7 Inc