Change category page wordpress link - wordpress

Is it possible to change the archive page link for category in wordpress from 'mysite.com/category/mycategory' to 'mysite.com/mycategory'.

Use this plugin - WP No Category Base
It also redirects your old url to new one.
And its always safe to take a backup before playing with url's.
Or you can read this for doing it without using a plugin

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.

Create WordPress posts with links under /blog

My current set-up results in posts being created under the webroot:
www.domain.com/my-post
www.domain.com/my-other-post
How can I make it so posts are created "under" /blog/:
www.domain.com/blog/my-post
www.domain.com/blog/my-other/post
Editing the permalink results in the / needed being turned into a -.
Is there a setting the force posts under a parent?
Use https://wordpress.org/plugins/custom-permalinks/ plugin and just add blog in url before post name,it will work
As at WordPress 5.2.2, in Settings > Permalinks, in the Common Settings section, the option to set a custom structure for permalinks exists for posts.
The default is set to Plain, which results in /?p=123 style posts. Switching to Custom Structure allows the switch from the default of /%postname% to /blog/%postname%.
My existing posts now live under /blog/ along with newly created ones.
As a side note, if the site is already live then redirects might be needed if you have post links out in the wild.

How can I access wordpress blog posts url when I used stable page as my blog home page?

I chose a single page as home page in my WordPress blog setting, but I want my posts to be visible as well. Is there a url (or any other way) to access the posts list (like the homepage in normal WordPress blogs)?
In order to do so, you can use recent posts widget plugin.
This demo can help you out (Seek video to 1:00).
Yes there is.
first add new page to your website.
then go to setting>reading and select that page in post page field

Wordpress: How to change the clean URL of posts under a parent page?

I managed to create a page for all my posts and it works ok. But I want to change the clean URL of my posts. How can I change that via the wp admin area? or do I have to fiddle with the code?
For instance,
http://wordpress-4.com/hello-world/
to
http://wordpress-4.com/blog/hello-world/
I have a page called Blog and its url is,
http://wordpress-4.com/blog/
So I need to have blog/ in front of all my posts.
Any ideas?
Go to Settings -> Permalinks in the WordPress admin.
Under custom enter into the field blog/%postname%/.

How to remove the /category/ from the URL in Wordpress?

So, I have a website for news and I have the following:
www.mywebsite.com/category/football
www.mywebsite.com/category/basketball
www.mywebsite.com/category/tennis
Etc... how can I remove /category/ from these, so it only works with /football dir.
Any help is appreciated.
Easiest thing to do is use a plugin and not .htaccess rewrite rules or changes to the permalink settings in WP admin. The plugins below will remove the category base for category archive pages as well as single posts. The category or tag base will revert to normal when the plugins are deactivated without post 404's.
See http://wordpress.org/plugins/wp-no-category-base/ and, if needed, http://wordpress.org/plugins/wp-no-tag-base/
http:/yourblog.com/category/quotes/
If you want to remove /category/ from the url, follow these two steps:
Go to Settings >> Permalinks and select Custom and enter: /%category%/%postname%/
Next set your Category Base to /.
Save it and you’ll see your URL changed to this format:
http:/yourblog.com/quotes/
Taken from http://premium.wpmudev.org/blog/daily-tip-quick-trick-to-remove-category-from-wordpress-url/

Resources