to change url structure for blog posts in wordpress - wordpress

I want to add parent to posts in wordpress, for that I need to change the permalinks, but I am not able to figure it out.
for e.g. if the current url is www.abcd.com/postname
I want it like this, www.abcd.com/posts/postname
Thank you in advance

First, you need to visit the Settings » Permalinks page in your WordPress admin. There you need to click on the ‘custom structure’ option under the common settings area.
Next, you need to add /%category%/%postname%/ in the field next to the custom structure.
I have used /%category%/ just as an example. Change it accordingly.

Related

How do I find the parent URL on a webpage (Wordpress)

I am working on a website for a company right now and I am running into this issue:
The original URL is similar to this: mysite.com/industrial/ where industrial has 4 subcategories which each have 2-6 pages within them. I changed the original URL to mysite.com/products/ but the subcategories and pages within are not changing to include products in their URL - they still use industrial.
For ex.: mysite.com/industrial/abc/ should be mysite.com/products/abc/ but it stays as mysite.com/industrial/abc/ after I made my change.
I assume that the subcategories are in a folder called industrial (I did not create this website so I do not know), however I can't find that folder anywhere and I'm not sure where to look. I have tried to go in to each of the subcategories and change their URLs, but I can only edit the abc part of the URL and I can't touch the rest.
** This was all done on Wordpress with a custom theme created by another company. Thank you in advance for any help you can offer!
EDIT: For anyone who is also struggling this problem this is how I solved it:
Go to Plugins -> Plugin Editor
At the top there was an option called "Select plugin to edit" -> chose the one that is custom to your website
I found the information that was suggested by Phil in the comment section on this website
I updated the names of my fields in the rewrite permastruct section for register_post_type as well as register_taxonomy
Update the page and flush your permalinks and you should be good to go!
Check what is the defined slug when registering the custom post type.
Whenever a new Custom Post is added through a plugin or them, then the permalinks needs to be flushed.
In the WordPress admin area, go to “Settings > Permalinks”. Click “Save Changes”. The permalinks and rewrite rules are now flushed.

Wordpress custom post type modify data in rows

Check the image below
I have already modify the link for Edit link using "post_row_actions" filter.. But i need the help with this..
You can't change links for the backend. If you want to change link of your post use Settings -> Permalinks. You can change the links of posts, pages, etc.

Rename category in permalink

I'm looking for a way to rename a category in the permalink of a WordPress site.
I currently have this:
http://mywebsite.com/category/some-blog-post/
I want this:
http://mywebsite.com/company-news/some-blog-post/
I found a way to do it via .htaccess file, but I would prefere not to do it, because it temporarily lowers PageRank. Is there a way to do it on backend?
Yes, go to settings/permalinks and just change the category base name and it goes the same for tags. here is a screenshot:
http://webmasteradvise.com/wordpress/rename-category-and-tag-slug-in-permalink/
To change it go to Settings » Permalinks and scroll down to Optional. There you will see a form to change category base and tag base. For example you can change http://www.example.com/category/your-category-slug/ to http://www.example.com/new-category-base/your-category-slug/

How to use custom permalink for specific category in wordpress post

My current permalink is set to /%postname%/.
I want to keep this. but I want to use custom permalink for a specific cateogory "blog".
Can anyone help me, how to achieve this without using plugins?
I found this solution: "Add Custom Taxonomy Tags to Your WordPress Permalinks". It might help you as well. See here: http://shibashake.com/wordpress-theme/add-custom-taxonomy-tags-to-your-wordpress-permalinks

Wordpress permalink

I have been having a few problems with my blog and was hoping someone on here may be able to help me out, i have set it up so the the blog is not on the home page but sits on a different page e.g. /blog/.
The permalinks for posts were set to /%category%/%postname%/ and were displaying as so site.com/category/postname, i wanted it to keep the blog prefix (site.com/blog/category/postname) so i changed the permalink structure to /blog/%category%/%postname%/ to work.
Now i want to remove the category base, i have done this by putting /. in the field but this removes /blog/ from my permalink. Is there any way around this?
Sorry if i have missed out any crucial information, let me know and i will add it!
Thanks a lot!
Try this plugin http://wordpress.org/extend/plugins/wp-no-category-base/
You can learn more about this plugin http://tutslog.com/tutorials/plugin-wordpress-supermalink-139.html if you want add dynamic permalink content

Resources