MyBB Community Forums

Full Version: Google SEO Legacy 1.4.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello i got the same error here
(2010-10-19, 10:05 AM)haytoch Wrote: [ -> ]hello i got the same error here

You have to add the following line to your .htaccess to enable access to http://www.mybbsos.co.cc/sitemap-index.xml :

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

Alternatively just submit this sitemap URL to Google:
http://www.mybbsos.co.cc/misc.php?google_seo_sitemap=index
(2010-10-19, 10:21 AM)querschlaeger Wrote: [ -> ]Alternatively just submit this sitemap URL to Google:
http://www.mybbsos.co.cc/misc.php?google_seo_sitemap=index

For that to work you actually also have to remove the Sitemap URL scheme, otherwise the sitemap index will just link back to sitemap-foo.xml
thank you
this is my .haccess :

Quote:# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404
# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://www.mybbsos.co.cc/$1?$2 [L,QSA,R=301]

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


Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
# MediaTemple, it is known to cause random Internal Server
# errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
# the setting enabled in the Admin CP and you have this file
# named .htaccess
#
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

<IfModule mod_env.c>
SetEnv SEO_SUPPORT 1
</IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>
take a look here please : http://www.mybbsos.co.cc/misc.php?google...emap=index
With this plugin could I potentially do

mysite.com/forum/board-music
mysite.com/forum/topic-david-guetta-featuring-ratatat

?
Sure, by default it's Forum- and Thread- but you can change the URL scheme to board- and topic-

@Haytoch,
Something seems to be adding several 0x0a (newlines) bytes at the beginning of the output there, maybe due to broken PHP files somewhere in your forum. This is also visible on all your html pages (view source code -> always starts with several empty lines). HTML may not care but XML breaks because of it.
Yes you are right ,

But what's the prob and how i can solve it ???
i realy need a help plz
(2010-10-19, 10:05 AM)haytoch Wrote: [ -> ]hello i got the same error here

And me too, and i have the correct settings.
(2010-10-23, 02:20 AM)Valaki Wrote: [ -> ]
(2010-10-19, 10:05 AM)haytoch Wrote: [ -> ]hello i got the same error here

And me too, and i have the correct settings.
what are the Settings please?

can u help plz
Read this:
http://community.mybb.com/thread-46423-p...#pid588531

---

I have modified the url scheme from Thread to thread and the others too. (forums, etc)
I don't need to add a redirect to the old urls. Am i right? Becaude i have just changed the uppercase T letter to lowercase.

+There's some analysis errors:
example:
Not found:
/misc.php?google_seo_sitemap=announcements&amp;page=1
/misc.php?google_seo_sitemap=forums&amp;page=1
/misc.php?google_seo_sitemap=index&amp;page=1
/misc.php?google_seo_sitemap=threads&amp;page=10
/misc.php?google_seo_sitemap=threads&amp;page=11
/misc.php?google_seo_sitemap=threads&amp;page=12
/misc.php?google_seo_sitemap=threads&amp;page=13

etc.
(2010-10-19, 10:05 AM)haytoch Wrote: [ -> ]hello i got the same error here

PM sent.