dakat Posted November 16, 2010 Report Share Posted November 16, 2010 Hello. I just reinstalled wordpress and noticed the following problem: When my permalink is at default: http://localhost/wordpress/?p=123, I am able to view the site [http://localhost/wordpress/] and successfully click the tabs [about, author, etc' ...]. However, when I change the permalink to any other setting, I am still able to go into the main site [http://localhost/wordpress/], but the minute I click any tab, it comes back with an error: Not Found The requested URL /wordpress/about/ was not found on this server. This is my .htaccess [which was created automatically by WordPress]: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/index.php [L] </IfModule> # END WordPress Any suggestions? Quote Link to comment Share on other sites More sharing options...
falkencreative Posted November 16, 2010 Report Share Posted November 16, 2010 I need to double check this... I know .htaccess files are linux files, and won't work on Windows machines. I'm unsure, however, if running WAMP will enable those .htaccess files to work. I'll need to look at this later today when I have the time. Quote Link to comment Share on other sites More sharing options...
newseed Posted November 16, 2010 Report Share Posted November 16, 2010 I don't recall but .htaccess has never worked for me on my WAMP probably because of the path issue that you find being different from a www site. However, I haven't had the need to use WAMP in over 2 years and it's also an outdated version. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted November 18, 2010 Report Share Posted November 18, 2010 I played around with Wordpress on a local WAMP-based install, and it appears that .htaccess files don't work at all. I'm not sure if there is a way to get them to work... that would require some Google research. Personally, I would leave this functionality alone for now, and test on a live, hosted website later. Your code shouldn't have any permalink/404 problems once it is online on a Linux based server. 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.
Note: Your post will require moderator approval before it will be visible.