How Can I Edit .htaccess on wordpress blog

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 %{SERVER_PORT} ^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

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

Thank You Genius :)

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

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.