farid185 Posted February 28, 2011 Share Posted February 28, 2011 Hi,I have changed PS-Domain of domain.com /presta to domain.com .now PS-Admin and home working , but if clicking on category, get this error message: "We're sorry, but the Web address you entered is no longer available""Friendly URL" is enabled and htaccess file generated. It has not helped.as Click on the category, this link appears:http://nikicom.info/prestashop1/category.php?id_category=5but the correct link is:http://nikicom.info/category.php?id_category=5What can I do now?Thanks.htaccess: # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # WARNING: PLEASE DO NOT MODIFY THIS FILE MANUALLY. IF NECESSARY, ADD YOUR SPECIFIC CONFIGURATION WITH THE HTACCESS GENERATOR IN BACK OFFICE # http://www.prestashop.com - http://www.prestashop.com/forums AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php # URL rewriting module activation RewriteEngine on RewriteCond %{REQUEST_METHOD} !^(TRACE|TRACK|GET|POST|HEAD)$ RewriteRule .* – [F] Options +FollowSymLinks # URL rewriting rules RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2$3.jpg [QSA,L,E] RewriteRule ^([0-9]+)\-([0-9]+)/([_a-zA-Z0-9-]*)\.jpg$ /img/p/$1-$2.jpg [QSA,L,E] RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /img/c/$1$2.jpg [QSA,L,E] RewriteRule ^lang-([a-z]{2})/([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$3&isolang;=$1$5 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2&isolang;=$1$4 [L,E] RewriteRule ^lang-([a-z]{2})/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$2&isolang;=$1 [QSA,L,E] RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$2$4 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)\.html(.*)$ /product.php?id_product=$1$3 [L,E] RewriteRule ^([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /category.php?id_category=$1 [QSA,L,E] RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms=$1 [QSA,L,E] RewriteRule ^content/category/([0-9]+)\-([a-zA-Z0-9-]*)(.*)$ /cms.php?id_cms_category=$1 [QSA,L,E] RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*)(.*)$ /supplier.php?id_supplier=$1$3 [QSA,L,E] RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*)(.*)$ /manufacturer.php?id_manufacturer=$1$3 [QSA,L,E] RewriteRule ^lang-en/page-not-found$ /404.php?isolang=en [QSA,L] RewriteRule ^lang-en/address$ /address.php?isolang=en [QSA,L] RewriteRule ^lang-en/addresses$ /addresses.php?isolang=en [QSA,L] RewriteRule ^lang-en/authentication$ /authentication.php?isolang=en [QSA,L] RewriteRule ^lang-en/best-sales$ /best-sales.php?isolang=en [QSA,L] RewriteRule ^lang-en/cart$ /cart.php?isolang=en [QSA,L] RewriteRule ^lang-en/contact-us$ /contact-form.php?isolang=en [QSA,L] RewriteRule ^lang-en/discount$ /discount.php?isolang=en [QSA,L] RewriteRule ^lang-en/order-history$ /history.php?isolang=en [QSA,L] RewriteRule ^lang-en/identity$ /identity.php?isolang=en [QSA,L] RewriteRule ^lang-en/manufacturers$ /manufacturer.php?isolang=en [QSA,L] RewriteRule ^lang-en/my-account$ /my-account.php?isolang=en [QSA,L] RewriteRule ^lang-en/new-products$ /new-products.php?isolang=en [QSA,L] RewriteRule ^lang-en/order$ /order.php?isolang=en [QSA,L] RewriteRule ^lang-en/order-follow$ /order-follow.php?isolang=en [QSA,L] RewriteRule ^lang-en/order-slip$ /order-slip.php?isolang=en [QSA,L] RewriteRule ^lang-en/password-recovery$ /password.php?isolang=en [QSA,L] RewriteRule ^lang-en/prices-drop$ /prices-drop.php?isolang=en [QSA,L] RewriteRule ^lang-en/search$ /search.php?isolang=en [QSA,L] RewriteRule ^lang-en/sitemap$ /sitemap.php?isolang=en [QSA,L] RewriteRule ^lang-en/stores$ /stores.php?isolang=en [QSA,L] RewriteRule ^lang-en/supplier$ /supplier.php?isolang=en [QSA,L] RewriteRule ^lang-([a-z]{2})/(.*)$ /$2?isolang=$1 [QSA,L,E] # Catch 404 errors ErrorDocument 404 /404.php Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 I guess you not just moved the domain, you also moved the folder.It seem that you are using sub-folder /prestashop1/ before, not now your shop is at root.You need to change your site base URI in file /config/settings.inc.phpChange from define('__PS_BASE_URI__', '/prestashop1/'); To define('__PS_BASE_URI__', '/'); Link to comment Share on other sites More sharing options...
farid185 Posted February 28, 2011 Author Share Posted February 28, 2011 thanks for the quick response but I've already done that Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 I could be cache, try to remove all files under folder but keep index.php file./tools/smarty/compile/ Link to comment Share on other sites More sharing options...
farid185 Posted February 28, 2011 Author Share Posted February 28, 2011 I've just tried but it did not help Link to comment Share on other sites More sharing options...
shokinro Posted February 28, 2011 Share Posted February 28, 2011 it's really weird. I think you must have done re-generate the .htaccess file, if not done yet, try that.I really have no idea. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now