gaza165 Posted April 11, 2011 Share Posted April 11, 2011 Hi guys, My word press installation is currently in my directory http://www.example.com/wordpress Howevere when i try to access a post it sends me to http://www.example.com/?p=3#comments Is there anything I can do about this, I have set the appropriate target in the word press settings. Can i make a rewrite rule to deal with this...if so can someone help me with the right expression to use to achieve it. Thanks Garry Quote Link to comment Share on other sites More sharing options...
Rifts Posted April 11, 2011 Share Posted April 11, 2011 there is a setting in wordpress admin to do it Quote Link to comment Share on other sites More sharing options...
gaza165 Posted April 11, 2011 Author Share Posted April 11, 2011 I cant see it in the settings!! Quote Link to comment Share on other sites More sharing options...
QuickOldCar Posted April 12, 2011 Share Posted April 12, 2011 I got a wordpress within a subdirectory and this is how I handled it in htaccess # BEGIN WordPress <IfModule mod_rewrite.c> RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.