• Sitting Bull

    (@mojaregistrackagmailcom)


    Hi,

    I changed both Site URL an WordPress URL and it works fine. But only with default permalinks. When I change it to post name permalinks the site doesn’t work (404).

    .htacces is:

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

    # END WordPress

    Can anyone help? Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Check with your hosts that mod_rewrite is running on your server.

    Thread Starter Sitting Bull

    (@mojaregistrackagmailcom)

    mod_rewrite is running. Post name permalinks works when I use server domain on which WP is installed. But I changed wordpress and site URL to mapped domain. It works but only with default permalinks. There no need .htacces file when default premlainks is used. So maybe there is some problem with this .htacces configuration but I don’t know where..

    I changed wordpress and site URL to mapped domain.

    Can you elaborate on this?

    Thread Starter Sitting Bull

    (@mojaregistrackagmailcom)

    I installed WP on site.myserver.com. Than I mapped new domain domain.com to WP location on my server. So I changed in “Settings > General” WordPress Address (URL) and Site Address (URL) (both were site.myserver.com) to new domain (domain.com).

    How exactly did you map the domain? I think that this is the root cause of your current problem.

    Thread Starter Sitting Bull

    (@mojaregistrackagmailcom)

    My host did it. I can just forward domain to specific folder through Paralles Confixx panel. Now both domains (site.myserver.com and domain.com) are forwarded to same folder.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New site URL works only with default permalinks not post name permalinks’ is closed to new replies.