Problems with the url/slug

Hello team,
I have problems to get the right URL structure or the right slug.

I would like to have:
.com/projekte/preise/

But instead I get:
.com/-category/preise/

or

.com/leistungen/auftragsmalerei/buehnenbilder/ buehnenbilder2/

instead of

.com/x-portfolio/buehnenbilder2/

can you please help?

best greetings from berlin,

chris

Hi Chris,

1 You can change the portfolio slug under Appearance > Customize > Portfolio > Custom URL Slug.

2 You can change category slug under Settings > Permalinks

For more information kindly refer to the links below.

https://codex.wordpress.org/Using_Permalinks

Hope that helps.

Thank you first, but I believe it has to do with the uber menu and the dynamic terms, which I have chosen. Do you have a solution for this? Thanks in advance

Hi,

Can you take a screenshot of your uber menu settings.

You could also try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

Let us know how it goes!

okay here is the screenshot of the first dynamic terms

Regretfully, we don’t have a solution for that. Please use the setup suggested previously.

Thanks.

I’ve tested this, but there were no changes. Neither here Settings > Permalinks nor here Appearance > Customize > Portfolio > Custom URL Slug.

Is it possible to delete -category from .com/leistungen-category/deckenmalerei1 ?

Hi There,

Would you mind providing us with login credentials so we can take a closer look on your permalink settings? I am not sure where the -category is coming from by default. Please provide following information:

Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password

All the best!

Thanks in advance!

Hi there,

I checked your website and could not find the problem cause. First I went to portfolio categories and saw you used the same slug for portfolio category which is wrong:

You can not use the same slug for main category and portfolio category.:

The other point is that the multilingual plugin which you used seems to be problematic with X. As I checked the portfolio items and they all redirect to 404 (Not Found) page.

Thank you.

hello, thanks for checking the website. The 404 error was related to the custom url slug. I changed the custom url slug and now the links working again. The multilingual plugin is working well and had nothing to do with it.

i want a url like this :
/leistung/auftragsmalerei/buehnenbilder/buehnenbilder2/

instead of

./leitsung/buehnenbilder2/
is this possible?

Hi there @christianthomas2,

You could have variations on different permalink structures which will all originally come your main permalink settings under your wp-admin > settings > permalink. For example you could use category and post name. This would give you a setup such as:

/portfolio/category-name/portfolio-item

Whereby the actual names themselves are whatever you’ve named the portfolio item within your settings.

Hope this helps.

Thanks!

Hello, I have already tried this and that is now set so, but something else is displayed …

Hi There,

I did check and I can see the issue. We’re sorry for the confusion:
That permalink setting is general to posts and pages, and custom post type aren’t included. When custom post types are registered, you will have to supply a valid slug. And that can be setup at Theme Options Portfolio. That’s the basic, but:

Permalink is a very wide topic, and much complicated. Blog posts and category is hardly wired together by default so no coding required. But with custom post type (x-portfolio) and custom taxonomy (portfolio-category), you will have to do customization to create your own permalink. Just like this http://wordpress.stackexchange.com/questions/53515/adding-categories-to-custom-post-type-in-permalink

You may use plugin such as this http://wordpress.org/extend/plugins/wp-permastructure/, but we can’t really help you with this issue, as this is not covered by our capability as support. Just remember that working with permalink may ruin your site if you’re not familiar with it.

Thanks.

1 Like

okay, i didnt make it. i delete the portfolio and create pages.

Let us know if you need further assistance.