• I found out that I DO already have an .htaccess file…in fact I have TWO! (some company made the website for us). They are located in the cPanel

    /home/journey/public_html/wp-content/.htaccess

    /home/journey/public_html/.htaccess

    The top one has a lot of info in it and the second is blank. When i want to change my permalinks it says to copy this to my htaccess:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Which one do I copy it to? Do I delete the old info? I’m really just trying to make my permalinks pretty. Any help would be appreciated.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Amend this one:
    /home/journey/public_html/.htaccess

    Thread Starter jcc11

    (@jcc11)

    Thanks!

    Thread Starter jcc11

    (@jcc11)

    Do I delete the old info in the htaccess file or just paste the new stuff on the top? ??

    Thread Starter jcc11

    (@jcc11)

    help?

    I would just add it to the top if it were me, but I’m not positive on that. Just thought I would respond since you were getting lost in the posts. I know the feeling. ??

    But yes, I would think you could just paste it to the top of that file that Esmi recommended you edit.

    Maybe try that and then see what happens.

    jcc11 wrote:

    Do I delete the old info in the htaccess file or just paste the new stuff on the top?

    These rules:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Need to be in this .htaccess file.
    /home/journey/public_html/.htaccess

    For WordPress permalinks to work correctly.

    jcc11 wrote:

    The top one has a lot of info in it and the second is blank.

    Assuming this the second one, you can paste it in or create a new one with the code. Same difference.

    Thread Starter jcc11

    (@jcc11)

    Just following up…in case anyone ever has the same problem. Watch this video
    https://www.youtube.com/watch?v=RnmGnLW3qho
    It helped so much. I wasn’t changing the permissions in the .htaccess file that’s the only reason nothing was working! Thanks for all the help.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘I have 2 .htacess files…I want pretty permalinks…help!’ is closed to new replies.