Why are my entry urls now populated with % characters
Eg.
http://www.pspworld.com/sony-psp/News/Are%20You%20Going%20To%20Queue%20Up%20For%20Your%20PS%20Vita-014355.php
Reported on Movable Type 5
Why are my entry urls now populated with % characters
Eg.
http://www.pspworld.com/sony-psp/News/Are%20You%20Going%20To%20Queue%20Up%20For%20Your%20PS%20Vita-014355.php
Reported on Movable Type 5
Somehow MT5 is changing the url basename
Is browser encoding for spaces!
besart I checked with Firefox and you right!
Why doesn't Google just leave things alone!
It doesn't have anything to do with Google!
It looks like you've messed up with the entries or pages URLs.
Instead of the basename, you've used the title.
The basename is based on the title, but it adds "-" or "_" instead of spaces in between words.
However, you are wrongly just using the title as is, and thus you endup with spaces in the file names, which are automatically encoded as "%20".
I would strongly recommend you to fix that, because it looks very unprofessional.
Change the entries or pages URLs to something based on the basename, not the "title as is".
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/
Mihai thanks for your response, but it would help if you simply explained how to achieve what you advise or pointed us in the right direction.
FYI we had all our URLS populated with hyphens before the upgrade, now we are suddenly seeing issues, which may or may not be related to the other publishing issue.
Please note that many here do not have the same technical skill as some MType developers or consultants.
Basename is set in the edit entry screen, in the basename field. Eg. how_to_transfer_dlc_from_one_p_1
But the permalink is as follows.
Permalink: http://www.ps3informer.com/playstation-3/News/How To Transfer DLC From One PS3 To Another-014401.php
Go to:
Design -> Templates
Then look under "Archive Templates".
Open the "Page" and the "Entry" archive templates and make sure that under:
Template Options -> Archive Mapping -> Path
There is no reference to the title, but one of the formats to include the basename.
Try to match the exact same format that you've had before upgrading, to avoid duplicated content issues.
P.S.
Regarding the comment you've just added with the basename, what I am trying to tell you is that you should configure the basename to be used on the URL of the entries/pages. It is not enough to get a basename if you don't use it :)
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/
Changing now, but concerned messing up all entries. This is what the path looked like. Sorry can't copy the code from the drop down.
http://i.imgur.com/aDnGr.png
Ok test results.
Changed the Path as you suggested. Now getting mixed results from www.theredshell.com
From front page: http://www.theredshell.com/nintendo/news/take-control-of-samus-on-your-nintendo-3ds-when-a-game-boy-classic-returns.php
From archives: http://www.theredshell.com/nintendo/News/TAKE%20CONTROL%20OF%20SAMUS%20ON%20YOUR%20NINTENDO%203DS%20WHEN%20A%20GAME%20BOY%20CLASSIC%20RETURNS.php
Archives are set back to publish queue. So may have to wait?
When you are saying "from archives", to which archives are you referring to?
It is likely that you've seen there the bad URL format if you haven't rebuilt that template yet.
Rebuilding your entire website and/or blog would fix that.
When your templates are set to be rebuilt "Via Publish Queue" you have to wait for them to rebuild. But unless your order a full website/blog rebuild, they won't rebuild by themselves.
Hi Mihai
Yes I waited for theredshell.com to rebuild and the test seemed fine, however still had to wait for the much larger pspworld.com and changed the archive path meantime. So far seems to have worked and the publishing archive error from the other thread seems to have cleared.
Thanks
Hi,
Sounds good!
You're welcome ;)
Cheers,
Mihai
Hi,
Remember this ugly problem:
http://www.pspworld.com/sony-psp/News/Are%20You%20Going%20To%20Queue%20Up%20For%20Your%20PS%20Vita-014355.php
Seemed to have worked by changing the archive entry path, but although all seemed to be ok, something was different.
Instead of url eg #1., am now getting #2
1. http://www.pspworld.com/sony-psp/news/all-your-ps-vita-questions-answered-014093.php
2. http://www.pspworld.com/sony-psp/news/all-your-ps-vit.php
The above two urls point to 2 different physical files. Now we ahve also lost our social links related to the original url. The Individual Archive entry path is mapped to:
category/sub-category/entry-basename.php
I'd like to get things back to #1.
In order to get the URLs back to #1 you have to use the URL pattern that you've pasted for me on this thread, which is different from:
category/sub-category/entry-basename.php
That is:
<MTParentCategories glue="/"><$MTCategoryLabel faceted="1" dashify="1"$></MTParentCategories>/<$MTEntryTitle dashify="1"$>-<$MTEntryID pad="1"$>.php
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/
Yes, but it looks like we'll back to the original problem
Mihai,
Can I refer you to your previous comment:
Problem is I cannot confirm what the format was for the path before upgrading. I can only assume it was that code:
/-.php
Basically, I just want all back to basenames with titles and remove the duplicates.
Wouldn't it be easier to alter the basename character length, as it's obviously truncating.
No, it wouldn't be easier to do that because of multiple reasons. One of them is that the URL pattern that I've mentioned to you contains also the entry id.
If you would follow me advice you would be safe. Do that until it is not too late. Be aware that search engines could index also the pages with the new URLs, which could end-up with Google penalizing you for duplicated content.
Yes thanks, am fully aware of the penalisation, hence the urgency in my messages. This could possibly get real ugly. I'd like to nip it in the bud and only suffer a few days damge. We're already getting hit as our entry comments are associated with the original posts.
I'm testing now with this code, but please note as I said, I can only assume that this was there prior to upgrade:
Ok. Just changed the entry path to the above code and republished all entries, and getting following strange
behaviour in 2 and 2.1.
1. ORIGINAL: http://www.theredshell.com/nintendo/games/who-will-win-master-chief-vs-samus-aran.php
2. CURRENT & AFTER MT5 UPGRADE ( - PERMALINK: http://www.theredshell.com/nintendo/Games/Who Will Win? Master Chief vs Samus Aran-011805.php
2.1 RESOLVES TO FOLLOWING WITH 404 ERROR.: http://www.theredshell.com/nintendo/Games/Who%20Will%20Win?%20Master%20Chief%20vs%20Samus%20Aran-011805.php
3. AFTER RECENT INDIE ENTRY PATH CHANGE: http://www.theredshell.com/nintendo/games/who-will-win-master-chief-vs-s.php
Publishing entire site now, but don't think will change anything. The problem relates to MT5. ALL WORKED PRIOR TO UPGRADE!
Ok. Site all published. Results as above. Can only assume that something has changed in the upgrade that's affected following code:
At this stage I would suggest that you provide me access to your movable type admin and I check that for you.
Thanks,
Mihai
Mihai
what's your IM or direct email, as I sent you email before but no response.
Paul
Hi Paul,
You could find my IM and email details from my website.
Kind Regards,
Mihai Bocsaru
----------------------------------
Daily Movable Type Consultant
Web Development
Movable Type Consulting
Six Apart Partner
http://www.pro-it-service.com/
----------------------------------
Movable Type Demo
http://www.movabletypedemo.org/
----------------------------------
Open Melody Demo
http://www.openmelodydemo.org/