Not Solved Google SEO Plugin XML Sitemap
#6
Not Solved
This user has been denied support. This user has been denied support.
(2012-11-16, 03:57 PM)Alex Stanford Wrote: This redirect:

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

Would redirect this request:

http://techtalkin.com/sitemap-forums.xml?page=1

To:

http://techtalkin.com/misc.php?google_se...map=forums

No, it would go to http://techtalkin.com/misc.php?google_se...ums&page=1 because the rewrite rule is using the QSA option (query string append) which appends any and all parameters given in the original URL.

If query string append is broken on your host in general, other basic features such as thread pages, post links, et cetera would all break too. You are not supposed to cover parameters like page or pid or highlight or any combinations thereof in rewrite rules. I couldn't test if those are broken on your forum because I didn't see a thread more than one page long.

Quote:I removed the "sitemap-{url).xml" in order to try it without rewrites and now I have a new issue:

http://techtalkin.com/misc.php?google_seo_sitemap=index

The links are showing up without a value for the google_seo_sitemap paramater, e.g.:

http://techtalkin.com/misc.php?google_seo_sitemap=&page=1

Then maybe I remembered wrong and you have to put misc.php?google_seo_sitemap={url} as scheme
Reply


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 frostschutz - 2012-11-16, 04:05 PM
RE: Google SEO Plugin XML Sitemap - by kisiell - 2013-08-18, 09:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)