This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Slider uses absolute links

  • Creator
  • #544


    Could you please tell me how I can:
    1. change the absolute URLs the slider is currently using for images
    2. configure the slider to use relative URLs

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #545

    Regarding no. 1, I managed to fix the existing URLs by selecting “Update Slider”.

    Now, if I could configure the slider to use relative URLs I wouldn’t have to do this every time I transferred the site from development to production.
    It is a minor issue since it can updated with a click of a button but it’d be great if this extra step could be omitted altogether.

    Jason Bobich


    It is not possible for the slider to use relative paths to the images. The URL’s are generated by WordPress based on your site URL. Since the URL structure of your entire website is determined virtually by WordPress permalink structure, the logic of having your slider images or any other image on your site use a relative image path wouldn’t make much sense.

    For example, what if the slider did actually use relative image paths? So the slider works on your homepage, but what happens when you move the slider to a subpage? What happens when you change your permalink settings?

    This basic concept is why just about everything in WordPress uses the full URL. Relative paths are not used for any assets — images, javascript, CSS files, etc.

    Whether it’s your images in pages, images in your posts, or in this case, the theme’s slider images, adjusting the various places WordPress has used the site URL is just something you have to account for in working with WordPress and working with a development and live site.

    There are two ways main ways people handle this:

    1) Setup your virtual development environment to actually mask your live domain. — This takes some server knowledge and is a more professional solution.

    2) When moving your site, just do a find/replace in your database of your production URL with your live URL. This is the most common thing people are doing as most people don’t have the resources or means to accomplish #1. This is also a popular tool people use in doing this:

    I have an article that takes you through all the steps involved in what the average person doing #2 would need to account for that you may find helpful:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.