• Resolved lista

    (@lista)


    Hi,

    at the following blog:

    https://masterbluesguitar.com/

    if I change the permalink structure, the video stops to show up in a single post view, but remains active in the index page. This really puzzles me, any help would be appreciated.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • It’s the use of relative paths that’s causing the problem:

    <script type="text/javascript" src="lesson3.js"></script>

    If you’re going to use relative paths, at the very least let the browser know the file is located in the root directory of your site:

    <script type="text/javascript" src="/lesson3.js"></script>

    Note the addition of the initial slash before the filename (which is web ‘src’ lingo means “look for the file at the root of the current site”).

    Thread Starter lista

    (@lista)

    Thank you for you answer, but it doesn’t do the trick, nor does the use of the absolute path. Again, when viewing a single post, the video does not show up.

    Maybe one more suggestion? ??

    Thread Starter lista

    (@lista)

    Like I’ve said – thank you!
    It does work, it was my fault I didn’t get it going the first time.

    You can close the topic.
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Permalink Structure Breaks Video’ is closed to new replies.