The redirect component requires a line by line insertion of urls and I have thousands that will be affected by this change. Even if I use database, there's no guarantee of catching everything. Then Htaccess is preventative rather than curative.
All of our API calls will output profile URLs like this. The only reason for your URLs to still have "task" is possibly due to hardcoded URLs in HTML or those from external sources. Even menu items can be updated by simply editing them, selecting the profile CB menu type, and saving the menu item.
As for search engines they'll propagate the changes once the bot goes through your site again (pretty often for Google, but you can force this from Googles webmaster console). I believe you can also supply a root file to let Google know what URLs have changed via a sitemap.
Both task and view work though so your already existing search propagation will continue to function. So I don't fully understand your need to rewrite the URLs. If SEF is enabled then our router.php will already handle rewriting the task to view for you.
Sorry, I've little experience with htaccess rewrite rules. I suggest checking the htaccess documentation below.
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.