Category : url

I’m working on a project in PHP and I want my URLs to look friendly user, so this is what I currently have: www.site.com/index.php?view=1 www.site.com/index.php?view=2&id=21 www.site.com/index.php?view=3&id=88 And this is what I expect to have: www.site.com/teacher www.site.com/student?id=21 www.site.com/book?id=88 Is there any way to to without htaccess, only by using PHP? If don’t, how can I map ..

Read more

I am using codeigniter 4 and I have a form with method=get. When i am submit the form, the url would be http://localhost/mywebsite/public/home/price?from=delta&to=duncan How can I convert from that url into this? http://localhost/mywebsite/public/home/price/delta/duncan *if I have to use the post method, I’ll follow Sourc..

Read more

I want to reach my blog page via a url, telling the blog page the filter, so the filter gets the active state and only posts with this "category" are being displayed. The site I’m talking about is http://schaffmann.de/projekte/. For example I wanna reach posts with the category "Gewerbe", would the URL be something like ..

Read more

Currently, when I select an item from a custom menu in WordPress, it takes me to domain.com/category when I want to be able to change the URL to domain.com/shop/category The link is set here: <h5 class="game-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h5> Here is where I want to redirect the the_permalink() to something such as the_shoplink() ..

Read more