I want to rewrite my URLs on localhost. First parameter “p” is the page. all other parameters “param1” – “paramX” schould work when I need them. With only one parameter “p” it works every fine. But now I want editing a second parameter in the URL and just want to echo it first. This works too. But when I click on my menupoints, that only use parameter “p” as links, it don´t work right. I get no errors, but parameter “p” do not change, as it should, but “param1” changed and my menu doesn´t open any right site any more. I am a beginner in htaccess und hope you can help me. In the following I post some screenshots
htaccess File
Parameter “P” for sites alone works well
Get the second parameter and index.php
Getting and echo the second parameter works too
But clicking on menupoint don´t work any more
Links with a-tag look like Projekt or ACP
As you can see, if I click on acp (link with href = “acp”) it doesn´t changed the first parameter. It changed the second and the link doesn´t work any more.
Could you help me and could you tell me what I am doing wrong in my thaccess file?
Kind regards,
Richard from Germany
I tried to change the URL, but i doesn´t work. And i edited the thaccess file multiple times with try and error the last day and this is the best result I got. And the other possibilities from stayoverflow, who schowed up, doesn´t help me.