Jump to content

dynamic URLs


jk111

Recommended Posts

i know how to use modrewrite to make dynamic URLs search engine friendly, i think i do anyway, but........

 

rewritted it changes to: /articleid/13/category/category-name

 

how do you do it so it just says: /category-name/article-name

 

im using index.php?articleid=X&category=Y

and then saying $_GET[articleid] to tell the page which article is being asked 4. (as well as getting the category)

 

how do i pass this info without including 'articleid' or 'category' in the url?

for example:

http://www.webcredible.co.uk/user-friendly-resources/search-engine-optimisation/link-building.shtml

that url passes categories without having category/user-friendly-resources/subcategory/search-engine-optimisation etc

 

 

thanks a lot in advance guys

Link to comment
https://forums.phpfreaks.com/topic/69886-dynamic-urls/
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.