DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP (http://www.daniweb.com/forums/forum62.html)
-   -   blabla.com/content/blabla/ (http://www.daniweb.com/forums/thread201536.html)

kcomeby Jul 3rd, 2009 3:51 pm
blabla.com/content/blabla/
 
Hi i wanna make web site as you may guess and i wanna make navigation url like : "cnn.com/content/blablanews/" i read few articles and there is a method like "redirect from 404 page" method. i wanna read more articles about that but i cant find that methods name. So i cant googling. Maybe you can tell me at least name of the method. And if cnn's method is diffrent please let me know.Thanks and sorry for english.

codejoust Jul 4th, 2009 1:53 pm
Re: blabla.com/content/blabla/
 
The best way to do that is either to use htaccess (apache) server rewrites, or to use a CMS with that capability.
If you have a bunch of .html files, it might be a good idea to put them in folders and just keep it that way, because people won't be bothered by the change of URLs.
If you want to have a custom 404 page, use the htaccess to use a custom 404 document (Custom 404 Pages)


All times are GMT -4. The time now is 8:07 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC