WordPress asked me to put the following into my .htaccess file. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> PHP: I have no idea how to create one, what belongs in one, etc. Do I just put that code in and that's it?
put it in a text file, and save it as ".htaccess" with the quotes then upload it to your server - Slacker
I'm not a total idiot. There is no .htaccess file in any directory and I already tried putting it in a text file and uploading it but it always says "Critical Error".
it can't be in a text file. You have to save the text file as ".htaccess" with the quotes, which will make it an official .htaccess file
If you have shell access just cd /WORDPRESSROOTDIR/ vi .htaccess press i to start inserting select, copy text here press right mouse button to paste into vi press ESC key to go back to command mode type in :wq! and bob's your uncle(hopefully)
It uploaded but still said "Critical transfer error". The file is there in the directory but it's not accessible and the site hasn't been updated or anything, like nothing happened.
So create a new textfile on the desktop say: ht.txt, open with notepad and paste the code. after that open filezilla and right click on the file ht.txt, press upload. On the right side press right click on the ht.txt file and press rename. rename the file to .htaccess. Now press again right click and choose File attributes. This has to be RW-,R--.R--. I think now should work, if not there is a problem with your host.
I uploaded it but it won't let me rename it. Also, I contacted my host but they're definitely no help. I asked about this days ago but still no response.