I couldn't find what's wrong with this, hope get solution for this error.
-
What is the url key of the 2 in 1 laptops? Also, is 2 in 1 laptops a sub category of laptops in your category tree?– SmartieCommented Sep 23, 2015 at 8:50
-
Yes first main category is Computing naijashop.com.ng/computing.html and then under computing laptops and under laptop others.– Bishal NeupaneCommented Sep 23, 2015 at 8:53
-
and the url key? Can you post a screenshot of your category tree that includes the 2 in1 laptops category– SmartieCommented Sep 23, 2015 at 8:58
-
I just want to know how to remove this // double slash from url– Bishal NeupaneCommented Sep 23, 2015 at 8:58
-
i.sstatic.net/SZi4f.jpg– Bishal NeupaneCommented Sep 23, 2015 at 9:02
2 Answers
Try this
Check if the category is active (Catalog->Categories) then go to the category and see what the url key is. If its all correct please try to flush the cache and I´m sure it will work.
Check the .htaccess and try to add this
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{THE_REQUEST} //+
RewriteRule (.+)//+(.+) $1/$2 [r=301,l]
-
All are correct the is active - yes and url also flush the cache but no effecting Commented Sep 23, 2015 at 8:04
-
but you can see the screenshot above the url is passing double slash // so it is happening but how to remove the // from the url Commented Sep 23, 2015 at 8:05
-
-
-
Are you sure your site is in Magento? Because when I checked it with builtwith I did not find Magento
but openCart
Also your category URL is being generated like
http://naijashop.com.ng/index.php?route=product/category&path=60
And your product URL is generated like
http://naijashop.com.ng/index.php?route=product/product&product_id=51
Can you please explain more about these.??