Search found 4 matches

by fallingleaf
Sun Feb 10, 2008 2:36 pm
Forum: General Discussion
Topic: Automatically redirect old pretty URLs
Replies: 13
Views: 6225

Re: Automatically redirect old pretty URLs

The documentation for MovedPages is not at all clear to me.  All I could make it do is display a blank page. What I was thinking is that I can get the URL path from php environment variables and compare that to the field "hierarchy_path" from the content table in the DB.  If these don't ma...
by fallingleaf
Sun Feb 10, 2008 12:15 pm
Forum: General Discussion
Topic: Automatically redirect old pretty URLs
Replies: 13
Views: 6225

Re: Automatically redirect old pretty URLs

It appears that pretty URLs ignores everything in the URL except what comes after the last "/", which is the page alias.  Since I'm not changing the page aliases, pretty URLs will still find the pages at the old URLs.  What I need to do then is check that the full path in the URL matches t...
by fallingleaf
Sat Feb 09, 2008 8:15 pm
Forum: General Discussion
Topic: Automatically redirect old pretty URLs
Replies: 13
Views: 6225

Re: Automatically redirect old pretty URLs

Thanks for the help.  I don't know why I couldn't find this stuff in my searches.  The UDT looks promising but I notice that this line of the code seems to be missing the right-hand side of the expression:         if ($content->GetURL() != ) It's not obvious to me what that should be. [edit] went to...
by fallingleaf
Sat Feb 09, 2008 5:06 pm
Forum: General Discussion
Topic: Automatically redirect old pretty URLs
Replies: 13
Views: 6225

Automatically redirect old pretty URLs

Hi.  It's my first post. I've been using the forum as a resource for a while to help develop my website, but I'm the kind of guy that likes to figure things out for himself.  I'd like to try to participate more, though.  I love CMSMS! I'm using pretty URLs and I want to change the hierarchy of my si...

Go to advanced search