PDA

View Full Version : .htaccess


zoyeb
09-23-2006, 06:27 PM
in the instructions to install somethin it said

B. Open your 'vbroot/.htaccess' file and enter the following code:
RewriteEngine On
RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

i know .htaccess isnt allowed so could you guys do it for me or somethin ?

if its not possible then thats alright

just askin...

Tyler
09-23-2006, 08:52 PM
Nope, sorry, .htaccess cannot be on your account at all (we can't do it for you).

zoyeb
09-23-2006, 09:49 PM
ohh alright then

thank you for your time

Tyler
09-24-2006, 12:27 AM
I should have stated before, any script should work without it... as for the rewrite thing... that part just wont work... make sure that the script knows it wont... good scripts can work both ways.

zoyeb
09-24-2006, 03:37 PM
Well the hack creates a sitemap and gives me a link to submit to yahoo and google...

when i try to submit it to google it says General HTTP error: 403 (Forbidden)

so i figure its because of the .htaccess ??

i did everything else right

UnlimitedMB
09-24-2006, 03:41 PM
What url are you trying to submit to yahoo?
and where are you trying to submit it?

zoyeb
09-24-2006, 05:21 PM
What url are you trying to submit to yahoo?

http://www.thugonline.ulmb.com/forums/sitemap_index.xml.gz
Although files are physically stored in vbseo_sitemap/data/ folder, you can access them via forum root (this is possible with mod_rewrite rules included in .htaccess).

and where are you trying to submit it?

https://siteexplorer.search.yahoo.com/feeds?siteid=134379
http://www.google.com/webmasters/sitemaps/siteoverview?hl=en

Tyler
09-24-2006, 05:44 PM
Why are you trying to submit a single .gz file to Yahoo / Google?
You dont want to use the extention .gz for a file to send to Yahoo / Google for them to index. That is why they are getting the error. .gz files have the wait before you can download them and Google / Yahoo doesnt want to wait.

ukdesi
09-24-2006, 08:49 PM
i hear google take .gzip compression in sitemaps as they don't accept above a certain size limit.

zoyeb
09-25-2006, 01:58 AM
nvm i got it i just moved it to forum root and submitted it and it works fine :)