vsn Posted September 18, 2018 Posted September 18, 2018 Hi there, I am migrating from PS to TB. Just because the old PS urls are already indexed by google and have good ranking I am really looking for the way to make TB urs somehow compatible with the old ones. Meaning, that calling the old PS urls should lead to the correct TB page, the urls itself can be different. Now I saw some hints how to do it, or a part of it. Can somebody provide a full list of TB customizing including products, categories, manufactures etc.? I guess this is done via URLS scheme settings in BO. Thanks!
colorful-ant Posted September 18, 2018 Posted September 18, 2018 Please look in your other question. @datakick said in Unable to update URL-Scheme at TB 1.0.6: Make sure you have routes defined for all languages. Here you can set the urls.
rubben1985 Posted September 19, 2018 Posted September 19, 2018 Any chance that if I include ID in the URL, TB can redirects to the product (or cms...) if the rest of the URL change? That was REALLY useful in PS. When I changed the product name, if someone tried to access a product from an external link they never find a 404 error (even if the URL changed) because it recognised the ID and they were automatically redirected. I miss A LOT that feature because my business is still being created and I frequently change names to improve SEO so I have a lot of 404 errors ( I can not do so many manual redirection every week)
Traumflug Posted September 19, 2018 Posted September 19, 2018 Unless I'm mistaken, using the same route templates in thirty bees leads to the same URLs. One can still use an {id} in there, it's just no longer the default and no longer necessary.
rubben1985 Posted September 20, 2018 Posted September 20, 2018 Small bug: I deleted the URL construction rules until I will have some time to create the redirections (as now there is not ID, this time I need to create them) but it doesn't work. I delete, I click save and it informs about an error it seems it actually delete the rule but it doesn't really do it. If I click in the back-office URL& SEO section menu to open again the page (it doesn't work doing click in refresh as I serve to safe again) I can see it was not really saved. The solution is to write the rule: info/{rewrite} It will through the error but it saves it. Here you can see a small video reproducing the bug: https://www.screencast.com/t/xIl4XKwm
Traumflug Posted September 21, 2018 Posted September 21, 2018 Too bad, Ubuntu no longer comes with a Flash player. So I added {id} to some of the rules. They got stored and the product URL indeed changes. That's about what I'd expect. Did you notice that these rules are per-language? If you change the English rule, the Spanish one will stay on its previous value. One has to change all of them.
rubben1985 Posted September 21, 2018 Posted September 21, 2018 Yes, I notice that it is per language. The bug is just when you delete the rules because it doesn't delete them. It is necessary to write something (but they are empty by default so it is not logic) so it seems it is related to request some character to be actually able to save.
Traumflug Posted September 21, 2018 Posted September 21, 2018 One can't entirely delete these rules. Every page needs an URL, after all. {rewrite} is the minimum, as indicated by the required-star in the description below each field. Remains the question how you managed to get these fields empty. They should be filled properly with a standard installation.
rubben1985 Posted September 21, 2018 Posted September 21, 2018 They were empty since installation. I migrate from prestashop 1.6.14 to TB 1.3. I updated to 1.0.4, that it is all I can say. Anyway it is not a critical thing
vsn Posted September 22, 2018 Author Posted September 22, 2018 The following customizing follows to exact the same url structure as PS has : product: {category:/}{id}-{rewrite}{-:ean13}.html category: {id}-{rewrite} category Layered Navigation: {categories:/}{rewrite}{/:selected_filters} supplier: {id}-{rewrite} manufacturer: {id}-{rewrite} CSM: {id}-{rewrite} CSM: {id}-{rewrite} The last 4 entries (supplier etc.) generate ursl in the PS way, but clicking them leads to 404. I will open a new thread for this issue.
Traumflug Posted September 23, 2018 Posted September 23, 2018 Filed an issue report for this, which also describes the workaround: https://github.com/thirtybees/thirtybees/issues/604
mauroagr Posted September 23, 2018 Posted September 23, 2018 @vsn said in Making prestashop urls compatible with TB (1.0.6): supplier: {id}-{rewrite} manufacturer: {id}-{rewrite} CSM: {id}-{rewrite} CSM: {id}-{rewrite} I think is about the code can't recognized if is suppliers or manufacture about is the same rewrite. In my configuration, i have underscore _ and double underscore __ then working good. Check if your original config not have this too. Thanks Mauro
vsn Posted September 23, 2018 Author Posted September 23, 2018 @mauroagr yes! you are right! The right settings are: product: {category:/}{id}-{rewrite}{-:ean13}.html category: {id}-{rewrite} category Layered Navigation: {categories:/}{rewrite}{/:selectedfilters} ****supplier: {id}__ {rewrite} *!!!!! comment: delete the blank manufacturer: {id}{rewrite} CSM: content/{id}-{rewrite} CSM: content/category/{id}-{rewrite}**** Fully compatible with PS urls.
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