Jump to content

Easy Apache REGEX question


luminous

Recommended Posts

I currently have a routing system on my site which consists of an array of regex values.

Some pages have sub pages e.g : page/subpage

 

I currently have the ability to have routing for one page e.g : page/ which is simply '/^pagename/'

 

What is the expression I would need to get a a subpage example at the top? :-[

 

Thanks!

                                                 

 

 

Link to comment
https://forums.phpfreaks.com/topic/184681-easy-apache-regex-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.