Jump to content

Rewriting URL of module page


Recommended Posts

Hello,

I've made a page /module/hello/?id_category=123, and I need to make the id_category rewritten to a name such as 123 would = abc.

Is there a way to achieve this without making 1000 manual redirects in the htaccess?

I know this can be done with a RewriteRule [L], but as far as I know you can't ask the database to convert the id to a name and then tell htaccess to rewrite the URL.

 

Thanks,

Luke

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...