Jump to content

SEO, Google, not indexing, file suffix - .html


Recommended Posts

I need help fast for this problem. My competitors are getting found first because of this !!!!

I have everything setup that uses SEO friendly urls.

I have not submitted a sitemap (permanently). The one this software generated caused errors so I deleted it.

It appears that the webpages generated do not have .html at the end. Is this normal ?

I google for something specific for me - and - NOTHING.

I have searched the forums and tried a few things but nothing seems to work.

Major help needed,

Thanks, Duaine

Link to comment
Share on other sites

Here is the .htaccess file: (this appears to be working - Google is not)

RewriteEngine on

############################################
## you can put here your magento root folder
## path relative to web root

# URL rewriting rules
RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop/product.php?id_product=$2$4 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /prestashop/product.php?id_product=$1$3 [L,E]
RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop/category.php?id_category=$1 [QSA,L,E]
RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /prestashop/cms.php?id_cms=$1 [QSA,L,E]
RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /prestashop/supplier.php?id_supplier=$1$3 [QSA,L,E]
RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /prestashop/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]

############################################
## always send 404 on missing files in these folders
# Catch 404 errors
ErrorDocument 404 /prestashop/404.php

# Stop image theft

RewriteCond %{HTTP_REFERER} !^http://(.+\.)?hechlerpianoandorgan\.com/prestashop/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ - [F]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...