Mango



Thread: URL / Permalink

Created on: 10/09/08 09:44 AM

New topic Reply    Page: 1  

Replies: 7
bluecomet


bluecomet's Gravatar
Joined: 09/18/08
Posts: 24

10/09/08 9:44 AM

Here's a feature request:
I'd like the ability to edit the ID that appears in the url for each blog entry. It currently gets that ID from the title on the first entry and I cant change it afterwards.
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 653

10/09/08 10:02 AM

I agree. I find this very annoying, especially since I am a horrible speller and never notice the mistake until after I hit submit. Understandably it's not a good idea to make changes often, but if the page is newly created or not yet published, I think this would be a great feature.

WordPress allows a user to specify the url separately from the title as an option. Maybe mangoblog can do something similar?

To make it even better yet, I would love it if mangoblog would keep track of those pages with changed titles and redirect visitors to the newer, correct page automatically. Maybe pass a 301 in the header so search engines update their indexes.

Of course those are just ideas for down the road :)
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
TuttleTree


TuttleTree's Gravatar
Joined: 07/22/08
Posts: 54

10/13/08 12:59 PM

I know I already emailed you about this, but +1, just to make it official here on the forums. :)

As discussed in my email, I'd like a checkbox next to the title that will force a refresh of the "post slug" (as other blog platforms like wordpress call it); which would default to unchecked.

That way I can force it to refresh the slug when I make an edit (knowing that this will cause a change to the permanent link), regardless of draft/published status.

The 301 redirect would be nice, but I think is secondary.
Link | Top | Bottom
JohnColetti


JohnColetti's Gravatar
Joined: 11/04/09
Posts: 6

11/04/09 11:29 AM

Has anybody gotten a proper answer as to how to go about doing this? Is there a way to reassign the url names in some other way?
Link | Top | Bottom
TuttleTree


TuttleTree's Gravatar
Joined: 07/22/08
Posts: 54

11/04/09 12:03 PM

@JohnColetti - No, the only way that I'm aware of that you can accomplish it right now is to edit the database entry. (Caveat: I've yet to upgrade to 1.4 - small chance it could be in there.)
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 653

11/04/09 12:30 PM

It's still not in 1.4 unfortunately. It does allow you to specifically set a friendly url initially when you create the post. But does not allow you to edit it.

Hoping this is a feature that might come out later.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom
JohnColetti


JohnColetti's Gravatar
Joined: 11/04/09
Posts: 6

11/04/09 1:42 PM

Ok next issue then. Is there a way to get around it, so that if you change the entry name you can trick it to redirect to the new name if someone has bookmarked the old url. Or would this mean rewriting the code and inserting an entirely new column into the database to capture both the old and the new name?
Link | Top | Bottom
visual28

Wizard
visual28's Gravatar
Joined: 05/18/08
Posts: 653

11/04/09 1:56 PM

you can do one of two things. Create an ISAPI rewrite rule for that page, and create a 301 redirect. This is the best way.

If that is too difficult then:

1) You can create a template that contains your list of redirect links with the proper redirect to the new ones. You might use the URL string to figure out where they wanted to go and where they need to end up.

2) Register your redirects page as a new template in the skin.xml

3) Select your redirect template in your old page/post as the template to use.

4) create your new content page with the new slug/title

Now when users hit the old page, it will cause mango to use your redirect template and you can redirect them to the new page automatically based on what url they surfed in on.

It might be worth noting that they may never see the redirect and continue to use that old bookmark. You may wish to delay the redirect jump for 3/5 seconds and add a message to that template that the page has been moved and that they will be redirected. You might also want to mention that they should update their bookmark.

-
Mark - www.visual28.com | www.mangowear.com
Link | Top | Bottom

New Post

Please login to post a response.