i have a oscommerce site, i wan to use seo freindly urls, I got a tutorial from here
I basically wanted to change the ID number present in a URL to a URl that will contain name of product or category in it. an example of such url is
http://katanamotorsports.com/innovative-mounts-steel-mounts-prelude-replacement-mount-p-1075.html
i want to modify .htaccess file so that these seo friendly url are actually redirected to respective page with respect to category and product.
i am new bee in learning, and i am totally a new bee in .htaccess
can anybody help me?
2
Answers
You have to use a RewriteRule in your .htaccess to map the external URL (as visible by a user) to your internal version.
What you want to do is activate the RewriteEngine, then write a RewriteRule that will drop the first part of the URI.
Please don’t use “SEO Friendly” urls like this. They are NOT currently SEO friendly. Search engines liked them 10 years ago. In the last five years they really only hurt.
So, don’t design urls for search engines, design them for users. Users like
It would be far better for you to have your url be: