itsfashionbaby
Member
Posted 2 years ago #
I want to edit my permalinks, and it tells me that my .htaccess file is not writeable.
However, I cannot seem to find that file anywhere.
I am using filezilla, and I've forced it to show hidden files - but no luck.
I have looked through my hosts file management system - and I still cannot find the .htaccess file.
Could someone please help me?
create a blank one and upload it and chmod 666
generate your permalinks
chmod to 644 to be secure
http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29
itsfashionbaby
Member
Posted 2 years ago #
Sorry for being a complete blonde - but I am using a Mac computer - how do I create a blank file?
I tried in textedit - but it will only let me save as certain file types...
itsfashionbaby
Member
Posted 2 years ago #
I figured it out by myself.
However, once I had the file uploaded, changed the name and chmod 666 I get a Internal Server Error message, when I try to access my page or my admin page.
Hi,
Remove bad codes from htaccess file and add this code in it:
# BEGIN WordPress
<IfModule mod_rewrite.c>
ErrorDocument 404 /index.php?error=404
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thanks,
Shane G.
itsfashionbaby
Member
Posted 2 years ago #
Hi Shane,
I tried that, but every time I upload a .htaccess file to my server, I get the 500 internal sever error, when I try to load my paged.
And it doesn't matter what permissions the .htaccess file has or what I put in it.
itsfashionbaby,
save us the mystery? whats the url to your blog please?
itsfashionbaby
Member
Posted 2 years ago #
Sorry - it's http://www.itsfashionbaby.dk - right now I have the .htacess file, so it's showing a 500 internal server error - let me know, if I should delete file.