I just bought a new domain and set up wordpress on it. It sends me to a 404 when I try using anything but the default option. I can't get my permalinks to work right. They do work on other blogs on the same host, so it can't be a compatibility problem with my version of PHP installed.
I have .htaccess chmod'd to 666 (as I was instructed on the wordpress website). I don't know of any code to "enter" into the .htaccess file. As I understand it, wordpress should update it automatically... which is why I have to chmod it. I checked the .htaccess on the other site, and it basically shows the samething. The difference with the other site is that it is not in the main directory. This new site, where I am having the problems, is in the main directory.
Once you make changes to the permalinks structure - just scroll down in the same window and you will see a code snippet in a box below this text : Copy the code in that BOX and paste it in ur .htaccess and save it on the server i.e replace the original .htaccess file. Everything will b fine then.
Nope, that didn't work either. The file is writable, so that box didn't show up. Just for shits, I tried changing it to 444 so that box would appear. What the box showed was what is already in the .htaccess file.
In this case blog is installed in a dir "blog" and the .htaccess looks like this: does the same reflect in your .htaccess other than "dir"?
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress Code (markup): That is what my .htaccess file shows. The blog is in the main directory.
It sounds like, because the website is a "secondary" site on my hosting, it won't work. The .htaccess must not work. That is ridiculous, especially since the host is supposed to be a virtual private server. Luckily, I paid for it within 30 days ago and can get my money back. Looks like I'm back in the market for a new host.