: Yes, your SEO advisors are correct. You can actually use the Apache Rewrite module to translate that SEO-friendly URL into the alternative you would prefer. By changing the desired URL structure
Yes, your SEO advisors are correct. You can actually use the Apache Rewrite module to translate that SEO-friendly URL into the alternative you would prefer. By changing the desired URL structure to example.com/categories/category/subcategory/, you can do this in your .htaccess file:
RewriteRule ^categories/([^/]+)/([^/]+) showcat.php?cat=-
Basically when Apache receives the request with the SEO-friendly URL, it matches that line and calls the PHP file using the structure you prefer, automagically inserting the category names.
Almost every PHP CMS with SEO-friendly URLs uses mod_rewrite in some capacity.
Here's a helpful guide to get you started: www.addedbytes.com/for-beginners/url-rewriting-for-beginners/
More posts by @Chiappetta492
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.