Support » Fixing WordPress » Permalink and sitemap problem with .htaccess

  • Hi,

    i have installed wp under a subdirectory (/blog) to my existing site. I have added the following .htaccess file:

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

    When I try to change the permalink structure or add a sitemap with the following plugin “google xml sitemap” the .htaccess file gets deleted and the blog shows a page not found error.

    What should I do?

    Thank you in advance

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Permalink and sitemap problem with .htaccess’ is closed to new replies.