Not Solved Google SEO Plugin XML Sitemap
Not Solved
(2012-11-16, 04:03 AM)frostschutz Wrote: Do you have two sitemap rules in your .htaccess, with the other coming first and QSA missing?

Are you using an Apache clone?

It could be a plugin interfering, but the rewrite-free variant ( ) works fine as opposed to the rewrite variant ( ) which does not work. So it seems to be missing the page parameter after the rewrite, but with a rewrite rule as shown above and with Apache (any version I'm familiar with) this is not possible.

Hi frostschutz,

First of all, thank you for your insights.

We are running Apache/fcgi with Varnish Cache and ModSecurity. I don't suspect it's the server environment, as it is heavily tested with other .htaccess dependent applications.

Based on your input it seems likely that another rule in the .htaccess is interfering. Here is the entire .htaccess:

EDIT: I quickly removed all rules except the rules labeled "# Google SEO" (and even the first two of those) for testing and the issue persists. It must not be that...

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$$1?$2 [L,QSA,R=301]

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]

AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript application/javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json

DirectoryIndex portal.php

Any ideas?

TechTalkin — The Premier Community for Technology Enthusiasts
Full Ambit Media — Zero Sacrifice Web Design & Development
SiteSense — Fast, Flexible and Free PHP/MySQL CMS

Messages In This Thread
Google SEO Plugin XML Sitemap - by Alex Stanford - 2012-11-15, 04:14 PM
RE: Google SEO Plugin XML Sitemap - by Alex Stanford - 2012-11-16, 03:10 PM
RE: Google SEO Plugin XML Sitemap - by kisiell - 2013-08-18, 09:38 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)