View Single Post
  #99  
Old 11-02-2006, 08:59 PM
 
MyCleaningProducts MyCleaningProducts is offline
 

Member
  
Join Date: Nov 2006
Posts: 11
 

Default Re: XC SEO v1.1.0 Released

I am not sure why but my site is not displayiing the pages, it show a page not found. I am not sure if my Mod Rewrite is correct.

Below is the code, Is my server not rewriting the URLs is that why I can get my to site to show product pages. Every time I hit a category or product the page shows not found, ANY Assistance would be appreciated..

Thanks

#####
# The following rules should be added
# to the TOP of your existing .htaccess file
# to prevent malicious users/bots from accessing
# x-cart files that aren't meant to be public.
#####

# block all smarty templates (no reason to have these exposed)
RedirectMatch gone ^/.*\.tpl$

# block all .log (log files), .sql (sql dump/export) and .conf (config files) files
# in case some day these files move to another directory
RedirectMatch gone ^.*\.(sql|log|conf)$

# block access to the 'Smarty-*' directory
RedirectMatch gone ^.*Smarty.*$

# block common X-Cart files that could reveal
# that you have X-Cart installed
RedirectMatch gone VERSION.*
RedirectMatch gone COPYRIGHT.*
RedirectMatch gone INSTALL.*
RedirectMatch gone NEW.*
RedirectMatch gone README.*
RedirectMatch gone UPGRADE.*

# block access to /upgrade
Redirect gone /upgrade

# block access to /skin1_original
Redirect gone /skin1_original

# block access to the /sql directory
Redirect gone /sql

# block access to the /shipping directory
Redirect gone /shipping

# block access to the pgp directories
Redirect gone /.pgp
Redirect gone /.pgp.def

# block access to the pgp directories
Redirect gone /tmp
Redirect gone /var

# REWRITE RULES
Options +SymlinksIfOwnerMatch -Indexes

RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.mycleaningproducts\.com [NC]
RewriteRule ^(.*)$ http://www.mycleaningproducts.com/$1 [R=301,L]


# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
__________________
Markus Skupeika
X-cart 4.1.3
PHP 4.4.3
Linux

http://www.mycleaningproducts.com
Reply With Quote