get_permalink returns default link


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]

# 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!! 😀

, , Ivano Mercuri 8 years 0 Answers 98 views 0

Leave an answer