‘View Post’ button does not open expected URL
-
Hello. I currently have a live site at https://www.mydomain.com and a private dev site at https://www.mydomain.com/dev/. Both are located on the same server. On my dev site, I am trying to use your plugin to modify post permalinks. But I am encountering an issues. I will describe it.
I currently have a blog post with the title
blog-title, and a permalink ofhttps://www.mydomain.com/dev/blog-title. I would like to use your plugin to ensure all blog posts have the wordbloginserted into the permalink. So for example, I would like to change the permalink of my blog post tohttps://www.mydomain.com/dev/blog/blog-title. To do so, in Permalinks Customizer–>PostTypes Settings I have addedblog/%title%/to thePostfield (screenshot). I saved those settings, then opened the post in-question for editing, and clicked ‘Regenerate Permalink’. If I then click the defaultView Postlink provided by WordPress (screenshot), the post opens with the new URL as expected (https://www.mydomain.com/dev/blog/blog-title). But if I instead click theView Post*button* provided by your theme (screenshot), then my browser tries to open a new tab with the URLhttps://www.mydomain.com/blog/blog-title/, and of course encounters a 404 error.How can I resolve this?
Thanks.
The page I need help with: [log in to see the link]
The topic ‘‘View Post’ button does not open expected URL’ is closed to new replies.