Problem with paths to redux css and js files
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
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...
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.
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.
Thanks You dovy, appreciate Your help.
I'll close this one.
Best Marcin