Insert link bug in 5.3.1

Permalink
Hi, I've upgraded a flawless 5.3 site that used pretty url to 5.3.1, no problem during upgrade.
Now when inserting links in content block (third link on the top header when editing content) it inserts a link like "/index.php/c=50" and not, as before, "/mysection".

I've tried to figure it out but it's too complicated for me (I don't understand php...) This seems a bug, anyone is able to fix it so that we can install the fix waiting for the next release?

energywave
 
nolmscheid replied on at Permalink Reply
nolmscheid
I do not believe that is an error. That was implemented in 5.3.

When you save it in the content block it should convert it to /mysection. There is a table in the database that links a cID to /mysection.

Table: PagePaths
ppID cID cPath ppIsCanonical
58 61 /test_page 1

The advantage to this is if you ever change a page name, it logs that into the database as well as an alias path, and you will never have any dead links on your website. It is actually quite neat how it works. The cID is always constant no matter if you change the name or not.

You can also create multiple alias for a page by going to the properties of a page and going to Page Paths and Locations

Core Team correct me if I am wrong.
energywave replied on at Permalink Reply
energywave
Wow! I assumed that the html content of the contet block will never change but it's not so! I've tested inserting a link, in the editor it's reported as index.php?c=xx but when I whatch the page in preview mode the link is pretty as it should be! That was a good idea for never get a dead link!
Sorry for wasting your time :\
However I'm sure that in 5.3 it was not so, that must be introduced in 5.3.1.
I like Concrete5! :)
nolmscheid replied on at Permalink Reply
nolmscheid
I have not installed 5.3.1 yet :-)
energywave replied on at Permalink Reply
energywave
hm was it so even in 5.3? ok I'm totally wrong on this :/ The important thing, however, is the correct url! Thank you again!
andrew replied on at Permalink Reply
andrew
There are multiple page paths. The canonical one is the one that is automatically inserted into the page when it is chosen in the editor and saved. The additional ones also link to the page - however, we're going to be changing that so that the additional path does a header 301 redirect to the canonical page, for SEO.
energywave replied on at Permalink Reply
energywave
Ok ok, that was my fault looking at the link inserted in content editor, I believed that the url could not change after the content creation, but there is something (at page load time maybe) that change the various index.php?c=xx to the correct pretty urls, I've got that :) That's the best way of handling that, of course!
Ok, the 301 for other addresses is great for SEO, in fact!
This means you've read my other post... ;) Can you please give us your advice / fix on that? The trailing slash is getting me mad! I can't figure how to add it in content editor!
Here is the link to that thread:
http://www.concrete5.org/community/forums/usage/search_engine_optim...
Thank you in advance!