vBulletin Search Engine Optimization
This is a discussion on Sitemap URL is giving 404 within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; I have tried to access my sitemap via the URL in the AdminCP >> vBSEO Sitemap Reports and when I ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Sitemap URL is giving 404
I have tried to access my sitemap via the URL in the AdminCP >> vBSEO Sitemap Reports and when I go to the URL I get a 404 error and redirected to the forum home page. I tried the suggestion here on this post: Sitmap not found 404 In my http.conf I have the following PHP Code: |
|
#2
| ||||
| ||||
|
this line shouldn't be commented out (remove #) Code: #RewriteCond %{REQUEST_FILENAME}!^(admincp|modcp|clientscript|cpstyles|images)/
and you should also add in vbseo_sitemap to it as in Code: RewriteCond %{REQUEST_FILENAME}!^(admincp|modcp|clientscript|cpstyles|images|vbseo_sitemap)/
|
|
#3
| |||
| |||
|
My server admins commented that out because it was causing a syntax error. Quote:
|
|
#4
| ||||
| ||||
| Code: RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images|useralbums|vbseo_sitemap)/
|
|
#5
| |||
| |||
|
well the syntax issues are resolved (there was a space missing) and now it allows me to restart Apache unfortunately I still get a 404 when trying to access the sitemap. What else should I look at? Here are the current rules: PHP Code: |
|
#6
| ||||
| ||||
|
what link are you using to access?
|
|
#7
| ||||
| ||||
|
actually, i see it already... you have another space issue. the $ on line 1 is wrong. Code: RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] |
|
#8
| |||
| |||
| http://www1.discusscooking.com/forum...p_index.xml.gz The 1 is after the www1 because I use a load balanced setup. This is the primary server (master) and once I have this dialed in then I will have to configure the other web servers. |
|
#9
| |||
| |||
|
You are THE MAN Brian. It's working now. Thanks for your help! I think this was caused by text wrapping issues when I posted the rewrite code for the server admins to add to the httpd.conf. |
|
#10
| ||||
| ||||
|
glad you got it fixed |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Giving vBSEO as a contest Prize | FightRice | Pre-Sales Questions | 2 | 11-01-2006 12:02 AM |
| CRR giving error if thread has special name | jluerken | Custom Rewrite Rules | 2 | 07-15-2006 04:20 AM |
| test.php giving Database Error | chris06 | Troubleshooting | 1 | 12-07-2005 04:42 PM |
| All posts with a certain word in it are giving an error | nchoose | Troubleshooting | 1 | 10-25-2005 05:45 AM |