| :: |
| Author |
Message |
HB. PR0

Joined: 26 Oct 2006 Posts: 62
|
Posted: Sun Feb 11, 2007 6:52 pm Post subject: problem after updating mx sitemaps |
|
|
**In continue from the other topic**
Here is a copy of my .htaccess. I haven't changed a thing to it since the upgrade, however now when you click either the sitemap or forum map link I get a 404 page. As you can see, I have my forum under the "Forum" folder. but when you click either link it will lead you to example. mysite.com/forum-map.html. Can I just edit one of the template files to point to the correct location
| Code: | RewriteEngine On
RewriteBase /
#########################################################
# MX SITEMAPS REWRITE RULES SIMPLE #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/04/28
########################################################
# INDEX
RewriteRule ^Forum/sitemaps\.html$ /Forum/sitemaps.php [QSA,L]
# PORTAL INDEX
RewriteRule ^Forum/mx-map\.html$ /Forum/sitemaps.php?mx [QSA,L]
# FORUM INDEX
RewriteRule ^Forum/forum-map\.html$ /Forum/sitemaps.php?fim [QSA,L]
# PAGINATED FORUM MAP
RewriteRule ^Forum/forum-map([0-9]+)-([0-9]+)\.html$ /Forum/sitemaps.php?fmp=$1&start=$2 [QSA,L]
# FORUM MAP
RewriteRule ^Forum/forum-map([0-9]+)\.html$ /Forum/sitemaps.php?fmp=$1 [QSA,L]
# CATEGORIES
RewriteRule ^Forum/sitemaps([0-9]+)\.html$ /Forum/sitemaps.php?c=$1 [QSA,L]
#########################################################
# END SITEMAPS REWRITE RULES #
#########################################################
# FORUMS PAGES
########################
# PAGINATED FORUM
RewriteRule ^Forum/forum([0-9]+)-([0-9]+)-([0-9]+)\.html$ /Forum/index.php?f=$1&ppage=$2&start=$3 [QSA,L]
# PAGINATED FORUM
RewriteRule ^Forum/forum([0-9]+)-([0-9]+)\.html$ /Forum/index.php?f=$1&ppage=$2 [QSA,L]
# FORUM
RewriteRule ^Forum/forum([0-9]+)\.html$ /Forum/index.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^Forum/topic([0-9]+)-([0-9]+)\.html$ /Forum/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^Forum/topic([0-9]+)\.html$ /Forum/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^Forum/post([0-9]+)\.html$ /Forum/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^Forum/member([0-9]+)\.html$ /Forum/profile.php?mode=viewprofile&u=$1 [QSA,L]
#####################################################
########################################################
# phpBB
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]
# mxBB
RewriteRule ^mx-sitemap.xml$ /sitemap.php?mx [L]
# KB
RewriteRule ^kb-sitemap-([0-9]+).xml$ /sitemap.php?kbid=$1 [L]
RewriteRule ^sitemap-kbcat.xml$ /sitemap.php?kbcat [L]
#########################################################
# END GG_SITEMAPS REWRITE RULES #
######################################################### |
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
HB. PR0

Joined: 26 Oct 2006 Posts: 62
|
Posted: Mon Feb 12, 2007 3:15 pm Post subject: Re: problem after updating mx sitemaps |
|
|
I am using the simple. I thought I was using the correct one. I copied the instructions to my .htaccess for simple mod rewriterules that had my forum in a sub folder...
At first I didn't do anything to the .htaccess. All I did was follow the update instructions, but then found I was getting that 404 page error, so that's when I double checked the .htaccess to make sure I had the correct rewrite rules. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
HB. PR0

Joined: 26 Oct 2006 Posts: 62
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
HB. PR0

Joined: 26 Oct 2006 Posts: 62
|
Posted: Wed Feb 14, 2007 8:16 pm Post subject: Re: problem after updating mx sitemaps |
|
|
Thank you very much that did work Could you tell me why my topic descriptions are linked, and they lead to a 404 page. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
HB. PR0

Joined: 26 Oct 2006 Posts: 62
|
Posted: Fri Feb 16, 2007 4:18 am Post subject: Re: problem after updating mx sitemaps |
|
|
Well for some reason, my forum map and sitemap for mx sitemaps looks a lot different then yours. When you click on the forum map link, in the index you'll see the link to the forum, and below it will have the forum description such as this
| Quote: | News & Announcements - Forum Map
Stay in the know with what's happening at HotClubForums.com |
Stay in the know with what's happening at HotClubForums.com is the forum desecription, but it's linked, and that link leads to a 404 error page |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
|
|