Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
SEO URL Issue
SEO
Community
›
Forums
›
Technology & Integration
SEO URL Issue
SEO
New Post
New Post
Julius Dickens
Posted on 2011-02-18
Julius Dickens
Rank: #1728
Posted on 2011-02-18
Hello All,
I'm using the seo url feature to ensure static urls when an end user navigates to the Listing_Show webscreen. The SEO URL Rule is as follows:
/Listing_Show/{ListingId}/{HSN}-{STR}-{CIT}/{LN}
Im aware that if HSN STR CIT or LN is blank, then the SEO URL wont work in runtime. However, I've tested this capability and it only works 10 percent of the time at best. Is there something wrong in my settings? Has anyone else had this issue and fixed it?
Julius
Miguel Melo
mvp_badge
mvp_label
Posted on 2011-02-18
Miguel Melo
mvp_badge
mvp_label
Rank: #35
Posted on 2011-02-18
Solution
Hi Julius,
When you say that it didn't work, I assume you mean you are getting 404's when processing incoming requests using those URL's, right?
If that is the case, it could be that one (or more) of the parameters you're using is receiving arguments with unsupported characters. As an example, any argument containing one or more of the following characters "=", ";", "/", "#", "?", ":" or <space> will interrupt the parameter capture and, therefore, the matching of the rule.
Please let me know if this is the case.
Best regards,
Miguel
Solution
Rafael Pereira
mvp_badge
mvp_label
Posted on 2011-02-18
Rafael Pereira
mvp_badge
mvp_label
Rank: #238
Posted on 2011-02-18
Solution
Very useful tip Miguel!
Since this functionality it's quite new, all shared knowledgement is appreciated!
Regards,
Rafael Pereira
Solution
Julius Dickens
Posted on 2011-02-18
Julius Dickens
Rank: #1728
Posted on 2011-02-18
Solution
Hi Miguel,
Thanks for the insight. It makes sense to me that this may be the issue. I do have and challenge in that some of the data points for the {STR} parameter are two words seperated by a space. Should I use a javascript to replace the space with a "-"?
Julius
Solution
Miguel Melo
mvp_badge
mvp_label
Posted on 2011-02-21
Miguel Melo
mvp_badge
mvp_label
Rank: #35
Posted on 2011-02-21
Solution
Hi,
I would suggest creating two user functions on your eSpace, one that changes spaces to "-" (say, ConvToSEOArg) and the other that does the reverse (ConvFromSEOArg) .
I would then pass any parameters that will be used in screens with SEO rules (and that may contain spaces) through the appropriate version for the function (ConvToSEOArg to encode when dumping a Navigation link in the source screen, and then ConvFromSEOArg to decode in the Preparation of the target screen).
Make sure that, if any parameter may itself include spaces _AND_ "-" that you encode/decode the space to another character so as to not cause ambiguity.
Best of luck!
Miguel
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...