Google Sitemap Generator converted uppercase letters in links to lower case
Is it possible to generate the site map that maintains the uppercase letters of the url's?
Answer:
Edit the following file: GoogleSitemap.htm
For Dreamweaver 8, it is situated into the following folder:
C:\Documents and Settings\<username>\Application Data\Macromedia\Dreamweaver 8\Configuration\commands
NOTE: Do not forget to replace <username> with the username of your computer.
Open the file and modify the following lines:
Replace: this.url = url.toLowerCase(); with: this.url = url;
Replace: var searchedUrl = url.toLowerCase(); with: var searchedUrl = url;
Replace: theLocalLink = docLinks[li].toLowerCase(); with: theLocalLink = docLinks[li];
Save the file and restart you Dreamweaver. This modification should make your links to be generated as they are in your code.
NOTE: You can use this workaround at your own risk. DMXzone does not warranty or support of any kind for this workaround.
Comments
I have the same problem, have upper case pages
Uppercase to Lowercase conversion
I cannot implement Georgi's fix for the Sitemap Generator changing uppercase characters to lowercase characters because the file that Georgi says to edit, GoogleSitemap.htm, does not exist on my hard disk. The only file available is GoogleSitemap102.mxp.
Lennart Holmquist
RE: I have the same problem, have upper case pages
Hi all,
Note that Dreamweaver CS3 have different installation path from Dreamweaver 8. For more information check the following link: http://www.dmxzone.com/ShowDetail.asp?NewsId=14638
Also, have in mind that this solution may not work for the last update of the extension.
For more information about the extension please contact DMXzone.com support team.
Best regards,
Georgi Kralev
You must me logged in to write a comment.