最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

posts - get_permalink returns default link

programmeradmin4浏览0评论

I hope you can help me.

So I'm using /%postname%/ as permalink structure, and my htaccess looks like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /develop/sekai/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /develop/sekai/index.php [L]
</IfModule>

# END WordPress

Hovewer, get_permalink function returns me the default permalink structure (?page_id=x), while menus are fine with their links.

What should I do? Thanks for all!! :D

发布评论

评论列表(0)

  1. 暂无评论