How can i add Custom page with Custom URL

Play True Posted in General Discussion 5 years ago

So i have a problem. I want to add Page , but component "Pages" is not suitable here, how can i do that

Replies
gb Rishi B Replied 5 years ago

why isn't a component suitable? that's how you're supposed to register new URLs...

i mean, a simple alternative is to just put the file in the filesystem wherever you want it to be.

if your ossn installation is in /var/www/html and you want to add yoursite.com/x/file.txt then just mkdir /var/www/html/x; touch file.txt; chmod -R 644 /var/www/html/x and your file.txt should show up in the place you want it to

Indonesian Arsalan Shah Replied 5 years ago

You can only add a custom page but not with custom URL

https://www.opensource-socialnetwork.org/component/view/3752/custom-site-pages