WooCommerce custom permalink structure causing problems - wordpress

I've encountered a huge problem. I've changes my WooCommerce permalinks to this structure here:
/shop/kategorie/subcategory
When I now click on a category I'm getting a 404 issue. Do you know why? Before I did this my structure was:
/kategorie/subcategory
With this all worked fine but I want to make the domain look better with the whole path.
My custom category base:
/shop/kategorie
My custom product base is now:
/shop/kategorie/%product_cat%/%post_id%/
So is there any solution to fix this issue?
Update
I forgot to say, that when I open a product by directly, without the step going thru the subcategory, all works fine and the URL is correct as well.

Related

ebase,URI Added to my URL. How to replace?

I'm facing this weird issue on my WordPress site. I'm using SEOPress for my SEO stuff and generate an error saying
https://www.sitename.com/blog/xyzpath/e,baseURI
But if I remove the e,baseURI everything works fine. Mostly this happens in my blog pages and my permalinks structure looks like
/%category%/%postname%/
I don't know where it comes from and don't know how to get rid of this.

Product links redirect to wrong single product url on woo-commerce

I am using Woo-commerce for an E-Commerce site. All was going right. But now i am facing a serious problem with product url. When someone click on product thumbnail from product list page he/she is redirecting to wrong single product page. This problem is not for all products. But mos of the products are behaving like this.
I searched the solution on google for this, but I didn't found anything.
Can anyone please help me on this. I think this problem is running just after the new update of Woo-Commerce. Below is my E-Commerce site link.
https://www.pet.com.bd/cat-food/
Thanks.
Your site seems to be working fine on my end.
You can try the following:
Deactivate plugins to see if that causes the redirection
Try to change your permalinks to default and then back to pretty links
Relist the product (delete and remake)
Check your htaccess file (some plugins might edit this and cause errors)
Good luck!
Find the product or page that is displayed instead of the correct product. Go to that page or product and change the slug.

Change /product-category/category/name to /product-category/name

My product category urls currently look like: /product-category/category/category-name
Where the category-name is the only changing part. I would like to change /product-category/category to just /product-category, so my final url would look like: /product-category/category-name
Most of my google searches have yielded results relating to removing /product-category but I haven't found anyone talking about having this redundant extra /category in the url.
Any help is much appreciated.
You can solve this right in Wordpress. When you install woocommerce, a new setting shows up in you permalinks settings. In your wordpress dashboard, go to Settings > Permalinks. Then when you scroll down beneath your regular wordpress permalink settings you will see one for woocommerce. There you can choose what you want to actually display.
Hope this helps out.
Update after comment
Ah I see, I read to fast. I would think you would have to do a rewrite to the core wordpress function for categories. Probably a decent amount of work in creating your own plugin to do it. Looks like this plugin does a good job of it but I haven't used it. Let me know if it works.
http://wordpress.org/plugins/no-category-base-wpml/
Let me know if it works

Setting up wordpress categories URLs

I am working on a Wordpress application. I have created a custom page for articles landing page. The permalink for articles is working fine but I have problems when I click on a category name. For example: If I click on "jobs" category the URL looks like http://www.mysite.com/category/articles/jobs/. I want it to look like http://www.mysite.com/jobs/.
I am not sure if this is something I did that is causing this or just default wordpress behaviour. So, any ideas/suggestion how I can fix this?
Thanks.
I think your solution is either in this plugin or in its source code:
http://wordpress.org/plugins/wp-no-category-base/
It will work as long as you don't use the same slug for a page and a category (because they will in this case have the same permalink).

Redirect Error in Wordpress

I have one website which was working perfectly then for adding meta tags and all, I have SEO-ULTIMATE plugin.
By mistake I have added Title, so my url also changed after it.
So to change it back to again what I have changed the direct url,
And then also it was not coming properly.
So i changed in redirection the new url was coming, So i changed to old one.
But then also its coming error "Redirection Loop Error".
Then i tired to remove that page which was giving problem.
And again created new page with the same name.
But now i m again trying to give the same url but its not able to give, and its coming like "page-2". but that also not able to retrive that page.
try to use this plugin http://wordpress.org/extend/plugins/custom-permalinks/ I use it when I want to change specific post/page permalink. This should work for you too.
Yes Nikola, I have tried the same.
I deleted page from trash and from the database also.
Now its working fine. Thanks for replay. :)

Resources