Welcome Guest, Not a member yet? Register   Sign In
URL handling dealbreaker
#11

[eluser]Raul81[/eluser]
Hi!
I'm working in something like that. I'm building a Search Engine jobs website, which means that I have to retrieve info from my db and post it on the website.
Before this project I worked on a trips website rewriting the URLS to be SEO worth crawlered and the htacces was like this :

RewriteRule ^(.+)/(.+)/(.+)/(.+)-r([0-9]*)\.html$ detail.php?country=$1&id;=$5 [L]

I just needed to call the php file to treat the url...

and the URL are like this :

http://goedkoopopvakantie.in/frankrijk/d...r5539.html

http://goedkoopopvakantie.in/frankrijk-F...illon.html


Now I want to do the same for the new website :

http://niuewbaan.goedkoopopvakantie.in/g...page1.html

htacces like this :

RewriteRule ^(.+)/(.+)-1-page([0-9]*)\.html$ job.php?region=$1&job;=$2&page;=$3 [L]

this way I know it, create the links, htacces and its done but I don't know how to do it in CI. The thing is :

- do I have to modify routing file? if so what does the htacces file contain?
- do I have to modify both files??

I hope that is clear what I'm asking you guys.

Thnx




Theme © iAndrew 2016 - Forum software by © MyBB