Remove Category From Wordpress Urls With A Dot - WapForum | No1 Online Public Forum - Page 1 - WapForum | No1 Online Public Forum - Page 1
logo

Home
Advertise
Blog
Sell

All Wordpress Themes







You Are Currently Viewing This Forum As A GUEST!.
You Are Restricted In Some Area
Login Or Register
To Have Full Access To The Forum .


[-]
Tags
a remove wordpress with urls dot category from

Remove Category From Wordpress Urls With A Dot


(281 Views )
Remove Category from WordPress URLs with a Dot
1. Go to Settings -> Permalinks.

2. Select Custom Structure and put /{136ce94cc7fec1f5657bab0b4d73ed308318c1024f899c463e79e42d4b375fbf}category{136ce94cc7fec1f5657bab0b4d73ed308318c1024f899c463e79e42d4b375fbf}/{136ce94cc7fec1f5657bab0b4d73ed308318c1024f899c463e79e42d4b375fbf}postname{136ce94cc7fec1f5657bab0b4d73ed308318c1024f899c463e79e42d4b375fbf}/ there.

3. Assign a dot to Category base field and save the change.
[Image: remove-category-slug-using-dot.png][img=360x0]https://themerella.com/wp-content/uploads/2018/02/remove-category-slug-using-dot.png[/img]
Note that providing dot to Category base in settings is the must. As leaving it blank will use the default value. Visit a post after saving settings and check the URL, it won’t have the category base now. While this trick currently works, there’s no assurance that it will work in the future as well.
Remove Category From Your URLs with .htaccess

PHP Code:
RewriteRule ^category/(.+)$ http://www.yourwebsite.com/$1 [R=301,L]

You can also add this code to your .htaccess file through FTP rather than using a dot. Add the code before the closing tag in the file and it will remove the category slug from WordPress permalink.

Are You using Yoast SEO Plugin?

The current version of SEO by Yoast plugin has discontinued the option of category removal from URLs. Past version had the option in the Advanced menu of plugin settings. The websites who’re using Yoast for a long time, still have their URLs without the category base.
If you’ve installed Yoast plugin on your fresh WordPress website, check the post URLs as well. While we’re not sure, the feature might be still there and working silently. Else there are other plugins as well to remove category slug.

Removing Category from Slug using a Plugin.
The plugin Remove Category URL seems quite popular and offers additional advantages. You can try the plugin if your website is older than 6 months. It will redirect the old category permalinks to the new ones, which is better for SEO. Also, you don’t need to configure anything or modify a file. Get the WordPress official plugin URL here.
FV Top Level Categories is one another plugin to remove category base from WordPress Permalinks.
Writing a function is also a way for the functionality but it makes the site slower. At last, all four ways to remove the category slug from URLs are there. Which one do you prefer or any feedback/question? Let us know it the comment section below and try resolving

Quote

Share This Post To The World



You Are Currently Viewing This Forum As A GUEST!.
You Are Restricted In Some Area
Login Or Register
To Have Full Access To The Forum .




Possibly Related Threads...
Thread
COMING SOON: 043coded 2019 Wordpress Theme Edition
MUST READ: Naijaloaded Wordpress Theme

Wapforum.com.ng Is The Next Big Hits Online Public Forum In Nigeria




Users browsing this thread: 1 Guest(s)






Copyright © 2019 Wapforum.Com.Ng
Owned by Flexible


Powered by MyBB.