XF 1.5 Rewrite URL example.com/pages/somepage/?param=hello TO /somepage/hello/

  • Thread starter Thread starter Deleted member 122910
  • Start date Start date
D

Deleted member 122910

Guest
I created a PHP page that displays some info with this URL:
The page node is set to use a PHP Callback with my class

But now I want to change the URL to something like this:

I wasn't able to do this using the Route Filters.
Usually, I could do this with 1 line of code in a .htaccess file, but I can't use htaccess to rewrite because /pages/somepage/ isn't a static file.

So how can I do this with PHP?

I would really appreciate some help! Thanks
 
Any help please? I just want custom URL for my plugin. Where do I start? Any hint would be much appreciated
 
Back
Top Bottom