homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

change multiple extensions

 10:30 pm on Mar 12, 2011 (gmt 0)

I have a website I am adding alot of pages too. The pages I am adding have the extension .htm and I need them to be html. IS there a program that can do a mass change on file extensions?



 10:53 pm on Mar 12, 2011 (gmt 0)

At the command line in Windows you can rename them all at once:

rename *.htm *.html

or in Linux at the command line:

mv *.htm *.html


 4:03 pm on Mar 15, 2011 (gmt 0)

Be sure to add a rewrite rule to avoid losing any indexed links.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved