How to add .htaccess file for my wordpress websites?

5 replies
  • WEB DESIGN
  • |
Hi Everyone !! How to add .htaccess file for my wordpress websites? i have ,htaccess file.. i want to upload on my wordpress website so please suggest me steps for uploading Thanks..
#add #file #htaccess #websites #wordpress
  • Profile picture of the author Julio
    Do you have access to the FTP of your wordpress blog site? Do you have access to the cpanel of your wordpress blog site?

    IF you have access to the FTP of your wordpress then login to it upload it to the root directory which is /public_html folder.

    IF you have access to the cpanel then use the file manager to upload it to the root directory /public_html folder.
    Signature
    DominioNombres.com Marketplace!
    {{ DiscussionBoard.errors[10968803].message }}
  • Profile picture of the author nearbynews
    Simply Install Free WordPress Plugin "Yoast"

    Here Are The Steps To Do That:

    1 : Log in to your WordPress admin
    2 : Go to SEO -> Tools

    3 : Click on File Editor

    4 :Make the changes to your robots.txt file. If you do not have a robots.txt file, click the button to create it.
    {{ DiscussionBoard.errors[10968957].message }}
  • Profile picture of the author Leon William
    Login to your FTP --->Access to /Public_html/-->Upload the .htaccess file

    (or)

    Login to your Cpanel --->Goto-->File manager-->Access to /Public_html/-->Upload the .htaccess file
    {{ DiscussionBoard.errors[10970165].message }}
  • Hold a sec... Already you can find .htaccess file in your server. That file will be in hidden mode. You can find that by enable "show hidden file" Don't upload in replace it. You can find it in public_html folder
    {{ DiscussionBoard.errors[10970367].message }}
  • Profile picture of the author PhilHardaker
    Wow installing Yoast just to be able to upload a file is creative!

    Yes there may well be an .htaccess file in public-html, don't overwrite it or you will break something else. Always first make a copy of it so you can restore it if/when your new idea fails.
    {{ DiscussionBoard.errors[10971473].message }}

Trending Topics