Tom_Cash - 9:38 am on Mar 9, 2011 (gmt 0)
This is the old re-write code:
RewriteRule ^equipment/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)$ equipment.php?equipment_id=$1&em=$2&ec=$3&mn=$4&mna=$5 [NC]
This is my new code that sits in the equipment folder.
RewriteRule ^/?([a-zA-Z0-9_-]+)/([0-9]+)$ index.php?name=$1&id=$2 [L]
The old structure is already in place and working.
The new structure has been tested and works.
I want to clean up the old ones and use the new structure at the same time.
The only part of the URL that does anything is the equipment ID. That's a 3-6 numeric figure. In the new structure, it's the one on the end and gets all the equipment ID from the DB.
"...or are they just added for searchengines but the text is not verified internally within the site?"
Correct! :D The "name" in the new structure is irrelevant to the functionality but required for SEO.
Hope this helps - I really want to get to the bottom of this.
I really appreciate your help so far buddy.