Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-17-2009, 06:30 PM   #1
Beta Member
 
Join Date: Apr 2009
Posts: 4
Default Help with XML Site Map

I keep on getting an error. I'm not too familiar with xml so I don't know what it means.

http://www.vladicious.com/sitemap.xml

Can anyone help me?
__________________

awesomeiam is offline   Reply With Quote
Old 04-18-2009, 02:49 AM   #2
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: Help with XML Site Map

Xml does not allow most special characters (such as &,;,%,etc...).

To use these in your markup, (although I would avoid putting querystrings in a sitemap file. Try using mod_rewrite if you are running apache, or http://www.isapirewrite.com/ if you're running windows) These will rewrite your urls into "my-page-name/" instead of "page.php?i=1&p=2".

Anyway, back to the markup.

For & symbols, use & wherever you need an amphersand and you should be fine. I would also kill any semi-colons you have in there just to be safe.

Here is a link to other codes for special characters:
http://www.learn-html-tutorial.com/Images/Entities.gif

Hope this helps.
__________________

__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Old 04-18-2009, 12:35 PM   #3
Beta Member
 
Join Date: Apr 2009
Posts: 4
Default Re: Help with XML Site Map

Thanks man! It helps a lot!

But I have a hosted website. How can I get mod_rewrite to work on a hosts server?
awesomeiam is offline   Reply With Quote
Old 04-20-2009, 09:02 AM   #4
In Runtime
 
Daeva's Avatar
 
Join Date: Dec 2005
Posts: 407
Send a message via AIM to Daeva Send a message via MSN to Daeva Send a message via Yahoo to Daeva
Default Re: Help with XML Site Map

in your control panel (wherever it may be) for your hosting, you should have an option somewhere for re-write urls or something like that. If you don't, contact their technical support and ask them about the ability to re-write urls for search engine optimization.
__________________
**Official Self-proclaimed glorified excessive (insert additional adjectives here) post editor/modifier.
Edit = Best feature ever
http://www.twitter.com/xDaevax
Daeva is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT -5. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0