Changing permalink format breaks menu links
-
Hello all.
I created a site with the WP 4.1 and the TwentyTen theme.
I added about 6 menus with a few submenus and set them up under a menu group called “default”. Afterwards I noticed I didn’t like the default link format of “/?page_id=x”, so I read up on using Pretty Links and attempted to change the Permalink setting. Afterwards, whenever I click on the menu links, all I get are 404 errors.For example, I have a menu named “News”. clicking on it before the permalink change goes to “/?page_id=28”. Afterword, it tries to go to “/news” and gets the 404.
The .htaccess was created thusly:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /new/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /new/index.php [L] </IfModule> # END WordPress
the site is at “https://www.mysite.org/new”, hence the RewriteBase value. However, I don’t see how this rewrite would catch “?page_id” and change it to the post name (which is the format I selected).
Am I missing something?
- The topic ‘Changing permalink format breaks menu links’ is closed to new replies.