Hi,
I found a problem that generating a PHP Warning on the file admin-notices.php
at the line 281
. This is the PHP warning:
opendir(/EXAMPLE_PATH_TO_DIR/wp-content/plugins/../mu-plugins): Failed to open directory: No such file or directory
I think that you can fix it replacing the row with this:
$plugins = get_mu_plugins();
There is a WordPress function that do this. Can you fix it please?
PS. I use PHP 8.1
]]>Hi. were testing some blogs on our site and we notice that the url with uppercase and number will not work. example test123 and the user put /TEST123 . page will show not found. The settings on permalinks is only postname.
]]>I have a case where I wanted to show all posts landscape paintings that were sold. (in both the “landscapes” and “sold” categories). My URL would then look like: example.com/paintings/landscapes+sold. If this plugin is disabled, example.com/category/paintings/landscapes+sold works fine. If the plugin is enabled, neither of the previous two URLs work. I also tried example.com/paintings+sold in case it was an issue with subcategories and this also got the 404 error when the plugin was enabled.
Is there a way for your plugin to work when categories are specified this way?
]]>Hi,
the “category” was removed: https://www.domain.com/blog/football/category/subcategory/post
but this plugin removed also the Category base set in WP settings, so now I have this:
https://www.domain.com/football/subcategory/post
and the subcategory posts gives 404
this should be the correct structure:
https://www.domain.com/blog/football/subcategory/post
has anyone succeeded?
Thanks to anyone can help!
Angelo
I have subcategories and I can’t get this plugin to show them properly. When turned off, I get the ULR of mysite/category/maincat/subcat.
But when I turn it on, mysite/maincat shows a white page, and mysite/maincat/subcat tries to download a file.
Will this work for sites with subcategories?
]]>Before I do this I want to make sure I don’t create a massive problem for myself.
I want to remove category but want to make sure I don’t get hundreds of 404’s after.
How does this work? I have %category%%postname% structure.
Also what if I have links built to these posts. Do I loose those?
Thank you,
Regards,
Armands
Hello,
I have lots of articles with categories on my website. If you click on the category you get the category site. Example: https://www.mysite.de/category/myCategoryName/
That site is generated by WordPress but I want my own category site(s).
I added a normal page called myCategoryName with an article module (just the articles of myCategoryName) and some other stuff like text. the url is https://www.mysite.de/myCategoryName/
Then I used “Remove Category URL” and I successfully get that link if I cick on the articles category: https://www.mysite.de/myCategoryName/
The “Remove Category URL” works fine but it’s not the solution for me.
I hoped that the link will call my normal page but it called the generated page. So my page can’t be opend anymore, it’s always the generated page.
Can I modify the plugin to not call the generated category pages?
Regards,
moefeu
Kindly assist me in this issue None of my custom links are working. Not even Category with base.
]]>Hello,
Does this plugin also work with WooCommerce categories?
Kind regards,
Joren
]]>Hi, thanks for your plugin.
I have the news section (slug “news”), type mysite.com/news/ url everything is ok, I type mysite.com/news/amp/ url and I get redirected to a post that starts with mysite.com/ news-name-title ….
How can the problem be solved?
I disabled the AMP plugin, nothing changes.
I await your reply.
Thank you
Hi,
I have my own page as category and saw errors at google search console.
There was /category/ included to the links and that giving an error.
I decided to use your plugin but after activating it my page as category switched to the normal category page which is looking bad. How can I avoid that and showing the normal page as category with removing the /category/ slug from urls?
Thx for response.
Best wishes,
mistacup
This has been reported several times by others. On line 72 in remove-category-url.php,
add_filter( 'terms_clauses', array( $sitepress, 'terms_clauses' ) );
should be replaced with
add_filter( 'terms_clauses', array( $sitepress, 'terms_clauses' ), 10, 3 );
(3
or 4
, doesn’t really matter). Otherwise using the plugin in combination with WPML results in an internal server error when saving files (using PHP 7.2 or higher).
The reason for this is that in WPML’s wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php file, the function terms_clauses
is defined with 3 arguments. In PHP < 7.2, empty arguments were assumed null
. In PHP >= 7.2, this results in an error.
@valeriosza: can you fix this? Thanks.
See also:
https://www.ads-software.com/support/topic/wpml-problem-after-update-102-fix/
https://wpml.org/forums/topic/plugin-conflict-wpml-and-ultimate-member/
https://wpml.org/forums/topic/error-500-too-few-arguments-to-function-sitepressterms_clauses/
https://www.ads-software.com/support/topic/bug-with-wpml-2/
Please help me with the problem this other user is describing:
https://www.ads-software.com/support/topic/sub-categories-404ing/
]]>in the main menu the link is working (the second form right – “??????”, “Games” in hebrew) but on the page itself, on the left side, under the games thumbnails the link is broken, i have tried to create a button and a link, but they are not working… it sends to a 404 page (in hebrew)
]]>This plugin has zero use.
All you need to do in order to achieve this behaviour, is to use a “.” in the category base AND use /%category%/%postname%/ in Custom Structure.
Done.
]]>I created a custom post type, and after installing your plugin, I successfully removed the middle part of mydomain.com/partIdontwant/nameofpost. I’ve now created a new custom post type, but I cannot remove the middle part of the URL. I’m seeing mydomain.com/newCustomPostType/nameOfPost, in this case I want to remove newCustomPostType. Why is it working for the first custom post type but not the second post type? thanks in advance.
]]>Hi,
Thanks for the plugin.
It seems that it creates and issue when using non-latin characters (specifically Thai and Japanese in my case) in the URL.
When clicked on the category as a link within the site you get it, however if refreshed or if going directly to that URL there is a 404 message.
I’ve seen this issue in the forum before but couldn’t solve it.
Please assist.
Thanks
]]>Hey developers!
I have some pages which have parent pages (we need this more for back-end organization). So the permalink of the parent is also added, for example:
https://mysite.com/about-us-2/test/
Would this plugin work in this case and make the page link as this?
https://mysite.com/test/
Hello,
I got these errors appearing on my live site plus at random points within Woocommerce:
Warning: Missing argument 2 for SitePress::terms_clauses() in /home/moxoneng/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 2563
Warning: Missing argument 3 for SitePress::terms_clauses() in /home/moxoneng/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 2563
Seems to be a conflict with the Woocommerce Multilingual plugin. For now I resolved it by uninstalling this plugin and using an alternative (https://srd.www.ads-software.com/plugins/wp-remove-category-base/).
]]>I have the plugin installed. All top level categories are resolving just fine, but when I create a new sub-category and then try and go to it I get a 404.
For example: https://www.mysite.com/top-level works just fine
but, https://www.mysite.com/top-level/sub-cat sends me to a 404 page
I saw that the plugin is supposed to support sub-categories in the url. Any clue why this break might be happening and how to fix it?
Thanks in advance!
]]>When I active this plugin url is change but post is not come from archive page. You have any idea why create this type of problem ?
]]>Hi,
I just now installed “remove category url” plugin, it works fine but few mins later I uninstalled just to get back my URL as domain.com/category/categoryname. it works as like before but working only in chrome browser and NOT in Mozilla.
As author said”A particular installation does not allow the rewrite feature in disabling the plugin. Try after disabling the plugin, save permanent links again.” I did this too! but it doesn’t work
Pls help me!
]]>Hi, I used your plugin for a while and it worked wonderfully. For various reasons, I need to remove it now as I want a different design in the way blog posts are shown and this new thing requires pages to be created at the same address. While removing your plugin, I ran into a problem. It does not seem to undo the changes it did. How can I change back to /category/blog for my “blog” articles so that /blog is free again for a page? I tried saving again categories and pages permalinks (as indicated in the FAQ), but it doesn’t seem to work. Are there any settings I can change back in the database? What changes does your plugin actually do? Thanks a lot for the help!
]]>This plugin made all my pages impossible to display.
Disabling the plugin didn’t help.
There is some indication uninstalling might create problems in the FAQ section, but the author is not English native (not am I) and seems like it is a case of broken English:
“The plugin has been uninstalled, but the slug /category/ did not reappear why?
A particular installation does not allow the rewrite feature in disabling the plugin. Try after disabling the plugin, save permanent links again.”
There are others reporting this plugin created problems, but the author doesn’t seem to be too eager to help.
I did check my .htaccess, I tried saving Settings/Permalinks again, not success.
]]>I was able to successfully remove ‘/category’ base from url for top-level pages and posts using this plugin and setting permalink structure to post name.
However, I am having trouble removing the parent category base from urls for sub-category pages (eg. ‘/brands/nike’). How can I accomplish removing these base/parent categories from sub-cat pages?
Thanks in advance!
]]>when redirecting from old category and there is polylang plugin used.
i would fix redirect_old_category_url like this:
public function redirect_old_category_url( $query_vars ) {
if ( isset( $query_vars['rcb_category_redirect'] ) ) {
if (function_exists('pll_home_url')) {
$home = pll_home_url();
} else {
$home = get_option( 'home' );
}
$category_link = trailingslashit( $home ) . user_trailingslashit( $query_vars['rcb_category_redirect'], 'category' );
wp_redirect( $category_link, 301 );
exit;
}
return $query_vars;
}
]]>
hello,
first i want to thank you about your effort
i have a little problem with my website
my URLs are in Arabic to it looks like that
https://www.ahlamtafsir.com/%D8%AA%D9%81%D8%B3%D9%8A%D8%B1-%D8%A7%D9%84%D8%A7%D8%AD%D9%84%D8%A7%D9%85-%D8%A7%D9%84%D8%B8%D8%A7%D9%87%D8%B1%D9%8A/
if you check it you will get 404 not found error
if you check the same URL in lowercase like that
https://www.ahlamtafsir.com/%d8%aa%d9%81%d8%b3%d9%8a%d8%b1-%d8%a7%d9%84%d8%a7%d8%ad%d9%84%d8%a7%d9%85-%d8%a7%d9%84%d8%b8%d8%a7%d9%87%d8%b1%d9%8a/
it will work
if i disable the plugin the tow variants of the URL will work
so please fix it so the plugin work correctly with encoded urls like arabic
Thanks a lot
I have just spent the night solving a similar problem with a post slug I wanted removed. It’s taken me all night to achieve it.
Now in closing all the browser tabs I had open, I’ve got to tabs I had open a few days ago. This plugin included.
This plugin solved the issue I had with an undesirable category I wanted gone. Thanks!
But now I’ve just had the thought that this could (possibly) be easily modified to work with custom post type slugs!
If so, that could be a handy fork of your plugin, or extra functionality within the same plugin.
I can send you the code I used to achieve my result if you’d like, or not.
Cheers on the good work, thanks!
]]>Every time I change any category name this plugin resets my .htaccess file to default. It crashes my site as I have my custom redirects there
]]>Hi
Looks like great plugin
On first upload of archive page it works perfect but when I refresh the page or land there from an external link the url stays the same but produce 404 page…and from that moment on it stays like that
any idea whats wrong?
thanks
pikaya