I'm having trouble converting my website's dynamic URL's into static URL's. My hosting plan is shared via bluehost and I have followed their documentation but to no success. Link attached:
https://www.bluehost.com/help/article/htaccess-tutorial
I've been entering the below into .htaccess but nothing happens whenever I access the relevant pages. The code is as follows:
Options +SymLinksIfOwnerMatch
RewriteEngine on
RewriteBase /
RewriteRule -Victorian-Gondoliers-Boat-Hook-(.*)-product-details_id-(.*)\.html$ product-details?Victorian-Gondoliers-Boat-Hook=$1&product-details_id=$2
To be more exact, I would like to convert the above url into:
https://raven-antiques.com/product-details/Victorian-Gondoliers-Boat-Hook
My product details page is a page-product-details.php dynamic file which relies on GET statements to echo out the unique product details.
Is this a user permission problem given that the hosting plan is shared or have I entered something in incorrectly?
Yours Sincerely, Gregory.