I´m having trouble with my site. In the main site for some reason the sitemap.xml is not generating automatically with the SEO plugin.
Also I created a subdomain (blog.mysite.com using mysite.com/blog folder) and made a blog with wordpress. I was able to install it editing the htaccess file but again the sitemap is not working.
I need help with the htaccess file.
Here is the .htaccess from the main site:
Options +FollowSymLinksRewriteEngine On
AddEncoding gzip .gzAddEncoding gzip .gzip<FilesMatch "\.(js.gz|js.gzip)$"> ForceType text/javascript</FilesMatch><FilesMatch "\.(css.gz|css.gzip)$"> ForceType text/css</FilesMatch>
RewriteCond %{HTTP_HOST} !blog.mysite.com$RewriteCond %{REQUEST_URI} !/blog/
RewriteCond %{REQUEST_URI} !/sitemap.xmlRewriteCond %{REQUEST_URI} !/sitemap_index.xml
RewriteCond %{REQUEST_URI} !/sitemap\.xmlRewriteCond %{REQUEST_URI} !/sitemap\.xml\.gzRewriteCond %{REQUEST_URI} !^/ow_sitemap/
RewriteCond %{REQUEST_URI} !^/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/index\.phpRewriteCond %{REQUEST_URI} !/ow_updates/RewriteCond %{REQUEST_URI} !/ow_cron/run\.phpRewriteCond %{REQUEST_URI} !/e500\.php#RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]RewriteCond %{REQUEST_FILENAME} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]RewriteRule (.*) index.php
And now the blog .htaccess:
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /blog/RewriteRule ^index\.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /blog/index.php [L]</IfModule>
# END WordPress