i have a website that allows people to get the manual online. i have a new version of the manual where everything is generated dynamically using php and mysql. so no more html generated.
i have the manual in french and english now. i learn that for search engine purposes it will be good if i have url that are friendly with gogole and yahoo etc...
now here's my problem:
i want to show the url like this:
- /manual/ that will go to the main manual page where the user choose a lang
- /manual/fr/ this will display the list of all available chapters
- /manual/fr/1.0 this will display the chapter 1
i got the idea where i need to use something like :
rewriterule /manual/(.*)/(.*)/(.*)/ index.php?lang=$1& ...
can i do this using 1 rule? or i need multiples?
thanks so much