Question

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 :)

http://www.seoindiarank.com/

thanks for your reply my problem solved by using this method https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps 1 more question i moved my blog on digitalocean.com but in google search giving https visitors is not coming from google

see below image

http://3.bp.blogspot.com/-uZOQfvWUt5w/VZipusYyb8I/AAAAAAAAI_E/kqkTX_MyX1Y/s1600/http.jpg

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.