dakat Posted November 16, 2010 Report 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?
falkencreative Posted November 16, 2010 Report 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.
newseed Posted November 16, 2010 Report 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.
falkencreative Posted November 18, 2010 Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now