• Welcome to Sitemap Generator Forum.
 

Re:everlasting urls

Started by d.bybordi, February 11, 2006, 12:05:32 PM

Previous topic - Next topic

d.bybordi

Hey, about the problem with pages being created that never end such as /content/content that doesnt exist/etc/etc
i found the culprits, they are handsets that have slashes in the name....such as Fisio 310/311/312 which is transfering into the url. Could you give me some tips on how to avoid this please? I tried stripslash but then it didn't match the mysql database name and wouldnt find it :( Please help.
Example [ External links are visible to forum administrators only ]

XML-Sitemaps Support

Hi,

you should urlencode your URL to convert special characters to %xx form. For instance, "/" should be replaced with "%2F" in the URL.

d.bybordi

Finally...i spent 3 hours trying to fix this with urlencode, it didnt work with just urlencode i have to do a str_replace too urlencode (str_replace("/","%2F",$name));

Ok all working now, thanks for great sitemap hehe