I have tried to adjust the variables to ty and make it work with the site, I can get the url to show as
new-product.php?Item=My Item Name but of course the link doesnt work.
/(somethingelse)/(something)/$
says "Take the end of the URL, It must end in a slash. It may have something before that, then another slash, then maybe somethingelse, and before that another slash.
That… is in no way related to the rest of your post - your URL’s have no slashes in them whatsoever…
You’re kind of telling me “I have this rule for a Ford car. I’m having trouble with this Toyota.”
Thats where I am having the problem, I am not sure how to set up the rewrite rule. I have tried several different variations but always get a 404 when I try to use the item name.
So if the desired resullt is to have the product name on the link…put… the product name… on the link? Maybe i’m confused about what you’re attempting to do.
I usually take great exception to using a trailing / when NOT specifying a directory (it changes the level of the links and is, by Apache standards, incorrect).
I have ALWAYS taken great exception to using the EVERYTHING (or nothing) atom as it is greedy and causes too many problems.
My quick scan of this thread left me confused at the problem you’re trying to attack, i.e., what SL was asking for: Pseudo Link and Desired Redirection. Your comments have the redirection creating a query string with Item OR Itemname as the key and it looks like your value is letters (upper and lower) and spaces (which are not acceptable in a URI unless encoded as %20 or, as is the case with the $_GET array, _'s.
My recommendation is two-fold:
Decide what you’re trying to do to the point that it can be specified verbally and
Have a read of the tutorial at http://dk.co.nz/seo which leads you through creating good mod_rewrite code then gives examples for many common uses. If you have questions about that tutorial, drop me a PM and I’ll be glad to clarify.
Finally, mod_rewrite is an extremely useful and powerful tool … when used correctly. Take a few minutes to learn about it and it will serve you well.