Is there a way to get a URL for an article that doesn't change even if the article moves in the site structure? I thought maybe something like index.php?id=52 would always get me article number 52 but that doesn't seem to work.
I'm sure there must be a way. I've thought about giving every article an alias by adding a directory to the site structure for every article...but with more than 100 articles in my site I'd rather not. I'd sure love to be able to add aliases to my articles directly but I don't think that's possible (at least yet!).
Thank in advance for any help.
Thanks-
-Rob
Permanent URL for articles?
My workaround didn't work
I thought I could workaround this issue by making lots of directories in the site structure. Unforunately, then the automatic summaries that are generated by phpWCMS are then lost since there are no articles in the "main directory". Let me explain with a diagram.
By reorganizing that structure to this:
In "before" when you go to topic 1 you get a nice summary of all the articles in it. In "after", naturally Topic 1 is empty and you have to write up a summary manually.
Unfortunately, now I have popular pages on my website with URLs that read:
http://www.mysite.com/9.27.0.0.1.0.phtml
Now if I even move that article to a new directory, I will lose all the links to that article. I think the best solution to this would be a "alias" like field on the articles similar to the one that already exists on the directories. I know it doesn't exist yet but I'm hoping for it.
Anyone else have a good workaround?
Fnord[/code]
Code: Select all
Before:
Topic 1
Article A
Article B
Article C
Code: Select all
After:
Topic 1
Article A Dir
Article A
Article B Dir
Article B
Article C Dir
Article C
Unfortunately, now I have popular pages on my website with URLs that read:
http://www.mysite.com/9.27.0.0.1.0.phtml
Now if I even move that article to a new directory, I will lose all the links to that article. I think the best solution to this would be a "alias" like field on the articles similar to the one that already exists on the directories. I know it doesn't exist yet but I'm hoping for it.
Anyone else have a good workaround?
Fnord[/code]