Configure Friendly URL in . htaccess

Asked

Viewed 93 times

1

I’m having problems with my file configuration .htaccess.

I have the following URL:

www.dominio.com.br/article? reading=first-post

And I wish she’d stay that way:

www.dominio.com.br/article/reading/first-post

or

www.dominio.com.br/article/first-post

Note: My code uses a Slug to generate a permanent link, saved in the database, which is the name of the post.

I am having problems in the use of regular expressions, or rather in the structure of Rewriterule, just doesn’t work.

How to solve this problem?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.