R-Ts NetWorks

Server the Best

WordPress permalinks

This is for standard Linux web hosting as it relates to a server directive found in the admin area code. For Windows servers, this probably won’t help, but may lead you in the right direction.

1. Using your favorite html/ php editor, open wp-admin/includes/misc.php

2. Find function
function got_mod_rewrite
Its around line 18 or so.

3. Comment out the existing function /* this is commented out */ — You can delete this function if you are sure the solution works, to be safe, just comment it out in case you need to put it back.

4. Add the following instead:
function got_mod_rewrite() {
$got_rewrite = true;
return apply_filters(‘got_rewrite’, $got_rewrite);

5. Save and upload.
Now go back to your admin page and click the permalinks menu item. Should work as expected now.



October 13, 2012 - Posted by | Linux

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: