Why I can't change the permalink of a WP page?

I wonder if you can help me, please?I have the following problem with a permalink. I have tried to change the permalink

I wonder if you can help me, please?

I have the following problem with a permalink.

I have tried to change the permalink for the following link from / to /

by going into page on the Dashboard and editing it there. Each time that I save it, WP changes it back to what-are-impact-goals-2. I can change it to other things (eg impact-goals) but not to what-are-impact-goals.

I searched for help and one recommendation is to empty trash. I have no pages in trash.

Other is to check Media. Again, no similar link.

/ takes me to my homepage.

I presume that WP has what-are-impact-goals recorded somewhere. Any ideas?

I wonder if you can help me, please?

I have the following problem with a permalink.

I have tried to change the permalink for the following link from https://impactgoals/what-are-impact-goals-2/ to https://impactgoals/what-are-impact-goals/

by going into page on the Dashboard and editing it there. Each time that I save it, WP changes it back to what-are-impact-goals-2. I can change it to other things (eg impact-goals) but not to what-are-impact-goals.

I searched for help and one recommendation is to empty trash. I have no pages in trash.

Other is to check Media. Again, no similar link.

https://impactgoals/what-are-impact-goals/ takes me to my homepage.

I presume that WP has what-are-impact-goals recorded somewhere. Any ideas?

Share Improve this question asked Jun 29, 2019 at 8:22 BerniBerni 132 bronze badges 8
  • It does sound like something is trashed. If that's not the case you could search the wp_posts database table for the what-are-impact-goals slug, it's likely you'll find an old post there that hasn't been removed for some reason. – bigdaveygeorge Commented Jun 29, 2019 at 8:42
  • Hi, thanks for coming back on this. Trash isn't showing in Pages, so I assume it is empty. Is there somewhere else you would suggest looking? – Berni Commented Jun 29, 2019 at 8:55
  • How do I find the wp_posts database table? – Berni Commented Jun 29, 2019 at 8:56
  • 2 are you sure there isn't a post rather than a page that is trashed? To view that table you need to look in the database, this is generally done through your hosting control panel using something like phpMyAdmin. However the issue your describing isn't something that generally occurs and WordPress should deal with automatically. It's very likely a page/post still exists with that "slug". – bigdaveygeorge Commented Jun 29, 2019 at 9:04
  • @Berni Could it be that the slug of your current front page (or some other non-trashed page) is what-are-impact-goals? Click Quick edit of the front page on your Pages list and change the slug if necessary. – Antti Koskinen Commented Jun 29, 2019 at 14:31
 |  Show 3 more comments

1 Answer 1

Reset to default 0

May be the main reason of this issue is that the WordPress finds that this URLs already assign to any post which exists in database. so You have to check permalinks of the every pages/post or attachments are not using that permalink. It could be in publish, drafts or trash as well.

or you can find in wp_posts table in database from phpmyadmin. you can search using :

wp_posts > search tab > "post_name" operator LIKE%..%  value "what-are-impact-goals"

or you can fire SQL query in SQL tab:

SELECT * FROM `wp_posts` WHERE `post_name` LIKE '%what-are-impact-goals%'

Check there is permalink already exists or not. then after you can take action.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745359776a4624304.html

相关推荐

  • Why I can't change the permalink of a WP page?

    I wonder if you can help me, please?I have the following problem with a permalink. I have tried to change the permalink

    4小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信