Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question
    
This is answered at wordpress.org/support/topic/get_permalink-returns-default-link –  Ian Dunn Mar 9 '13 at 0:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.