Hello
I am not getting any response from teh WP forum on my problem - maybe someone know the answer here? I am using a RT them template for a Wordpress site and everything like the path to an image(s) is all abolute pathes - this will be an issue when we make this live - is there a global setting to have everything a relative path in WP?
When you say "everything like the path to an image(s) is all abolute pathes"... what's "everything"...??
I mean... nothing ever is an absolute path, ya know... cause WordPress and WordPress things (plugins, themes, etc) weren't designed JUST for your URL... so, it's all always relative...
under Settings > General you have 2 fields:
WordPress Address (URL) and Site Address (URL)
generally speaking, they should be the same domain or IP... so, RIGHT before you migrate from a test server or space to your production URL you shuold change those fields, save and exit... this WILL break your site until it's moved to that new URL...
That last bit is useful if you, like, want to set the production URL in those fields but then still work on the site in the test environment; you put your test environment URL as an override in config.php... then when you move to production you can just remove those lines from your config.php and your previously populated production URL values take over.
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
for instance - When using RokSprocket and uploading an image to use in the "slideshow" - it creates an absolute path to the image - as does everything I do - pages etc
I'm gonna wager a bet it's just displaying that and that it's building that path off your configured Wordpress Address... change your wordpress address and siteurl to your current IP and I bet that's what you'll see instead
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT
^^ I'd recommend doing the test with override lines in your config.php as menitoned above so you can easily remove them and toggle back to production
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT