Changing slugs isn't working
-
I’ve saved permalinks multiple times, I’ve tried editing slugs on individual users. I deactivated every plugin I could and still have the site load (WooCommerce & Advanced Custom fields had to be active).
The problem is that I’ve set a user to have their profile at: https://artclickireland.com/artists/angela-byrne-oleary/
However when I call
<?php $author_post_url=get_author_posts_url($curuser->ID, $curuser->nicename); ?>
it returns https://www.artclickireland.com/artists/AngelaByrne%20O%20Leary/The plugin is correctly moving the author’s actual page. However the function get_author_posts_url isn’t working to get the correct page. This user is one example, it errors on all users — changing their slug on their user profile moves the actual page, but doesn’t change what get_author_posts_url returns.
- The topic ‘Changing slugs isn't working’ is closed to new replies.