Opencart category urls
-
Hi,
I have a problem with the category urls in Opencart. I have duplicate page content because of this:
and
www.mydomain.com/category?page=1
are with same content.
There is also a very new problem, there are new urls - autogenerated like this.
www.mydomain.com/category/category?page1
These three urls are with same content and title.
I tried with 301 redirect like this:
RewriteRule ^category/category?page1$ www.mydomain.com/category [L,R=301]
but it doesnt work. Pls help me.
-
I dont understand from the video where should I do rel="next", which file?
pagination.php or other file?
-
You want to implement canonicals in opencart. So all url variations will canonical to what the sole url should be.
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=4225
You will also need to determine how to handle pagination when looking at canonicals. Either rel=next rel=prev or canonical to a view all if present. Google webmaster video on this:
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Is it OK to 301 redirect 1000s of duplicate random URLs to homepag?
Hello, We found a critical error in our site internal link structure and the way Google indexes it. Website has 1000s of URLs that are basically 50% match to homepage. They all start the same example.com/category/random/random I can do a redirect match and 301 them to homepage. This way 1000s of bogus url are not indexed and no value given. Is it OK to redirect so many URLs to homepage? Platform is creating these URLs because of search query, where it adds all site content to one page. Currently this search page /category / has own canonical and all those duplicate content URLs have canonical to that /category /. To fix my plan is to a. Remove canonical from /category / that way all those duplicate URLs don't have it either. B. Redirect match all URLs that have /category / in them to homepage. (this is most important page where 50% of that content is and should be the main page). Is this plan ok?
On-Page Optimization | | advertisingcloud1 -
URL Structure on Category Pages
Hi, Currently, we having the following URL Structure o our product pages: All Products Pages: www.viatrading.com/wholesale/283/All_Products.html Category Page: www.viatrading.com/wholesale/4/Clothing.html Product Page: www.viatrading.com/wholesale/product/LOAD-HE-WOM/Assorted-High-End-Women-Clothing-Lots.html?cid=4 Since we are going to use another frontend system, we are thinking about re-working on this URL Structure, using something like this: All Products Pages: www.viatrading.com/wholesale-products/ Category Page: www.viatrading.com/wholesale-products/category/ Product Page: www.viatrading.com/wholesale-products/category/product-title/ I understand this is better for SEO and user experience. However, we already have good traffic on the current URL Structure. Should we use same left-side filters on Category Pages as in All Products Page? Since we are using Faceted Navigation, when users filter the Category (e.g. Clothing) they will see same page as Clothing Category Page. Is that an issue for Duplicate Content? Since we are a wholesale company - I understand is using "/wholesale/products/" in URL for all product pages a good idea? If so, should we avoid word "wholesale" in product-title to avoid repeated word in URL? For us, SKU in URL helps the company employees and maybe some clients identify the link. However, what do you think of using the SEO-friendly product-title, and 301 redirect it to www.viatrading.com/BRTA-LN-DISHRACKS/, so 1st link is only used by company members and Canonicalized 2nd is the only one seen by general public? Thank you,
On-Page Optimization | | viatrading10 -
Multi Keyword URL Ranking at Number 1
Here is part of a URL that takes the local number 1 spot for "implant dentist glasgow" [website] /implant-dentistry-glasgow-scotland/implant-dentistry-glasgow-scotland.html The first /implant-dentistry-glasgow-scotland/ directory or page is protected and presumably just exists for ranking reasons. I am tempted to copy that URL on a client's implant page to compete for the keyword (I believe I have better content). Given that it works well for the other site, can you think of any reason that would that be a bad idea? Thanks very much.
On-Page Optimization | | neilmac0 -
How often should ecommerce category and product descriptions be rewritten?
We are a 15 year old ecommerce company. Most of our category descriptions are about 3 years old. Our product descriptions are 5-8 years old. While our category pages still rank well in Google our product pages have dropped significantly over time. How often should product page descriptions be rewritten so they do not become stale to Google? We have about 1,000 products on the site. If we rewrite them we are thinking about 250 words each. Thanks.
On-Page Optimization | | SLINC0 -
What is the most effective eCommerce product / category structure?
Hi all, We sell musical equipment, and we have been debating about how to structure our website in terms of products and categories. These are our two options: Each category page lists sub-categories _and _all of the products contained within each of these sub-categories, so e.g. the "Guitars" category page would contain links to "Electric Guitars" and "Acoustic Guitars" as well as a big list of electric and acoustic guitars. Each category page lists only its sub-categories, unless it is a "leaf" node, in which case it lists all the products, so e.g. category "Guitars" just has two links - to "Electric Guitars" and "Acoustic Guitars" - and no products. Option 2 means customers don't see products until they've decided which category they want, which doesn't seem ideal to me, but SEO-wise, which is best? Thanks! Alex
On-Page Optimization | | reddogmusic0 -
Keep our category navigation in tree structure but move our URLs to a more flat structure. Good plan?
In our Magento store, products are arranged into categories, subcategories and so on. We typically have 3 or 4 layers of category depth. This makes it nice and easy for customers to find stuff, but it means that the end categories have massive long urls. I'd like to keep our category tree structure in place from a navigation point of view, but I feel the url structure is pushing some important stuff to the back of the shop as it were. We have something like 200 categories in total. So, assuming every individual category has an a unique name, I'd like to rewrite the urls so that: ourshop.com/car-parts/
On-Page Optimization | | DWJames
stays as
ourshop.com/car-parts/ ourshop.com/car-parts/suspension/
becomes
ourshop.com/suspension/ ourshop.com/car-parts/suspension/springs
becomes
ourshop.com/springs/ ourshop.com/car-parts/suspension/springs/thismake-lowering-springs
becomes
ourshop.com/thismake-lowering-springs/ and so on....
I'll need some custom magento URL rewrite work done, but that's another story. The real question is whether you guys feel this is worthwhile? Are there any other stores with a deep categorised navigation structure, but a flat url structure? thanks, James0 -
Robots.txt: excluding URL
Hi, spiders crawl some dynamic urls in my website (example: http://www.keihome.it/elettrodomestici/cappe/cappa-vision-con-tv-falmec/714/ + http://www.keihome.it/elettrodomestici/cappe/cappa-vision-con-tv-falmec/714/open=true) as different pages, resulting duplicate content of course. What is syntax for disallow these kind of urls in robots.txt? Thanks so much
On-Page Optimization | | anakyn0 -
Absolute vs Relative URLs
What are the pros and cons of these two types of URLs and what type of weight does this hold. It doesn't seem to be a big issue in regards to ranking. Any qualified clarity would help.
On-Page Optimization | | Romancing0