Additional Page URLs not working

Permalink 1 user found helpful
Hi, folks.

I'm using concrete5 to manage a library of procedural documents.

We're in the process of changing the tracking numbers associated with these documents, and the tracking numbers are what make each URL unique. We've got external systems that link to these URLs based on the tracking number.

I'm trying to use the Additional Page URLs in the Page Properties to add the new tracking numbers for these documents so that the links in the external systems won't break before we have a chance to update those systems. For illustration:

I have a document with the tracking number ABC-01, and its URL is "concrete5/index.php/docs/abc-01".

This document will now have the tracking number DEF-02, and I'd like to add "concrete5/index.php/docs/def-02" as an additional URL so that both URLs will still go to the same page.

Unfortunately, the additional URLs simply don't work. I receive a "Page Not Found" error each time I try to access the page using them. I have cleared the cache in concrete5 and in my browser, but still no luck. I'm not using pretty URLs, so I don't think that's affecting it at all, either.

I've searched the forums here and haven't found anything that helps me yet. Can anyone help?

Thanks.

campbell
 
mkly replied on at Permalink Reply
mkly
Clearing the cache might be worth trying.
campbell replied on at Permalink Reply
campbell
I've already done that, unfortunately. That's definitely my starting point when I'm seeing some odd results.

Anyone have other ideas?
campbell replied on at Permalink Best Answer Reply
campbell
Ah, well, with a little more experimentation (and checking the PagePaths table in the database with SQL Buddy), I discovered that while the Additional Page URL(s) instructions suggest that your subdirectories will be included in the existing path, that's not the case.

For example, the instructions say, "Remember to include a slash before the page name, for example '/my-alternative-url'." And then above the Add Path field, the URL including subdirectory is provided (e.g., "concrete5/index.php/docs").

However, if you just enter "/def-02" into the Add Path field and click Add Path and then save your page, your new additional URL is NOT "concrete5/index.php/docs/def-02". Instead, it is "concrete5/index.php/def-02". It doesn't pick up any subdirectory you have included.
mkly replied on at Permalink Reply
mkly
Glad you got it sorted. Thanks for reporting back.
PPPills replied on at Permalink Reply
PPPills
Great question and great answer ( to Campbell)
Solved my problems with "add more urls" right away. everything works!
matt21 replied on at Permalink Reply
Hi, I'm having the same issue. Although, I cleared my cache and my url is Canonical URLhttp://tvlift.com/hospitality.html... and my secondary path is /hospitality. But, the secondary path still just goes to the home page? Any hints would be helpful.