Knowledgebase
Portal Home > Knowledgebase > How to > Solve Wordpress 3 permalink problem
Solve Wordpress 3 permalink problem
| Hi,
Most of customers who need to work with Wordpress with a good way to be submettind to search engines must use the option of ( Permalink )
In version 3 of the new wordpress we have found a bug that make this dosn't works ,
To solve this problem please follow the following steps
1. Modify the page wp-admin/includes/misc.php 2. Change the part of the function got_mod_rewrite with the following function got_mod_rewrite() { //$got_rewrite = apache_mod_loaded('mod_rewrite', true); //old line with false negative; $got_rewrite = true;//force the response to true as we know mod_rewite is installed; return apply_filters('got_rewrite', $got_rewrite); } 3. Be sure to add the following lines to your .htaccess file # BEGIN WordPress <IfModule mod_rewrite.c> ErrorDocument 404 /index.php?error=404 RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress After that check your wordpress links and it will works normally Regards
|
Add to Favourites
Print this Article
|
Also Read
Powered by WHMCompleteSolution