Redirect with mod_rewrite for subdomains

Reply

Join Date: Jul 2008
Posts: 1
Reputation: Alfons is an unknown quantity at this point 
Solved Threads: 0
Alfons Alfons is offline Offline
Newbie Poster

Redirect with mod_rewrite for subdomains

 
0
  #1
Jul 19th, 2008
I just startetd to change my old .htm pages to xhtml, which will also change the extension to .html. As external links can no longer find the website, I wanted to create a permanent redirect for each page from www.example/site.htm to www.example/site.html in a .htaccess file.
Obviously this is not working for subdomains and my hosting company told me to use mod_rewrite code and upload it as a .htaccess file. I have no idea how to do this and the information about mod_rewrite in the available websites is not understandable for me. Anyone who can help me in this matter? Thanks. Alfons
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Linux Servers and Apache Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC