You are here: SMARTY templates - is there an easy way to hit all output with a regex to change the URLs « PHP Programming Language « IT news, forums, messages
SMARTY templates - is there an easy way to hit all output with a regex to change the URLs

Posted by lkrubner on 11/02/05 16:17

My boss gave me this assignment:

"Change all the URLs on our website so that they no longer look like
dynamic URLs. Make them look like folders."

I spent all yesterday studying Apache mod_rewrite so now I think a url
like this:

http://www.mydomain.com/category/50/

gets internally, invisibly changed to

http://www.mydomain.com/index.php?category=50

so that our PHP scripts still see a pass parameter called "category"
that in this case would have a value of 50.

But how do I redo all the URLs that are there on our webpages? The site
is done in Smarty. Does anyone know the easiest place to change output
in Smarty? I don't know much about it.

If there is a better forum on the web for discussing issues related to
Smarty, I'd be grateful if someone could point me to them.

tia,

lawrence

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация