You are here: MOD Re-Write « PHP Programming Language « IT news, forums, messages
MOD Re-Write

Posted by Aggelos on 02/15/07 10:29

I saw the post from Dr. NO and I wanted to ask something different on
Mod re-write
If we have
index.php?contentId=10&module=2&category=1
or in another instance we have just
index.php?contentId=1&module=1

How can I rewrite that to display
index.php/cats/felix?module=2 (if I have no regex for module)
or
index.php/homepage?module=1 (if I have no regex for module)

What I cannot figure out is how to get in the.htaccess file, where my
mod rewrite rule is, the content title or category title or even the
module title... which are in MySQL DB.

Does that make any sense ?
That's requires especially when some people come and say they want to
convert their huge static website into CMS driven but obviously don't
want to loose search engine caching. And other reasons...

Ideas ?
Thanks

 

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

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