Hi!
We have a strange issue with posts URL’s: we want the URL structure for our blog site like this one:
http://www.mysite.com/blog/post1
http://www.mysite.com/blog/post2
But we obtain this:
http://www.mysite.com/post1
http://www.mysite.com/post2
We have changed the Category base to “blog” but nothing happens!. We have last versions of Enfold & WordPress running on our site.
Please help! This is the last thing we need to solve before publish our new site online
Thanks!
Hi Sergio!
Try with this in Permalinks – http://screencast.com/t/Jyn4axeur
/%category%/%postname%
Best regards,
Josue
Hi Sergio!
Check it now, i changed it to /blog/%postname%/
.
Best regards,
Josue
Hi!
Add this to your child theme functions.php:
add_filter('avf_portfolio_cpt_args', 'avf_portfolio_add_custom_fields', 1);
function avf_portfolio_add_custom_fields($args) {
$args['rewrite'] = array('slug'=>'portfolio', 'with_front'=>false);
return $args;
}
That will prevent the portfolio items to be affected by the Post permalink structure, so you can use /blog/%postname%/
.
Best regards,
Josue
Hi Josue!!
Now all works fine. Great support, as usual!
Thank you very much,
NOTE: I needed to clean the cache plugin to make it work. Just to maintain you informed for future cases
Best regards,
Sergio
You are welcome Sergio, glad to help :)
Regards,
Josue