I know that for a long time MT has not made it easy / accessible to edit the default markup that wraps an [image] asset when it is inserted into a MT entry. (So strange that this hasn't been created as a system module like everything else.)
There is one plugin that seemed to solve this problem, though it was written for MT 4* and seems to be defunct: https://github.com/endevver/mt-plugin-custom-asset-markup I've installed it, anyway, and it's unclear how it's supposed to work or be triggered / managed (there are no settings, though I may be doing it wrong).
Every time an image is inserted into an entry, I want its markup to include a few of its properties in the tag. For example, I want to assign the ID value of each image when it's inserted into the entry body:
<IMG ID="ar_<mt:AssetId>" … />
- Has this problem been solved in MT 6? (I'm holding off a system upgrade till we launch as I don't want to destabilize right now, but might be worth it.)
- Tips on how to operate the plugin above?
- Any suggestions / hacks, other than editing the Perl modules directly or writing my own plugin?
Is there any instructor for that? I mean some way to access other pages of movabletype feed?
Example:
MovableTypeSite/feed/page=10
or
MovableTypeSite/feed/rss?page=7
I am working on migrating a MovableType blog to Wordpress.
All of the old post urls end in .html.
Example:
http://ec2-174-129-85-183.compute-1.amazonaws.com/archives/2013/12/all_quiet_on_th.html
However, when I updated the post names in wordpress to include the .html extensions, I kept getting 404 errors.
So what I want to do now is redirect all of the requests for pages that end in .html to the same pages but without the .html.
For example:
.../archives/2013/12/all_quiet_on_th.html
Would 301 redirect to:
.../archives/2013/12/all_quiet_on_th
Here is my current .htaccess file:
# BEGIN WordPress
# Ensure the rewriet module is loaded
<IfModule mod_rewrite.c>
# enable the rewrite engine
RewriteEngine On
# Set the root directory
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Can you please advise what changes I can make to this file for this to work?
I tried 5 or 6 different versions on the internet already, but it is not working and I am not sure why not.