Mod Rewrite for Attribute parameter pages
We have extensive use of attributes on our site which causes almost an infinite amount of possible page combinations (and urls for google to crawl).
We want to utilize the Mod Rewrite function in the URL redirection settings to create "friendly" urls so that we can prevent indexation of attribute parameter globally but still have pages indexed that make use of pre-defined attribute combinations.
ie:
to be rewritten as:
https://www.projectorscreen.com/optoma-4k-projectors-5000-lumens-plus
-
I wonder if there is a way to use URL Redirects to manually do this task?
https://support.americommerce.com/hc/en-us/articles/201903500-URL-Redirects
I tried doing it for some of my own attribute filters but I couldn't get the rewrite working.
One idea is to be able to assign slugs to attributes and use those slugs instead of IDs to make the URLs more meaningful.
Instead of:
https://toybomb.com/funko?Attribs=63+40
have it be
https://toybomb.com/funko?Attribs=Deadpool+BatmanOr an a more friendly rewrite using those slugs like:
https://toybomb.com/funko/attribs/Deadpool/Batman -
I have a ticket open regarding the mod rewrites not working :(
I like the idea of the slugs too. With the ModRewrite, Id have to have all sorts of combinations loaded into the redirect admin in order to control it; if we went with slugs we could achieve a (better) optimized url than with just attrib paramters and not need to manage any mod rewrites
-
Hey Brian,
Would you be willing to share how AC Support fix this for you? It still appears that when I go to the page you referenced in your request it still shows the url as https://www.projectorscreen.com/4k-projectors?Attribs=5853+1540 (I even went to https://www.projectorscreen.com/4k-projectors and choose some attributes to see if that made a difference.)
I really like the idea of meaningful attribute names in the url, but maybe that needs to be a separate feature request as from your original request that was more part of a potential solution to your main concern.
-
They showed me a way to manually set it up using their redirection module as their instructions for that were not very intuitive.
I'm entertaining having this done to my spec automatically by the AC dev team. If you or anyone else is interested in dev-sharing this feature, I'm sure we can make this a reality relatively quickly.
Please sign in to leave a comment.
Comments
6 comments