Jump to content

Rewrite Rule and SEO


demon_athens

Recommended Posts

Hi there, I have tried to find how mod rewrite works and I actually found some easy to follow tutorials like this -> http://www.tutorio.com/tutorial/search-engine-friendly-urls-with-mod-rewrite

 

Problem is that I would like to have this url

 

-> mydomain.com/id=11&lang=en&apid=23&artid=24 

 

converted to this one

 

-> mydomain.com/science/articles/en/index.php?artid=24 

 

So here we have id=11 -> "science", apid=23 ->"articles", lang=en -> "en"

 

So my problem is that the url rewrite is not "static", its depending from the values of id, apid e.t.c. Is it possible to do all this with .htaccess. ?

Link to comment
https://forums.phpfreaks.com/topic/84268-rewrite-rule-and-seo/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.