WordPress.org

Ready to get started?Download WordPress

Forums

Strange Permalink Problem (3 posts)

  1. Judy1997
    Member
    Posted 5 years ago #

    I apologize if this is addressed elsewhere, but when I try to use the search function, it gives me a "forbidden" error! I installed my WP blog with the aid of some tutorial videos. One step was to go to settings>permalinks, and change from default to "day and name". When I click that setting, it won't let me just save changes. It says I need to access my .htaccess file. I have no clue what that is, or how to update it. (It messes things up, too, b/c when I go back to my blog, and click "hello world", it goes to a not found page. If I go back and change the permalink to the default, then the hello world post shows up when I click on it.) How do I get to the .htaccess file, whatever that is, and how do I update it?

    Assuming someone answers this and tells me how to update it, what do I put in it? Do I put in what it gives me under this sentence: {If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.} ?

    Thanks for helping -- this is stopping me in my tracks to trying to get my blog going...

  2. stvwlf
    Member
    Posted 5 years ago #

    did you use FTP to set your blog up? if so, create a file on your computer called .htaccess Copy and paste the lines of code the permalinks message is saying you need to manually add into that file.

    Then upload the .htaccess file into the root folder of your WP installation.

  3. webmechanic
    Member
    Posted 5 years ago #

    Look in the root folder of your WordPress installation and see if there is already a file named .htaccess. If there is change the file permissions to 666 and reapply your permalink structure. It should work. Once it has worked change the file permissions back to something like 644.

    You can change the file permissions easily in cPanel's File Manager, simply select the file and click on the Change Permissions button. 666 is when the top two rows are all selected. 644 is when the top row and the first box of the second row are selected.

    If there isn't already a .htaccess file you could use FTP or the File Manager in cPanel if you are using that to upload an empty text file called htaccess to the root folder of your WordPress installation. Once you have uploaded it rename it to .htaccess, change the file permissions to 666 then apply the permalinks.

    Don't forget to change the file permissions back one the Permalink structure has been applied.

Topic Closed

This topic has been closed to new replies.

About this Topic