Blog post rename problems

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/1/2011 8:39:13 AM
Gravatar
Total Posts 87

Blog post rename problems

Hi,

when renaming blog post title it changes post url automatically, when you save renamed post it will make 301 redirect record:

Problems:

1)easy to repro--- when i name some post, save, rename it , save, and rename it back to original name - is ends up in endless loop 

2) i could not repro it now, may be there were some specific steps but because of 301 redirect record i had situation when current post url, redirects to some old post url and system stops with "page not found" error - then i found this record in 301 list, removed it and everything worked fine

Suggestions:

301 redirect is very convenient but it needs some control over it, may be some checkbox to make 301 redirect optional when resaving post, also may be some option in blog settings to not change url automatically after first save not sure. Situation is - i make post, publish it, then find some misspellings in title or decided to reword it, go back change it (may be few times) and finish with bulk of records in 301 list.

Regards,

Victor

1/1/2011 11:28:57 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Blog post rename problems

Hi there, it sounds like you just need to get familiar with the 301 Redirect Manager. That's a tool that you should remember to check any time you rename newly created pages.

Jamie

1/1/2011 12:21:51 PM
Gravatar
Total Posts 87

Re: Blog post rename problems

Ok. My problem is that there will be more complication to teach editors to use 301 redirect manager. May be i will disable this for Blogs in my copy of mojoportal.

Thanks.

1/3/2011 6:01:31 AM
Gravatar
Total Posts 18439

Re: Blog post rename problems

Hi,

I will accommodate you by adding a config setting so you can globally disable the automatic creation of 301 redirects in the blog. After the next version of mojoPortal you can add this to your user.config

<add key="Blog:Create301OnPostRename" value="false" />

the default value will remain true.

Generally I think this feature as it is, is mostly helpful because most editors don't know about 301 redirects what they are and what they are for so we try to help the SEO of the site by creating them automatically and generally it is only a problem if you rename it then rename it back as it was, it will not create 301 redirects that cause a loop so it will not let you re-use the url unless you delete the existing 301 redirect for that url first. But this kind of situation of changing it then changing it back should be uncommon and we should not optimize for that. I definitely do not want anything in the UI to check or uncheck when renaming posts as this would be less user friendly since most people would have no idea what the 301 is for and more confusing settings will only hurt the user experience.

Best,

Joe

1/3/2011 7:42:34 AM
Gravatar
Total Posts 87

Re: Blog post rename problems

Thank you, 

I agree that adding in UI some checks will confuse the editors, so adding it in config will be best solution in my situation.

I agree that renaming post and naming it back is uncommon i faced it while trying to repro steps that made "page not found" problem caused by some unknown steps of my editor, i think disabling it via config will not let my editor doing such unrepeateble bugs :)

Regards,

Victor

 

You must sign in to post in the forums. This thread is closed to new posts.