I have been using sh404SEF alongwith community builder.
I have enabled the option to use CB username with profile url and have also used htaccess to remove index.php/ from url
So now for any viewer of the profile(other than the owner,say abc) the url looks like
www.sitename.com/abc
But when the owner visits his own profile, the link looks like
www.sitename.com/Community.html....now
i want to setup a redirect such that everytime when abc visits his own profile, the link appears to be as
www.sitename.com/abc.
How can I do that?
In short,I want to setup a redirect from index.php?option=com_comprofiler&Itemid=490&lang=en to index.php?option=com_comprofiler&Itemid=490&lang=en&task=userprofile&user=[user_id] Before Profile Display....
If I use the Before Profile Display trigger in Auto Actions,then it starts flooding because of redirect requests happening infinitely. How can i put a condition to check current url?
We're not sh404SEF developers nor do we support its usage. You'll need to ask them the best way to rewrite the URL. A redirect won't work, because plugins using the URL without &user would break on POST.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.