Closed haroldangenent closed 10 years ago
Sidenote: Don't forget this when the Redirection API is finished: https://bitbucket.org/trendwerk/tp-plugins/issue/6/add-301-redirect-to-data-migration
I've been working on this. Feel free to try this out. You'll need features branches features/redirects
from trendpress
and trendpress-child
.
To-do's:
trendpress-child
Commit: https://github.com/trendwerk/trendpress/commit/b03df07a4a9f4a437f0da493117b1b165f2010e6
We've just talked about this. Wanted features:
Also, it should be more clear how the UI works. Results based on Source should be displayed first, Destination second. It's not very clear that pressing "Enter" creates a redirect, maybe a pop-out? Let's think about it.
Hi Harold,
Thanks for this nice feature. I tested it today and it looks really good! Here are some bugs I found and some comments:
And some cosmetic comments:
This might be causing bugs as well: http://stackoverflow.com/questions/3902635/how-does-one-capture-a-macs-command-key-via-javascript
To complicate this a little more, here are some ideas for future features:
@sboerrigter Thanks for your feedback.
On cosmetics:
trendpress
ĂĄnd trendpress-child
? Cause it seems like you're missing some styling.Feel free to make changes to the layout.
I'll keep posting updates here.
Fixed a few things:
As far as I see, this basic version is ready to be merged to master. What do you guys think?
Redirect not working
Clear searchbox input
Wrong results for "actie"
âadd a new redirectâ always visible
Add a redirect after the slug of a post is changed
Cosmetic changes
New features
Add a new redirect button I've added a this button. What do you think?
Merge This feature could use some cross-browser testing. Anyone interested in testing IE? Cross-browser test shouldn't get into the way of merging it to master.
What do you guys think? Basic version done & ready for merging?
Look's good. I think it can go to the master branche after the IE test. I don't have virtual machine installed on my machine, so I can't test it.
Maybe @luukdv can test it?
Will do.
Did you get a chance to test this yet? Might be a good idea to implement this for our next project.
Sorry for the delay.
I've tested the redirects in IE10, IE9 and IE8. Nothing weird, all works fine. I think it's ready for master.
Awesome! Thanks alot for testing. Couple of small things to do, like a basic API and move the LESS from child to parent. Will merge to master some time next week.
Merged it in https://github.com/trendwerk/trendpress/commit/455ef8d7db181927fcf5db2e1a76500f7f326ea4. Sorry for the delay, couldn't find time to create the basic API and wrap things up.
We've talked about redirects today. This is what we decided:
class-tp-redirects.php
, this file has to be created with the right hook in it. There will be a wiki article on how to use this.Optional features:
Any additions?
Maybe we should give this some priority so we can still use redirects in new websites.