Search for all instances after a folder name is changed

Allie's Avatar

Allie

20 Jul, 2010 12:53 AM

Hi there,
We are changing a folder's System Name, which appears in the URLs of all pages under it. Pages across the site in other sections also contain links in their body as regular html hyperlinks pointing to the pages in this section.

I have tried the advanced search many times using different parameters, but cannot get all the results. How do I search for "Apple and Orange" as a phrase that may appear in the body of a page or as keywords in the head section? I am not looking for "apple AND orange", but the phrase. How do I search for link URLs embedded in page body across the site containing the folder's old system name? I tried "\/oldname\/", "\/oldname\/", etc., but cannot find the pages in which I know such links exist. All my content is in Global and I have just rebuilt the search index.

Any help will be greatly appreciated!
Allie

  1. 1 Posted by Penny on 20 Jul, 2010 05:42 PM

    Penny's Avatar

    Maybe I am not understanding your issue but links in Cascade are tracked so if you change a folder name, those links to anything within that folder should be updated automatically. So if you have a link to a page in that folder on say Page A, the href to that page should be automatically updated within Page A. You will just need to do a site publish to verify that the changes are made to your live site when you republish that renamed folder.

  2. 2 Posted by Allie on 22 Jul, 2010 07:34 PM

    Allie's Avatar

    Hi Penny,
    I see the point. My thinking is that if I can identify the assets affected by the change, I would need to re-publish only those assets, for example 150 of them; otherwise, I would have to re-publish the entire site, which is close to 2000 pages with different publish workflows for different user groups.

    I am going to search the published content on our web server to identify all affected instances.
    Thanks.

  3. 3 Posted by Penny on 22 Jul, 2010 07:54 PM

    Penny's Avatar

    The only other thing I could suggest is that if there are only a few pages/files in the folder that changed names, you could click on the page/file and click delete. This will give you a "Relationships" section that will tell you all of the pages that contain links to it in their WYSIWYG content. Do NOT click Submit on this page. Make sure you click CANCEL or navigate away after having the necessary information. Be sure to not actually delete the page.

    The method I described above will not give you pages that may contain the page attached using a page chooser. If stuff like your navigation is generated using XSLT or Velocity, it will not give you those pages with links either.

    I hope this helps.

  4. 4 Posted by Allie on 23 Jul, 2010 02:18 PM

    Allie's Avatar

    Thanks, Penny. I checked it out and it will help. :-)

    On the other hand, I am not sure I understand how search works in Cascade. For example, I am trying to find a phrase "Risk and Prevention": when I enter the phrase WITHOUT quotes in Advanced search, Content field (Match all words, all asset types), I get 150 records and in most cases those pages do contain the phrase; but if I enter the phrase WITH quotes, like suggested on the search KB page (http://www.hannonhill.com/kb/Search1/index.html), I get nothing :-( Puzzled.

  5. 5 Posted by Penny on 23 Jul, 2010 03:49 PM

    Penny's Avatar

    That article may need to be updated. I am sorry for the confusion. I will pass the information along.

  6. Tim closed this discussion on 26 Aug, 2010 02:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac