SystemLord
May 15th, 2008, 05:52 PM
Alright here is the problem; i want to display all my URL's in static form instead of dynamic form, so that search engines will index them.
I am trying to do this using .htaccess, my rewriteRule is below in code box:
RewriteRule ^cylinder_head-([^-]+)-([^-]+)-liter-([^-]+)-valve-([^-]+)-([^-]+)-side-([^-]+)-([^-]+)-([^/\.]+).html$ /headProduct.php?part_num=$8 [L]
Now the rule works, however it doesn’t just load the dynamic url but also changes the URL back to the dynamic form. How can i correct this so that the URL bar will display the static form of the url but load the dynamic one.
I have been trying this over 3 days now and cant seem to figure it out, hopefully someone can help me.
SyS
I am trying to do this using .htaccess, my rewriteRule is below in code box:
RewriteRule ^cylinder_head-([^-]+)-([^-]+)-liter-([^-]+)-valve-([^-]+)-([^-]+)-side-([^-]+)-([^-]+)-([^/\.]+).html$ /headProduct.php?part_num=$8 [L]
Now the rule works, however it doesn’t just load the dynamic url but also changes the URL back to the dynamic form. How can i correct this so that the URL bar will display the static form of the url but load the dynamic one.
I have been trying this over 3 days now and cant seem to figure it out, hopefully someone can help me.
SyS