If you deleted your .htaccess file (or lost it somehow) here is how you can restore the default one:
- Create a new blank
.htaccessfile in your WordPress directory via FTP or SSH. - Change permissions to 777. Log-in to your dashboard. Navigate to settings, permalinks, and update permalinks (choose any option there). When done, change the
.htaccesspermissions back to 644.
Thank god for this. I was messing with some stuff, trying to fix a problem, and it just ended up making things worse. Now, because of your help I am back to where I was atleast
Thank you!
Note to self: know what I am doing before I mess with .htaccess
- Jack Rugile