We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Notification of Site.com/user/name to Site.com/name | Forum

SL
SL May 2 '13
I follow this instruction
\ow_system_plugins\base\init.php
Remove the highlight part in bold and try.
$router->addRoute(new OW_Route('base_user_profile', 'user/:username', 'BASE_CTRL_ComponentPanel', 'profile'));

Working well but not work on notification: it is still site.com/user/name


I tried search on ow_plugins/notifications/ but not found...
Thank You
Daisy Team
Daisy May 15 '13
The content in the Notifications component is static. When you add a content, let's say comment - the Notifications item on this action with all information is added automatically. This data, I mean Notifications item details (username, URL, etc), are stored in database and will never be changed. There is no way to change this static information. However, all the new items should work correctly.
Oxwall Accessories
Oxwall Accessories Jul 7 '13
Is it possible to have the links for both (http://yoursite.com/user/name  and http://yoursite.com/name) both work at the same time? the problem with this mod is that the site emails and links from google will still lead to the old links resulting in a page not found!
Daisy Team
Daisy Jul 10 '13
You can easily add the redirect condition into the .htaccess file, so, then when a user clicks http://yoursite.com/user/name the system will redirect them to http://yoursite.com/name. You can find a lot of information on the Internet, simply google for htacess redirects.
Hadi Kamell
Hadi Kamell Jul 17 '13

Quote from Daisy You can easily add the redirect condition into the .htaccess file, so, then when a user clicks http://yoursite.com/user/name the system will redirect them to http://yoursite.com/name. You can find a lot of information on the Internet, simply google for htacess redirects.
there is a problem, dear Daisy,
every time that i was changed oxwall's htCCESS file with new commands, error 500 of oxwall occured!
Purusothaman Ramanujam

Quote from OxwallAccessories Is it possible to have the links for both (http://yoursite.com/user/name  and http://yoursite.com/name) both work at the same time? the problem with this mod is that the site emails and links from google will still lead to the old links resulting in a page not found!

Its possible.


Quote from Daisy You can easily add the redirect condition into the .htaccess file, so, then when a user clicks http://yoursite.com/user/name the system will redirect them to http://yoursite.com/name. You can find a lot of information on the Internet, simply google for htacess redirects.

No need for such .htaccess redirects..
Oxwall Accessories
Oxwall Accessories Jul 17 '13
Quote from Purusothaman Ramanujam You can easily add the redirect condition into the .htaccess file, so, then when a user clicks http://yoursite.com/user/name the system will redirect them to http://yoursite.com/name. You can find a lot of information on the Internet, simply google for htacess redirects. No need for such .htaccess redirects..

How do I achieve this sir?


Daisy Team
Daisy Jul 26 '13

Quote from Hadi Kamell
there is a problem, dear Daisy,
every time that i was changed oxwall's htCCESS file with new commands, error 500 of oxwall occured!

@Hadi, you should enable debug mode via config.php to see the exact error that occurs.


Quote from Purusothaman Ramanujam

No need for such .htaccess redirects..

@Purusothaman, could you please provide your solution?


Quote from OxwallAccessories
How do I achieve this sir?




@OxwallAccessories, I suggest that you search for the information on the Internet, simply google for htacess redirects.

Hadi Kamell
Hadi Kamell Jul 26 '13
@Daisy

ok, i will test it

How To Get Help In Windows 10 Download

wow! amazing post...thank you for your post, I look for such article along time, today I find it finally. This post gives me lots of advise it is very useful for me, thank you for sharing... Bitdefender Service Support