XML sitemap 404 page and .htaccess issue (phpvibe)

Posted by Lachit on Stack Overflow See other posts from Stack Overflow or by Lachit
Published on 2014-08-24T04:07:00Z Indexed on 2014/08/24 4:20 UTC
Read the original article Hit count: 482

Filed under:
|
|
|
|

I figure out a xml sitemap for my website. In .htaccess, if I comment (RewriteRule ^(.*)/?$ index.php?rp=$1 [L]) line then all xml sitemap works fine, but my website pages doesn't work.

Please check this links....

www.streaminghub.org/test/sitemap.php -- Working

www.streaminghub.org/test/sitemap_1.xml --- working

www.streaminghub.org/test/video/5439/samsung-nf110-english-hands-on-at-ifa-2010/ --- Not working

My .htaccess file....

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteBase /test/

RewriteRule ^embed/([^/]*)/$ /embed.php?id=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

**RewriteRule ^(.*)/?$ index.php?rp=$1 [L]**

**RewriteRule ^sitemaps.xml sitemap.php**

**RewriteRule ^sitemap_(.*).xml?$ sitemap.php?page=$1 [L]**

</IfModule>

I think it's a .htaccess issue, I am using phpvibe script. I don't have knowledge with .htaccess, kindly help me to figure this issue.

Thank you.

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml