redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Problem with paths to redux css and js files

Open maarcin opened this issue 12 years ago • 4 comments

Hi guys,

one of my clients have problem with paths on his installation. Paths for all css and js files that are loaded with redux started with

serwer1302293.home.pl/wp-content//wp-content/themes/flexit/redux-framework...

instead of

serwer1302293.home.pl/wp-content/themes/flexit/redux-framework...

Any ideas where might be the problem? Tried with builded in options and plugin from wordpress.org. Both gives the same result.

Best Marcin

maarcin avatar Jan 08 '14 17:01 maarcin

Their site URL has a trailing slash. That's the issue. They need to remove that.

I guess I could add a test for double slash...

dovy avatar Jan 08 '14 18:01 dovy

Oh wait, no. Dual wp-content is very much a configuration issue. I can't resolve that. Look at what their site URL is defined as.

dovy avatar Jan 08 '14 18:01 dovy

Better yet. Echo these at the top of the functions.php or wherever, they're wordpress constants.

WP_CONTENT_DIR WP_CONTENT_URL

Correct the one that's bad.

dovy avatar Jan 08 '14 18:01 dovy

Thanks You dovy, appreciate Your help.

I'll close this one.

Best Marcin

maarcin avatar Jan 08 '14 18:01 maarcin