I have a custom post type ‘profile’. Each profile can be one and only one of either student, staff or alumni, which is set through the ‘profile_types’ custom taxonomy. This gives me permalinks of: www.mysite.com/profile/arthur-mcmillan. What I want is: www.mysite.com/student/arthur-mcmillan I have actually got it to work using the following technique, but it breaks all […]
Is it true that if you put a trailing slash at the end of the permalink, it would load faster for a single or a multisite WordPress post? Also, is this better for SEO?
Based on the link maioman posted, below I have revised this question: I am having trouble getting a custom post type/taxonomy to work. I want a custom post type of Episodes, and the taxonomy for the custom post type to be Episodes with terms that are generated by the user. I was able to get […]
I have a homepage that should display a few different posts from different categories. I use the “Stick this post to the front page” option to this matter and each post permalink looks like http://site.com/sample-post/. Now this site should also feature a blog with articles (these are different than the homepage ones) at /blog with […]
The site http://www.bikefun.org is live and working, but the permalinks are not quite right. It is an event calendar site. Events are stored as a custom post type “bf_events”, with dates stored as integer postmeta values – integer as produced by strtotime(). I’m using a permalink structure /events/2014/09/cyclewise-confidence-training-intermediate-2/ where the year and month are those […]
My wp-config.php file contains define(‘FORCE_SSL_ADMIN’, false); but all my permalinks are https: by default. I want the site to be accessible by http. What do I need to change please?
So I’m having this weird issue on the dashboard where custom permalinks only (default, day and name, month and name etc. those all work fine) doesn’t save. I can choose the radio button and click “Save Changes” and the radio button will revert to one of the previous choices that works fine. And so I […]
I have a WordPress site with a /%year%/%monthnum%/%day%/%postname%/ permalink structure, and now the client wants it changed to /%category%/%postname%/. How do I do a generic redirect for the old permalink structure to the new structure? I checked out https://yoast.com/wp-content/permalink-helper.php, but it creates redirect code for /%year%/%monthnum%/%day%/%postname%/ to /%postname%/, instead of to /%category%/%postname%/
I need to have month/year in all my pages in my wordpress site . For example : If that the page title is ” Online exams ” I need to have it like ” October 2014 online exams” . I have around 10-12 pages and in all archives . I tried with %month% in the […]
Inside the loop I would like to retrieve the URL of an inserted media file of each post. My attempt was: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <a href=”<?php wp_get_attachment_url(the_ID()) ?>”> <?php the_title(); ?> </a> <?php endwhile; ?> But I can’t get it to work. I made sure that there is a […]