WordPress.org

Support

Support » Installation » mod rewrite permalink sructure/ htacess/

mod rewrite permalink sructure/ htacess/

  • Can anyone tell me what my htaccess file should look like? I am using domain.com/%post-name%/

Viewing 8 replies - 1 through 8 (of 8 total)
  • When you update your permalinks, it will either:
    a) Write the .htaccess out for you, or
    b) Tell you what is supposed to be in it (scroll down on the page).

    We can’t tell you what your .htaccess will be. It’ll be similar to what we use, but probably not identical.

    i actually did copy /paste into file. maybe i uploaded in wrong directory. where does the htaccess file go?

    .htaccess goes in the WordPress root – where all of the WP files are.

    yeah, nothing is solving my problem.

    i am using domain.com/blog/%post-name%/

    htacess looks like this:

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

    Are you sure your host even allows you to use htaccess? Write a bunch of garbage in your htaccess and upload it. If you don’t get an error, your host isn’t even looking at your htaccess file.

    i have a dedicated server.

    That wasn’t really answering the question… Is it properly configured for both mod_rewrite and AllowOverride?

    Checked any of the trouble-shooting stuff out at the Permalinks page?

    i figured it out. Well sort of. I entered a Category Base and my blog/%post-name%/ now works but the Category Base isn’t showing but I do not care.

    Thanks all.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘mod rewrite permalink sructure/ htacess/’ is closed to new replies.