1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

Hello,

I just discovered an error on the current theme I’m working, when I changed the permalink structure to

/%postname%/

my custom post type “gallery” page now looks like my blog page.. when I used default permalink structure it works fine..

How do you manage to fix this error.. thank you in advance..

mark

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

no one likes to help? :)

3422 posts
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Community Moderator
  • Bought between 100 and 499 items
  • Referred more than 2000 users
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
+4 more
sevenspark Volunteer moderator says

Do you have a permalink collision? Do you have a page/post named ‘gallery’ as well as a custom post type with the slug/ID “gallery”? That’ll create problems if you do.

439 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 2-3 years
  • Sold between 5 000 and 10 000 dollars
Pixelous says

no one likes to help? :)

I have such an error too. I just reinstall WordPress and database, then it was ok.

1179 posts
  • Exclusive Author
  • Interviewed on the Envato Notes blog
  • Sold between 10 000 and 50 000 dollars
  • Bought between 10 and 49 items
  • Referred between 200 and 499 users
  • Has been a member for 6-7 years
mabuc says

Do you have a permalink collision? Do you have a page/post named ‘gallery’ as well as a custom post type with the slug/ID “gallery”? That’ll create problems if you do.

thanks that fixed the problem..

by
by
by
by
by
by