| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Products URL wrong | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Products URL wrong
We manually create URL for each product and get this in product description page:
Result: http://www.cardacc.com/at-erc-26a-3001-clamshell-prox-card.html However if that link is clicked or entered browser opens site index page. By navigating through menus one can get into actual product page mentioned above: http://www.cardacc.com/cart.php?target=product&product_id=50&category_id= 10 It's nothing like it suppose to be. We lose search engines rankings on such problem. What are we doing wrong here?
__________________
5.3.2.2 Business License |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Products URL wrong
It looks that you have some problems with URL rewrites on your server.
Did you check this article with instructions on configuring URL rewrites? http://kb.x-cart.com/en/general_setup/setting_up_seo-friendly_urls.html
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||
|
|||||||
Re: Products URL wrong
Enabled clean URLs and got this response:
We made a test request to URL and got the following result. It means that your SEO-friendly URLs may not work properly after enabling. Error code explanation - - - - - - - - - I just checked C panel. There is no Environment section described in article adn there is no httpd.conf file there - - - - - - - - - I still don't understand what server has to do with internal links? If part address is http://www.cardacc.com/at-erc-card.html how that can go wrong
__________________
5.3.2.2 Business License |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Products URL wrong
Just check with your hosting company how you can turn URL rewrites for your site.
Most likely it is something that they should enable in the server settings.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
Re: Products URL wrong
WEB master tested server and got this back:
Yes, mod_rewrite is enabled by default : [root@viking ~]# httpd -M | grep rewri rewrite_module (shared) [root@viking ~]# httpd -M represents all activated modules in Apache and "grep rewri" filters out if mod_rewrite is enabled. Should links work in both free and paid shopping cart versions?
__________________
5.3.2.2 Business License |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Products URL wrong
Yes, Clean URLs should work for both the free and the paid licenses.
I'm not sure what else you should check. Usually, enabling mod_rewrite is all you are to do to enable Clean URLs on an Apache server. Did you check this section too? http://kb.x-cart.com/en/general_setup/setting_up_seo-friendly_urls.html#troubleshooting It may be that your server settings prevent X-Cart from using its own .htaccess file (thus disabling mod_rewrite rules defined in it).
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#7
|
|||||||
|
|||||||
Re: Products URL wrong
Tried everything, even changing name of current .htpaccess and to bring in .htpaccess from our other site that works fine. Still no luck. I went to search for file .htaccess in C Panel root directory and found that file here:
/public_html/.htaccess /public_html/xcart/.htaccess /public_html/vendor/.htaccess /public_html/etc/.htaccess /public_html/lib/.htaccess /public_html/dompdf/lib/php-font-lib/.htaccess /public_html/skins/.htaccess /public_html/images/.htaccess /public_html/var/.htaccess /public_html/var/export/.htaccess Is that normal that file is copied so many times? Which one is most important?
__________________
5.3.2.2 Business License |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Products URL wrong
You don't need to change the name of the .htaccess file. Instead you should check with your server administrator if the server configuration allows your .htaccess files to alter the default server settings (including the mod_rewrite one).
Quote:
What is in the "xcart" directory? Where did you install X-Cart? Is it this directory, or the "public_html" one? Or do you have two X-Cart installations at the same time?
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#9
|
|||||||
|
|||||||
Re: Products URL wrong
Alex, x-cart directory had one of the .htaccess files and 2 images. I deleted everything and folder as well. So installation is where it suppose to be, in public_html root directory.
WEB master already checked everything and every test shows that server is OK. He even contacted C Panel support line. Do you want to take a look, I'll send you credentials to log into C Panel?
__________________
5.3.2.2 Business License |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Products URL wrong
I'm sorry, but I'm not a technical support engineer.
Please submit a ticket at https://secure.x-cart.com/ and our support team will check the issue for you.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|