| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
Posted: Sat Nov 25, 2006 6:50 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
You need to copy :
| Code: | | mx_ggsitemaps_v1.0.1\contrib\moded_4_mod_rewrites\phpBB_SEO_mod_Rewrites\Simple_Mod_Rewrite\sitemap_forum.php |
To :
| Code: | | mx_ggsitemaps/includes/ |
on your ftp. Overwrite the sitemap_forum.php file already in there.
The .htaccess you mention is only a security measure, preventing any type of remote access in this folder. A wise thing to do as well for the regular phpBB includes/ and db/ folders.
To enable mod rewrite for the Google sitemaps links, you need to add these rewriterules at the bottom of you forum's .htaccess (the one where you put the phpBB Simple mod rewrite rewriterules) :
| Code: | RewriteRule ^sitemaps.xml$ /sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+).xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum.xml$ /sitemap.php?forum [L] |
Then, you'll only need to sublmit your sitemaIndex, eg -http://www.star-voip.com/sitemaps.xml (with mod rewrite ).
The rest is done automatically.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sat Nov 25, 2006 7:34 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
Now I've done these:
1. sitemap_forum.php uploaded.
2. added the three rewrite lines to the bottom of the .heaccess in the root folder
3. deleted /sitemap.php at Google, and submited with /sitemap.xml
I can see there is output at http://www.star-voip.com/sitemaps.xml now.
I leave the ACP->MX Sitemaps->Mod Rewrite Sitemaps to "No"(the default setting). Is that right?
It look I need more learning. I am not 100% understand what you told me to do, but I think I am a good follower  |
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sat Nov 25, 2006 7:42 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
Just find this from google after I submit the sitemap.xml:
| Quote: |
ERROR:
Unsupported file format
Your Sitemap does not appear to be in a supported format. Please ensure it meets our Sitemap guidelines and resubmit. |
|
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sat Nov 25, 2006 8:30 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
| dcz wrote: | Perfect, just turn mod rewrite on (set it to yes) in mx Google sitemaps acp and re-submit
++ |
I did it and google still not like it.
got this:
| Quote: | Multiple Choices
The document name you requested (/sitemap.xml) could not be found on this server. However, we found documents with names similar to the one you requested.
Available documents:
/sitemap.php (common basename) |
I only submited /sitemap.xml, should I also submit the /sitemap.php?
Or, should I save a copy of sitemap.xml in the root dir? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sat Nov 25, 2006 10:28 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
dumb me! |
|
|
| Back to top |
|
 |
varteju
Joined: 25 Nov 2006 Posts: 25
|
Posted: Sun Nov 26, 2006 3:40 am Post subject: Re: Newbie want help on this SEO thing |
|
|
uf...i read through this whole topic and i decided to do the changes to the .htaccess file as well.
BEFORE doing that my sitemap.php would give me ... well i dont remember what but if i would go to that url it would take me somewhere...now my sitemap.php gives out urls ending in .xml. Is this better? How can i make the urls work then? It says the selected forum does not exist (to all of them)...
Also i'm now running the sitespider, after it's done, all i have to do is upload the url_list.txt under mx_ggsitemap/includes?
http://www.stiintacraiova.com/forum/sitemap.php
Should i take out those 3 lines that i added to the .htaccess file?
Thank you! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sun Nov 26, 2006 8:26 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
Hi, dcz, is this the final touch?
http://directories.phpbb-seo.com/
I tried to add a back link to my site and it seems not working now. Anyway, I'll try again later.
Thank you, dcz. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15127
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sun Nov 26, 2006 11:08 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
| dcz wrote: | The phpBB SEO directories are moderated, this mean links must be first accepted before you can see them publicly.
Anyway, the last touch is more about the last part of the phpBB SEO mod rewrite installation
++ |
Oops, I submitted few times. Sorry!
So the final touch would be edit the viewtopic.php as you described in here you posted on July 9 2006?
and by the way, how can I refer the link to a certain reply in a post. For example, I tried to refer the 4th reply in thr first page of:
http://www.phpbb-seo.com/boards/phpbb-mod-rewrite/phpbb-seo-simple-mod-rewrite-vt45.html
It seems need add a # and follow by a number. But I couldn't figure it out. |
|
|
| Back to top |
|
 |
varteju
Joined: 25 Nov 2006 Posts: 25
|
Posted: Sun Nov 26, 2006 11:15 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
wycf...i believe dcz was referring to the whole simple seo mod not just the viewtopic changes.
Download phpBB SEO Simple mod Rewrite V 0.0.2 and then follow the instructions in there...
Yes you do need a number to refer someone to a certain post in a topic. That number can be found by clicking on the small image of a file before: Posted: Sun Nov 26, 2006 11:15 pm |
|
|
| Back to top |
|
 |
wycf
Joined: 23 Nov 2006 Posts: 24
|
Posted: Sun Nov 26, 2006 11:32 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
thank you, varteju.
I read a phpBB SEO Simple mod Rewrite V 0.0.2 thread again. OK, dcz may refer to the link to phpBB SEO site. I'm going to add it now. I think I'll put it on overall_footer.tpl, am I right? |
|
|
| Back to top |
|
 |
varteju
Joined: 25 Nov 2006 Posts: 25
|
Posted: Sun Nov 26, 2006 11:38 pm Post subject: Re: Newbie want help on this SEO thing |
|
|
| ooo yeah, that's correct..'last part' is the overall_footer - link! |
|
|
| Back to top |
|
 |
|
|