Developer forum

Forum » Dynamicweb 10 » Inactive and Unpublished sites still in URL index

Inactive and Unpublished sites still in URL index

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

On a site running DW 10.17.8 (R2) I have made a copy of the default Swift site, and created a customer specific site.

The Swift2 and DAP sites have been set to Inactive, and Unpublished:

I noticed that a lot of URL's in the new site are being suffixed with a -1 (home-1, cart-1 etc)

In the URL index i can see that Area's 3 and 26 (Swift2 and DAP) are still active as part of the URL index, and the \home url is part of the Index for Area3 (resulting in a -1 suffix for Area 27)

Is something configured incorrectly? Url = https://fixaflex.dw10.dynamicweb-cms.com/?showurlindex=true

I10.17.810.17.8


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

And why can the urls not be in the URL index?

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

If they are not in the index, what will happen is that you create a 4th website that is active - and then when you activate the 3rd one, that will flip all the urls of the 4th one.

 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Hmm yeah, thats a conundrum. 

I was told that this is the preffered way to start with a fresh Swift environment, because I would then be able to keep the AreadId of the original Swift site, and in that way would be able to use the deployment tool to sync up database changes when a new swift database version is published. In the example of Swift 2.0 to 2.1 for example that would allow me to copy over new Customer Center items with less manual work.

Is there another way that I could work like this, and still be able to get a url without suffix? 

If not I think I would just have to delete the original sites, an go back to the drawing board for getting new content :-)

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Ok - you should not listen to all those stories...

I would just work with the site you get - then you can move new pages with deployment tool - or spend 10 mins setting them up. It is just a page with a row and a module...

If you create multiple websites and you do not want them to share URL index, in settings / system / web & http / friendly urls, you can set "Unique URL structure for each website" and then you will not share URLs across sites.

 
Jeppe Eriksson Agger Dynamicweb Employee
Jeppe Eriksson Agger
Reply

Hi all,

Just an observation regarding the possibility of merging a Swift 2 solution into an existing Swift 1 solution. If this is not relevant for this discussion, then just ignore me :)

Originally, when we reintroduced the deployment tool for DW10, there was an issue related to Swift content. The issue was that Swift 2 was built on Swift 1 content, of course with a lot of changes. That meant that areas, pages, paragraphs, and so on, had the same unique identifier, a GUID value that deployment tool uses to tell entifies apart -- it's not the same as the ids of the entities. That led to a frankenstein merge where you would have websites and pages that were half Swift 1 and half Swift 2. I believe that the identifiers on the Swift 2 database were changed, but it might be something to look into.

As long as the identifiers are different, it is possible to deploy a Swift 2 site into an existing Swift 1 site. It will produce new ids for the deployed entities, but the unique identifiers will stay the same so you can deploy updates (let's say Swift 2.0 vs. 2.1) as well.

- Jeppe

 

You must be logged in to post in the forum