douduidui1046 2014-02-11 05:49
浏览 63

在WordPress中更改单个帖子链接URL

I'm struggling with this one - I'm sure there's a plugin that can achieve this, however I'm looking to achieve it - plugin-free as I don't want to bloat my WP with plugins - particularly for something that is a one off.

I want to change the URL of individual post to something that is outside the theme but hosted on the same domain. The idea is that I want to customise the content of that individual post to whatever I like.

EDIT - There seems to be a little confusion here.

MY usual url structure for posts is like this: www.mysite.com/year/month/post-title

I want to change one single post to

www.mysite.com/unthemed-post

The important thing is not just the url itself but what it points to. I want the url to point to content outside the WP theme. I can't change it in the WP settings as my permalink structure already uses the Year/Month format.

I suppose I could just post it regulary and use a HTACCESS redirect to redirect it like this:

www.mysite.com/year/month/post-title to www.mysite.com/unthemed-post

However I'm not sure that it's the best solution.

Thanks

  • 写回答

1条回答 默认 最新

  • duandai0373 2014-02-11 06:02
    关注
    1. Go to the post or page.
    2. Above the content, where it says “Permalink,” click the “Edit” button.
    3. Type in your new permalink.
    4. Hit enter.
    评论

报告相同问题?

悬赏问题

  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置