• Home
  • Blog
  • Contact Us
  • Home
  • Blog
  • Contact Us

Fix For When WordPress Permalinks Page is Blank

Last Updated: 14 June 2013 By Mike Haydon

I did a brand new wordpress setupĀ  for a client and when I went to the permalinks settings it was blank. No options to change the permalink structure from the awful default settings. I found out a fix for it and thought I’d share it with you.

The file that should display is /wp-admin/options-permalink.php, but the problem file turns out to be wp-admin/includes/misc.php

Look for the line that reads:

$got_rewrite = apache_mod_loaded(‘mod_rewrite’, true);

It should be close to the top of the code. Change it to read:

$got_rewrite = true;

Someone correct me if I’m wrong, but as I understand it, you are changing a conditional statement to an absolute one by doing this. I’m not sure why it’s causing a problem, but that fixed it for me.

Filed Under: Wordpress
Originally Posted: 3 September 2010

Comments

  1. Adrian Pavone says

    5 October 2010 at 2:46 pm

    Hey Mike,

    Yeah, the conditional statement basically says that “if the mod_rewrite apache module is currently loaded then rewrite option is true”. So either php is unable to detect that your mod_rewrite module is loaded or the client site/server system is performing the rewrite through an alternate means (not the mod_rewrite module). Or, of course, there is potential that the client site/server system is not able to rewrite due to the module not being configured/being included in the first place.

    Hope that helps,
    Adrian Pavone

    Reply
  2. Reyven says

    13 October 2010 at 3:57 pm

    Bingo! Finally got the “real” resolve. I’ve been searching this solution for hours. Though I did change the permalink_options in the database manually for the custom permalink, but this problem just bothers me ever since I installed the wordpress in our site.

    Huge thanks to you Mike. Cheers.

    Reply
  3. Mike Haydon says

    13 October 2010 at 4:21 pm

    You’re very welcome Reyven. Glad I could help :)

    Reply
  4. joseph says

    14 October 2010 at 9:10 am

    nice website. thanks to mike and reyven.

    Reply
  5. karl says

    14 October 2010 at 10:28 am

    This is it, ive been having the same issue with reyven’s. This is really a big help!

    Thnx to you Mike, great article..

    Reply
  6. Mike Haydon says

    14 October 2010 at 11:43 am

    Thanks Joseph & Karl. Good to know others don’t have to figure it out like I did :D

    Reply
  7. Steve Yeoman says

    21 February 2011 at 8:39 am

    Thanks everybody.

    This is the only solution that worked after hours of trying all the others.

    Reply
  8. Farshad Ali says

    4 March 2011 at 8:43 am

    Worked for me too :P

    Reply
  9. Rodrigo Noronha says

    27 April 2011 at 7:11 am

    This is the only solution that worked after hours of trying all the others. (2)

    Thanks, Mike Haydon!

    Reply
  10. Glenn says

    29 February 2012 at 12:33 pm

    YESSS!!! it works ur a god bro ! thought i was gunna have to do a complete reinstall haha nice thanks

    Reply
  11. Andrew Burton says

    3 December 2012 at 3:15 am

    This has always worked for us when we have done WP installs. A belated thanks for posting. HOWEVER, all well and good but this doesn’t really answer the question as to why it happens. Other developers using the same server company ( or other companies, it doesn’t matter) don’t experience this. We are the only people in our city that have experienced this, though it clearly is a worldwide issue. Any thoughts would be welcome.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Web Design

marketing banner

Want to learn how to build your own websites? Check out the course we jointly developed here.

Recent Posts

  • Moving Wordpress Without Plugins
  • Redirection Problem When Installing Wordpress
  • Edit The Default Wordpress RSS Widget
  • Best Wordpress Spam Filtering Plugin
  • Optimize Your Wordpress Site For Mobile
  • Wordpress Delete Post Revisions
  • Add Twitter Follower Count To A Wordpress Page

How Can We Help You?

  • Website Design Service
  • Google Penalty Recovery Service
  • Search Engine Optimization Service

Categories

  • Online Marketing
  • SEO
  • Social Media
  • Website Design
  • Wordpress

At A Glance

  • Ranking
  • Website Design
  • WordPress
  • Social Media
  • Contact
  • Google Penalties
  • Earnings Disclosure
  • Privacy Policy

Contact Us

Local SEO Perth

Contact Us Here

Copyright © 2023