.htaccess file

The .htaccess file is to redirect access to other URLs and to install error handlers.
You find here a description with some examples

Your websites grows and sometimes You want to reorganise the structure. For example I had a file MY_SITE/pege/fuel.htm with the fuel statistic and MY_SITE/pege/nomad.htm with my motorhome project.

Later I put also the fuel statistic of my old car into the internet as http://pege.org/pege/fuel1.htm

And later, I felt the wish to reorganise this old directory structure. But all search engines know the position of my old files and nobody knows the new position.

This is the reason to create a file named .htaccess in the root directory. Please type the name like it is here with the point in front.

    RedirectPermanent /pege/fuel.htm http://www.pege.orgfuel/jumper1.htm
    RedirectPermanent /pege/fuel1.htm http://www.pege.org/fuel/renault.htm
    RedirectPermanent /pege/nomad.htm http://www.pege.org/nomad/index.htm
    errordocument 404 /404.htm

Yes, I put this 2 files in an own directory named fuel.
Yes, if somebody searches a not existing file, he will see the document 404.htm.

Similar in Dictionary

 Dictionary 
 1000 W /m² 
 Aircontion 
 Bodyheat 
 Chevalier 
 CO2 problem 
 Compressor 
 Grey energy 
 Inverter 
 Joint Venture 
 Logarithmical 
 MLM       Money 
 Peak (Photovoltaic) 
 Photovoltaic 
 Raytracer 
 SitCom 
 Solar Architecture 
 Survive 
 UV-C Ultra Violet Light-C 
 Wm²K       WmK 
 PEGE  Editorial  Origin 
 Innovations  Photovoltaic 


 1991  2  3  4  6  7  8  9 
 2000  1  3  4  5  6  7  8 


 News RSS feeds 

News RSS feed
cars and traffic
electric cars
plug-in hybrid cars
and future mobility Car + traffic 
News RSS feed
Building and live
solar houses and
renewable energy
photovoltaic Energy + building + live 
News RSS feed
Notebooks + Laptops Notebook + Laptop 
News RSS feed
Politics and economy Politics + economy 
News RSS feed
Roland Mösl Roland Mösl 

 Newsletter archive