PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB19] Uh oh, my first WebDev site!
[WB19] Uh oh, my first WebDev site!
Iniciado por guest, 19,nov. 2014 11:04 - 3 respuestas
Publicado el 19,noviembre 2014 - 11:04
Hi guys,

Go easy, this is my first forey into WB deployment... I have a simple 1 page static site to try out the deployment side of WB19.

I used the default WDDeploy settings first of all, then, 1st lesson learnt, tick the don't look in sub folders!

Anyhow, to aid my understanding, why does WB change my server configuration so that now when I enter www.domain.co.uk in my browser, it adds /UK/ on the end and looks in the <a class="ExternalLink" rel="nofollow" target="_blank" href="http://www.domain.co.uk/UK/">www.domain.co.uk/UK/</a> folder on the server? Is it something I did by assuming the default settings were ok?
Publicado el 19,noviembre 2014 - 11:07
Hi Darren

it's not the default setting, it's the only way to work. Webdev manages multilingual sites by putting each language in a subdirectory (with the language 'code'). When you have only ONE language, Webdev assumes that you will add another at some point and uses the same system.

Best regards
Publicado el 19,noviembre 2014 - 11:14
Thanks Fabrice...

I thought that might be the reason.

Ok, becasue I'm testing things out, and because this is only a non-php static site, I manually cleared down everything on the server, so I deleted all the html, png's and the /UK/ folder etc. My thinking was that it would force WB to re-deploy everything at the next deployment; 2nd lesson learnt! ...don't delete stuff manually! :rolleyes:

So my next question; is there a way to reset WB so it thinks this is the 1st deployment again, so that it deploys and creates all the required files & folders?
Publicado el 19,noviembre 2014 - 12:37
Hi

Are you planning a php site ? If so you can select, at least in php modus ,that you have one language. Then it doesnot create the / uk .

The deploy first checks what is on the web. Then it onley puts on the web what is not already there or what is changed.
It's my opinion you better not place several websites in one domein for the sychronization then takes a lot of time. ( even if you made little changes )

If you delete everything on the web then that shouldnot be a problem. The sychronization will see that nothing is on the web and everything will be uploaded.

Remember it is php modus Iam talking about.
I know nothing about the application server.
PHP modus is straight forward. It just uses ftp to upload everything. You can even use an other ftp programm and do it yoursef.

Regards

Allard