0
votes
0answers
21 views

make a post or page permalink based category

I have two language categories on my site, English and Indonesian. How can I create permalink post or page based on category slug such: example.com/en/page example.com/id/page or ...
0
votes
0answers
44 views

how do i add posts-page slug before posts slug in permalinks

I have a posts page and the page slug is /blog my current permalink structure is /%postname%/ when i click on a blog post. say for example the posts slug is adrenaline-rush the url is ...
0
votes
2answers
77 views

How to update all post at once?

Is there a way to update all post at once? The issue is, when i migrated content from another CMS, some of the permalinks are working fine and some of them are not, when i updated the posts all links ...
0
votes
2answers
43 views

How to controll the Posts post type and general wondering about WP data structure

I want to: Control the name of the Posts post type, like I can with custom post types Set an archive page for posts e.g. example.com/posts, like with custom post types Control the archive slug, like ...
0
votes
0answers
89 views

Is SEO the Wordpress auto-redirect wrong category aliases to correct (if is changed)?

I had a Joomla! website until now, and at this moment I want to move my website to Wordpress because Joomla! have too many processes and limitations. Now I move my content from Joomla! to Wordpress ...
0
votes
1answer
359 views

Change the Slug of Post Type post to baseurl/post/%postname%

I have been searching around but i cant anywhere find the answer to my question: How to change the post slug for all posts (and the categories etc.). Without affecting other pages/ custom post urls. ...
3
votes
1answer
71 views

Determining Slug Before and After Edit

If I were to edit a post or a page, how would I determine what the slug was before the edit, and again afterwards to compare them and see if it was changed? Also, would the same method work for any ...
-1
votes
1answer
41 views

Echo author slug in post edit page

On the Post edit page in the back-end, how do I echo the author's user_nicename? I am referring to the author of the post, not current user.
-1
votes
1answer
79 views

Two Custom Post Types with Identical Articles Competing for the same Slug

I have created two custom post types, each with it's own slug. Each custom post type contains some articles with the same title. So ideally I would have . . customposttype1/mainarticle/ ...
0
votes
2answers
144 views

Wordpress custom post type with folder structure in slug

I have setup a custom post type with the slug "interview" and it is working fine. I am trying to change the slug to "magazine/interview" but I keep getting 404 errors when I try to access the posts ...
2
votes
2answers
510 views

how to automatically generate random slug

I have tried to create a function that generate a random slug when a post is created. I am a bit worried that the function generates non unique strings as slugs. How can I solve this? The function ...
6
votes
1answer
318 views

Custom Post Types, slug, archive and SEO plugins

I made a custom post type called "friends". I am able to correctly list my friends using this urls: http://mysite/friends/friend1/ http://mysite/friends/friend2/ http://mysite/friends/friend3/ ...
1
vote
1answer
616 views

Change slug with custom field

I want to change the slug of a post with a custom field. In example, if the custom field is "keyword" my post link will become: mysite.com/keyword. If the custom field is empty, i want to generate a ...
1
vote
1answer
3k views

How do I get the slug of a custom taxonomy category of a post?

In my template file, I loop through posts that are categorized either web, print, or marketing in a custom taxonomy portfolio. How do I echo the slug of each posts category?
0
votes
1answer
136 views

retrieve post slug by post_tags taxonomy

My scenario: I have a part of a site which retrieves all post_tags terms for a specific category the code: query_posts('category_name='. $category[0]->cat_name); ...
3
votes
3answers
663 views

How to control which category will be picked for the slug of a post?

I'm using the permalink structure "/%category%/%postname%/". What bothers me is that I have posts that belong to two categories. And of course, unfortunately, Wordpress always picks the wrong one for ...
0
votes
2answers
1k views

Automaticly add slug to posts

I'm using a us/news/%postname%/ structure for my permalinks. This works great for regular posts. However, I have a few different custom post types, and I don't want the us/news part in their slug. ...
1
vote
2answers
73 views

Define a name to the posts slug

I would like to use the url http://site.com/post/title-of-the-post for my posts and I've saw in my admin page I have the current url http://site.com/%slug%/title-of-the-post obiouvsly incorrect. How ...
0
votes
1answer
3k views

Show all posts in category

I am trying to show all posts in each category. I've been searching around and it seems I need to have either the category slug or term_id to do so, like the code below. <?php ...