davede
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Using Taxonomies instead of categories and permalinksHi,
Using a taxonomy in the URL.
Since the 6 months that have past we are more interested in flat URLs anyway since the caching issuing with /%post-name%/ seems to have been resolved in a recent update to WP.
Forum: Fixing WordPress
In reply to: Use Taxonomy Slug In Post PermalinkThanks for the reply.
Worth mentioning is that the new taxonomy is not part of a custom post type. it is just registering a new taxonomy for all posts.
Would that make a difference?
Forum: Everything else WordPress
In reply to: Permalink Structure: Performance and Content ManagamentHi all,
Thanks for the fantastic replies.
After focusing a bit on our other sites we’ve come back to this issue and examined custom post types and taxonomies.
Creating a new taxonomy seemed the simplest way to go in order to keep posts functioning as posts and allow us to implement our how-to into the permalink with the option of adding ‘news’ or ‘comment’ pieces later on (thanks for the long-term view tip Ipstenu).
Anyway I say “seemed” – but getting the taxonomy children slugs into the permalink is a lot harder than I thought it would be. I just can’t seem to get it working.
I started a new thread on it here. Any help you could give would be very much appreciated.
Thanks,
Dave
Forum: Fixing WordPress
In reply to: WordPress Post URLs – 301 Redirects With Hyphen (–) CharacterHi all,
got around the issue by using the (.+) character to match any character that could be there and then redirect it to the new URL.
e.g.
301 redirect page-(.+)-here/ https://www.example.com/page-here
Hope this helps someone.
Forum: Fixing WordPress
In reply to: Using Taxonomies instead of categories and permalinksever find a solution? got the same problem.
Forum: Fixing WordPress
In reply to: Custom taxonomy permalinksever find a solution?
have a similar issue.
Forum: Everything else WordPress
In reply to: Permalink Structure: Performance and Content ManagamentHi Ipstenu,
Thanks for that advice and example.
I should have clarified a little more on the date topic. I 100% agree that showing the date to the user is of utmost importance. I absolutely hate reading guides that display no date and then later finding out all the info is out of date ??
We would certainly display a ‘last updated date’.
Our concern is really with the URL. After a few mistakes in the past we are really shooting for URLs that do not change with time (see Cool URIs don’t change).
I may have been confused on the implications of using /%year%
/%monthnum%/%post-name%/
. When you change the publish date of the post does the URL update also?I wasn’t aware of custom post types that is a fantastic tip, thank you very much.
I took a look at wpcandy.com (great site btw) am I right in saying they use
/%category%/%postname%/
?Forum: Everything else WordPress
In reply to: Permalink Structure: Performance and Content ManagamentThanks again esmi, you’ve been a massive help – wish there was some sort of rep system on WP forums so i could increase your rep.
I don’t have any doubt that pages could rank just as well in Google when the date is in the url. Our focus is however on the user/visitor. Our content is not news related.
I think what we’re coming back to is the core issue that WordPress is probably not the right platform for the site. The URL limitations and performance issues really highlight what WP is and what it is designed to do: manage sites with time-based content.
Forum: Everything else WordPress
In reply to: Permalink Structure: Performance and Content ManagamentHi esmi,
Thanks for the quick reply. Your help is very, very, much appreciated.
In regards to %year%
Why not use the date?
well just like any good guide it is updated over time. unfortunately the problem with using a permalink structure like /%year%/%month%/ (or whatever) is that not only will our content appear dated but if we change the publish date the URL will change.So we are really hesitant to use the date for one of the reasons you stated:
it results in a more meaningful url for human users
We don’t want the date to be meaningful ??
I’m not a database guru (or any sort of tech guru by any means ;)) however I’m guessing that the database uses the full text within the slash characters to categorise content.
i.e. using /%year%-%post-name%/ won’t help us because WP will read the full text between the slashes and hence treat it as a text string and not numeric.
do you know if that is correct? is it even possible to have a permalink structure like /%year%-%post-name%/ that has two variables within slashes?
Forum: Everything else WordPress
In reply to: Permalink Structure: Performance and Content ManagamentThanks for posting those resources esmi.
I’m a little confused on the number vs text string issue.
Would a permalink structure like /%post-id%-%post-name%/ resulting in domain.com/post-id-post-name/ still cause a performance issue?
Does the post id being first and being a number help at all?
How about changing the permalink structure for pages?
Forum: Fixing WordPress
In reply to: Post Thumbnail / Feature Image Next To ExcerptAh ok,
thank you to the both of you.
So you would pass size parameters (or a pre-defined image size) when using the_post_thumbnail?
Would you then use the AJAX thumbnail plugin to change the size if you wanted to later or how would you change the size?
Forum: Fixing WordPress
In reply to: Post Thumbnail / Feature Image Next To ExcerptAh I tried changing the size using the img.wp-post-image selector and it worked! It’s a little bit confusing that I couldn’t do the same before – i don’t know what i’ve done differently now.
I would like to link them to the post. I tried using this code:
<?php if ( has_post_thumbnail()) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>" > <?php the_post_thumbnail(); ?> </a> <?php endif; ?>
however it seems that it screws up the sizing.
Can I ask, How do most theme developers set up their featured images aka post thumbnails?
do they pass parameters to the thumbnail to set the size or do they just css?
Forum: Fixing WordPress
In reply to: Post Thumbnail / Feature Image Next To ExcerptSorry to be a nag.
Is there any way to change the size of the featured images using CSS in a style sheet?
Forum: Plugins
In reply to: AddThis Plugin and post thumbnail conflictHi,
I’ve also started a thread on the addthis forum here: https://www.addthis.com/forum/viewtopic.php?f=3&t=32280&p=120581&e=120581
I’d think though that the issue is on the wordpress end.
I’ve posted the code i’m using on the addthis thread.
Forum: Fixing WordPress
In reply to: Post Thumbnail / Feature Image Next To ExcerptThat confirms exactly what I was trying to figure out.
Looks like a very valuable plugin indeed.
Thank you so much kees you’ve been a massive help!