Apr 01
Some permalinks look very much like they have /index.php inserted before them.Following is the example for it :
http://www.solsearch.net/index.php/xyz/abc/post/
You can simply redirect such links without displaying /index.php using mod_rewrite rule.Edit your .htaccess and place the following rules :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Save changes.
The end result will be displayed as :
http://www.solsearch.net/xyz/abc/post/
Leave a Reply
You must be logged in to post a comment.




























































Recent Comments