2011-03-30, 01:08:33
yojoe Wrote:Paste here your .htaccess content and /data/other/website.xml.
htaccess
Code:
AddDefaultCharset UTF-8
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase **/newsite1/**
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
website.xml
Code:
<?xml version="1.0"?>
<item><SITENAME><![CDATA[55002 KOYLI]]></SITENAME><SITEURL><![CDATA[http://www.55002koyli.com/newsite1/]]></SITEURL><TEMPLATE><![CDATA[Innovation]]></TEMPLATE><PRETTYURLS></PRETTYURLS><PERMALINK></PERMALINK></item>
Pete
Chefbyte Services
Chefbyte Services