Forums

permalinks mess up javascript pathing? (1 post)

  1. tdellaringa
    Member
    Posted 4 years ago #

    I'm trying to use this script/css called tablecloth on my site. The installation is simple - copy the folder to your site root, include the links to the JS and CSS in your header.

    I did this and the example in their folder works as you can see here:

    http://www.teamrainbo.com/tablecloth/index.html

    However, when I try to hit one of my WordPress pages with it, it doesn't appear to find the path back to the files. I tried using full URLs to the css/js like

    http://www.teamrainbo.com/tablecloth/tablecloth.js

    But I get a 404 - even though the file is there. I'm assuming this has something to do with mod rewrite/permalinks structure - but when I try and hit the page directly with permalinks turned off like so:

    http://www.teamrainbo.com/index.php?page_id=7

    Same thing, it doesn't work. Anyone have an idea why wordpress might not see these files?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.