Product url subdirectory issue
-
Hello,
Product url generated by {{product_link}} is incorrect when wordpress is installed on a subdirectory.
Example:
Let’s say the wordpress files are installed in a subdirectory. I have something like the following in general settings on wordpress:
WordPress Address (URL)
https://website.com/subdirectorySite Address (URL)
https://website.comIn this scenario, the subdirectory should only by used for wordpress installation files, therefore, products do not include the “/subdirectory/” on the url:
https://website.com/shop/watches/example-watch-product
However, your plugin is not removing the subdirectory from the url when being generated by the {{product_link}} shortcode and is showing something like this:
https://website.com/subdirectory/shop/watches/example-watch-product
Since the real product url does not include the “/subdirectory/”, this of course results in a 404 page problem.
Please add support for websites that have the wordpress files installed on a subdirectory but the site address is still without it.
Best regards,
- The topic ‘Product url subdirectory issue’ is closed to new replies.