WordPress.org

Ready to get started?Download WordPress

Forums

Another .htaccess issue w/ permalinks (2 posts)

  1. bodean
    Member
    Posted 1 year ago #

    Just setup wordpress on my site.

    I have the main wordpress installed to /sammyhagar.net/blogs
    but the index file in /sammyhagar.net (as I dont want people going to the /blog site, want them to find my site via my main domain)

    First off, when I try to setup permalinks, I started with NOT having a .htaccess file.
    WhenI select any of the permalink options (ie. custom structure) it doesn't work.
    I have "" 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."" on the bottom of the screen.

    So I then made a .htaccess file on my mac, blank, and uploaded it to my sammyhagar.net/blog directory (where the WP files are). Same problem, message.
    If I add what it tells me to add, same issue. Am I missing something here?

    Again, I initially installed WP to /blog directory. But then I read on here how to move it so it would be brought up when you load my domain, which it does.

    Help please.

  2. Delete the .htaccess file you uploaded and start over. Create the .htaccess file on the server with an FTP client, not on your Mac. The file needs to be the correct file type with correct line endings, and if you create it on your Mac, chances are it won't be and won't have the correct permissions, either, for CentOS, your web host.

    If that doesn't work, ask your web host; they may have some unusual permission settings.

Topic Closed

This topic has been closed to new replies.

About this Topic