get_permalink returns default link
Question
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!! 😀
0
permalinks, posts, url-rewriting
11 years
2012-11-09T18:11:17-05:00
2012-11-09T18:11:17-05:00 0 Answers
98 views
0
Leave an answer