How Can I Edit .htaccess on wordpress blog

Posted July 5, 2015 6.7k views

How Can I Edit .htaccess on wordpress blog
i use wordpres seo plugin to edit .htaccess and insert below code

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{SERVERPORT} ^443$
RewriteRule ^(.*)$ http://%{HTTP
HOST}/$1 [R=301,L]

now its giving 500 Internal Server Error
please help me how can i edit .htaccess file i used WinSCP but there are no .htacces file on www folder

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

I use filezilla SFTP, go to root folder with the file and delete, go into wordpress and set permalinks. Or re-edit the .htaccess file.

thanks for your reply my problem solved by using this method
1 more question i moved my blog on but in google search giving https
visitors is not coming from google

see below image

by Pablo Carranza
This article will teach you how to use Filezilla to transfer and manage files securely on your VPS.

Here only i learned back-end process of htaccess file.

Thank You Genius :)