Canonical URL vs. URL with Page ID

Permalink Browser Info Environment
I am having trouble with the subject URLs. I am not familiar with the term Canonical URL, but those are the ones that the Menu links to when you add a page.

I created the Timeline page at my site here:
http://grand-excursion.net/index.php?cID=185...

If I click on Timeline in the menu, from the page above, it ends up here:
http://grand-excursion.net/timeline/...

The page description remains at the top, but the Timeline Javascript box that is embedded in the page ID=185 view disappears. The JS box is embedded in a content block on the first link above. I did make sure that I saved my edits, so that is not the issue.

I tried updating my config/site.php file as recommended in this post, but this did not solve the issue:
http://www.concrete5.org/community/forums/customizing_c5/additional...

I'd appreciate some feedback when you get a chance. Thank you.

Type: Discussion
Status: New
BLindsey
View Replies:
BLindsey replied on at Permalink Reply
BLindsey
I forgot to mention that I did turn on pretty URLs after experiencing this problem, and cleared the cache, but this did not help.
c5mix replied on at Permalink Reply
c5mix
This really isnt a theme issue, so it should be posted here. But it looks like because your call to your javascript file is relative and it should be absolute. So when you go to the page with it's pretty url link that script doesnt load.
You should change
<script type="text/javascript" src="timeline/compiled/js/storyjs-embed.js"></script>

To this:
<script type="text/javascript" src="http://grand-excursion.net/timeline/compiled/js/storyjs-embed.js"></script>
BLindsey replied on at Permalink Reply
BLindsey
I changed all the relative references to absolute references in the content block HTML and that solved the issue. I realize now it was not a theme issue, and I really appreciate your feedback.

Your theme is very easy to work with, even for an amateur like me.

Thank you.
c5mix replied on at Permalink Reply
c5mix
You're welcome! Glad you got it resolved. Thanks for the great feedback!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.