Thread Starter
john
(@johnq8686)
Thanks, but i don’t want to change the url of any woocommerce pages. I just want to create a url: sitename.com/seeds that points to the product category page.
Is it a redirect? The url that I want (.com/seeds) is not a page that exists.
What if I create the page in wordpress? Is there anything I can set on that page so it redirects to the woocommerce category page?
It sounds like I need to set up a 301 redirect in Cpanel.
Well, the easy way is :
– add a new Page called seeds
– redirect /seeds/ to /product-category/seeds/
Done.
Thread Starter
john
(@johnq8686)
Do you suggest a 301 redirect in cpanel?
Sure. If your host provides that option using configuration.
Otherwise, just add your access file :
https://linchpinseo.com/htaccess-rules/#common-301-redirect-htaccess-rules
FWIW, use of 301 vs. 302 status has SEO implications. Which to use depends on why you are redirecting and how you’d want search engines to manage one URL or the other.
I cannot claim to be an SEO expert, but if you want the shorter URL to be the one that appears in search results over the longer, I believe you’d want a 302 redirect.
Yeah – personally I don’t think either method is a great approach.
I’m no SEO expert either, but I would lean toward 301 :
https://www.searchenginejournal.com/301-vs-302-redirects-seo/299843/#close
302 implies that the link is not always going to be there, whereas 301 says that the redirect is permanent. The wonky part about this situation is that there really isn’t going to be content on /seeds/
I think if it were me – I build a CTA landing page at /seeds/, or forget about the redirect altogether.
Thread Starter
john
(@johnq8686)
What is a CTA landing page?
I don’t want the original URL to change. I just want to be able to type a shorter URL when directing people to the page. “Buy my seeds at name.com/seeds”
And not have to remember or type name.com/product-category/seeds
-
This reply was modified 5 years, 4 months ago by
john.