Jump to content

301 to friendly url


Abh

Recommended Posts

No idea what to write in htaccess to do this.

Somehow, google only likes to index my category.php?id_category=1 type pages

Any help on this?

I need to redirect this kind of urls:
site.com/category.php?id_category=20
site.com/product.php?id_product=398

to this kind of urls:
site.com/the-name-of-category-with-id20
site.com/the-name-of-category-with-id20/the-name-of-product-with-id398.html

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...