Totally Zenned
- Join Date:
- Jul 2007
- Posts:
- 2,179
- Plugin Contributions:
- 2
Ceon URI Mapping (SEO)
immanuelvictor:
Hi All,
I am using CEON URL Mapping in my zencart website. while using the XENU(link testing tool) all the .html link are reported has 404 'Page Not Found'. But the page works fine in the browsers. Its only in xenu its giving the "page not Found" error. I suspect that there is mistake in my Rewrite script. Can you please help me on this rewrite script.
Here is my rewrite script added in the .htacess file
NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /#RewriteCond %{HTTP_HOST} !^www.us-immigration.com [NC]
#RewriteCond %{HTTP_HOST} !^$
#RewriteRule ^(.*) http://www.us-immigration.com/$1 [L,R]RewriteCond %{HTTP_HOST} ^us-immigration.com$ [NC]
RewriteRule ^(.*)$ http://www.us-immigration.com/$1 [R=301]SEO URLs
RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-n-(.).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
#RewriteRule ^catalog/(.)$ index.php?main_page=product_info&products_id=118&%{QUERY_STRING} [L]
RewriteRule ^(.)-pji-(.*).html$ index.php?main_page=document_product_info&products_id=$2&%{QUERY_STRING} [L]For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ /index.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]
For dreamscape's News & Articles Manager
RewriteRule ^rss.xml$ /index.php?main_page=news_rss&%{QUERY_STRING} [L]
All other pages
Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ /index.php?main_page=$1&%{QUERY_STRING} [L]Please help me..
Thanks in advance
-Immanuel Victor
Hi number one you need to get rid of all this in your .htaccess file. You can not run another seo url module with this one.
Number two you need to create your .htaccess file like the example one I mention above.
SEO URLs
RewriteRule ^(.)-p-(.).html$ index.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-c-(.).html$ index.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-n-(.).html$ index.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-m-([0-9]+).html$ index.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pi-([0-9]+).html$ index.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pr-([0-9]+).html$ index.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.)-pri-([0-9]+).html$ index.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
#RewriteRule ^catalog/(.)$ index.php?main_page=product_info&products_id=118&%{QUERY_STRING} [L]
RewriteRule ^(.)-pji-(.*).html$ index.php?main_page=document_product_info&products_id=$2&%{QUERY_STRING} [L]