How to do a redirect in the address bar with ex php: / open /? page =? [closed]

-2

example:

community /? subtopic = characters

dashboard /? page = ng

How do I set up my page in php to stay that way? What is the name of this function? where do you have a tutorial for that too?

    
asked by anonymous 18.07.2016 / 06:28

1 answer

1

I do not quite understand which part is your question, so I'll split it into two answers.

First of all, what happens with this /? is that usually the address of the page itself ( index.php , in most cases) is hidden, but the page returned is still index.php (or other, defined in the server). Then the parameters followed by ? are still passed to the page normally.

In other words: community/?subtopic=characters and community/index.php?subtopic=characters are the same .

Now, if you're referring to the condition of the content of a page based on the parameters, read the

18.07.2016 / 07:02