# Build webapp to work in different paths

**URL:** <https://forum.ionicframework.com/t/build-webapp-to-work-in-different-paths/198682>\
**Category:** ionic-v3\
**Created:** [October 28, 2020, 8:27am UTC](https://forum.ionicframework.com/t/build-webapp-to-work-in-different-paths/198682 "2020-10-28T08:27:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocarazo\_tribalyte](https://avatars.discourse-cdn.com/v4/letter/o/a8b319/32.png) [@ocarazo\_tribalyte](https://forum.ionicframework.com/u/ocarazo_tribalyte)\
**Post date:** [October 28, 2020, 8:27am UTC](https://forum.ionicframework.com/t/build-webapp-to-work-in-different-paths/198682/1 "2020-10-28T08:27:51Z")

</div>

Hello everyone,

I have a webapp with ionic-v3 with this specs  
 ![Captura de pantalla de 2020-10-28 09-10-12](https://global.discourse-cdn.com/ionicframework/original/3X/3/c/3ca45e04957e30389fb2efaefe1e3284c0a1ff46.png)

There is a forum post like this but uses ionic-v4 that uses Angular CLI, that forum post is tagged as Ionic-v3, we think that this tag does not correspond. I use ionic-v3, that uses ionic-app-scripts:

The forum post that i refer to is this, At the end we want to do the exact same build that this post tries to resolve:

> [@Path problem after building an Ionic web application](https://forum.ionicframework.com/t/path-problem-after-building-an-ionic-web-application/168414/):
>
> Hi all, I’m new to Ionic development and have just finished an application which I want to build and deploy as a normal web application. When I try to build it I struggle with a path problem. The easiest way to see my problem is when you create a new project. ionic start my-app sidemenu Everything is okay when I run it in the browser. ionic serve With no changes I build it for production. ionic build --prod When I copy the content of the www folder into a subfolder on my webserver (e.g. m…

I basically want to change base-href or --deploy-url but with ionic-app-scripts, anyone knows how to do it?

`ionic build --prod -- --base-href=/version1/ --deploy-url /statics/app/`

It should be something like this but with ionic-app-scripts.

---

<div class="post-metadata">

**Author:** ![flyff-ionic](https://avatars.discourse-cdn.com/v4/letter/f/e480ec/32.png) [@flyff-ionic](https://forum.ionicframework.com/u/flyff-ionic)\
**Post date:** [December 29, 2023, 6:52am UTC](https://forum.ionicframework.com/t/build-webapp-to-work-in-different-paths/198682/2 "2023-12-29T06:52:32Z")

</div>

Have you solved it? 。
