htaccess im a fool
-
i installed wordpress and all was well but i didnt realise that cyberduck ftp i am using was hiding some files as standard, so i accidentally replaced my htacces file.
i have no idea what should be in the htaccess file, and it didnt seem to be a problem, i put
“DirectoryIndex /blog/index.php”
into the new htaccess file and all worked fine, until i tried to put images into my posts, it give a 404 file not found on this server error, and if i manually type in the address of the image to my browser i get the same problem, so i assume its something to do with my htaccess altering stupidity!!
perhaps something todo with mod rewrite? i havent the fogiest, but it would be great if someone could tell me what i should put in htaccess to solve the problem, or tell me its something else ive done thats causing the problem.
i’ve uploaded the pictures 4 different ways so its nothing to do with the built in uploader.
oh if i upload to a folder in the root directory of the server i.e my blog is in localhost/blog and i put images in localhost/images and manually enter the address of the image it works ok, once again its leading me to beleive that its something to do with the htaccess file.
thanks in advance for any help anyone
- The topic ‘htaccess im a fool’ is closed to new replies.