Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul A 133 posts 368 karma points
    Jan 21, 2011 @ 12:27
    Paul A
    0

    NiceURL problems /folder/nodename.aspx vs /home/folder/nodename.asp

    I've seen the come up a few times on the forums but haven't really see a fix as such... I thought I'd post this here as it might help others.

    Some of my nodes (old nodes only, new nodes created fine) were supposedly at:

    /home/foldername/filename.aspx

    rather than

    /foldername/filename.aspx

    Which throws an error when trying to load the page. After digging around in the database I've spotted the/my problem. For some reason, these nodes have the recycle bin in their path, even though they haven't been deleted:

    Path: -1,-20,1234,5678

    Republishing page didn't help. Republishing parent node didn't help (crashed with generic IE error message). Republishing entire site didn't help.

    I have found that right clicking on the node and moving the node to the same folder it's in now helps. That obviously rewrites the entire path entry. Obviously you'll need some SQL if you need to do this for a large number of node (like me). Obviously make sure you know what you're doing before you do that though!

    Hope that helps someone. Not sure how this happened... Possibly when I had to move entire (1k+ nodes) section to under another node.

     

Please Sign in or register to post replies

Write your reply to:

Draft