absolute urls

david13662
17 Posts
david13662 posted this 24 September 2023
Ask a Question

Hello,

I'm trying to use Nicepage to create html I can embed in a shopify page. Since shopify does not support any kind of structures in their file storage system, I was hoping to get around this by hosting the images and css files on a separate server and using absolute urls in the html to reference them. When exporting a nicepage site's html, is it possible to specify the absolute url path. For instance, the logo at the top of my site is currently referenced like this:

src="/images/2022-Logotype.png"

Is it possible to have it referenced like this:
src="https://shop.burkelman.com/images/2022-Logotype.png"

Thanks.

Hello, I'm trying to use Nicepage to create html I can embed in a shopify page. Since shopify does not support any kind of structures in their file storage system, I was hoping to get around this by hosting the images and css files on a separate server and using absolute urls in the html to reference them. When exporting a nicepage site's html, is it possible to specify the absolute url path. For instance, the logo at the top of my site is currently referenced like this: src="/images/2022-Logotype.png" Is it possible to have it referenced like this: src="https://shop.burkelman.com/images/2022-Logotype.png" Thanks.
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 25 September 2023

Hello David,

Thanks for reaching out to us

When exporting a NicePage site's HTML, the paths to images and other assets are typically exported as relative URLs, not absolute URLs. However, you can manually edit the HTML code after export to change these paths to absolute URLs.

In your case, you can modify the HTML code to reference your images hosted on a separate server using absolute URLs like this:

src="https://shop.burkelman.com/images/2022-Logotype.png"

You would need to do this for each image or asset you want to reference from an external server.

Remember that if you change your NicePage project and export it again, you may need to reapply these changes to the exported HTML.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello David, Thanks for reaching out to us When exporting a NicePage site's HTML, the paths to images and other assets are typically exported as relative URLs, not absolute URLs. However, you can manually edit the HTML code after export to change these paths to absolute URLs. In your case, you can modify the HTML code to reference your images hosted on a separate server using absolute URLs like this: src="https://shop.burkelman.com/images/2022-Logotype.png" You would need to do this for each image or asset you want to reference from an external server. Remember that if you change your NicePage project and export it again, you may need to reapply these changes to the exported HTML. ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
david13662
17 Posts
david13662 posted this 26 September 2023

Got it. Thanks. I can probably do this pretty quickly with find and replace.

Got it. Thanks. I can probably do this pretty quickly with find and replace.
Support Team
Support Team posted this 27 September 2023

Thanks for the reply David,

Sure, feel free. Let us know if you have any questions or require our assistance

Thank you
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Thanks for the reply David, Sure, feel free. Let us know if you have any questions or require our assistance Thank you ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments