-1

I'm trying to learn how to rewrite URL's within htaccess files. If anyone can give me some good links that would be brilliant.

I'm trying to aim to rewrite this: http://www.domainname.co.uk/news/newsSingle.php?ID=9

to this: http://www.domainname.co.uk/news/category-name/post-name.php

I have the category-name & post-name within the database for each matching ID. Any help would be great thanks!

1 Answers1

2

you can take a look at

  1. 9lessons.info
  2. Media Temple
  3. Stack Overflow .htaccess

Hope these help you find the answer.

Community
  • 1
  • 1
masmrdrr
  • 559
  • 3
  • 14