my own seo friendly url pattern ?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Reza
Posts: 2
Joined: Mon Mar 05, 2018 3:33 pm

my own seo friendly url pattern ?

Post by Reza » Mon Mar 05, 2018 4:47 pm

Hello,
I'm new to phpmyfaq, so first of all I want to thank Thorsten and his team (I guess!) for their great KB script.
well, I'm customizing phpmyfaq a bit. I need to change the url pattern so it would be something like article/cat_title/faq_title instead of content/0/1/en/faq_title.html .
I modified .htaccess but didn't work. It seems it's in somewhere in codes. Any one knows what files should I edit to make it work?

Your helps would be greatly appreciated.

Reza
Posts: 2
Joined: Mon Mar 05, 2018 3:33 pm

Re: my own seo friendly url pattern ?

Post by Reza » Wed Mar 07, 2018 9:16 am

Since I didn't get any reply in this board (sadly) and also I can't make my website online with the current super ugly url pattern, I did some grep search using ssh to find what urls are using the original pattern. I found inc/PMF/Link.php and changed the constant PMF_LINK_CONTENT value from content to article. Also renamed and modified .htaccess and replaced content with article as well but the urls are not working. Any idea that what else files should I modify?

Thorsten
Posts: 14611
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: my own seo friendly url pattern ?

Post by Thorsten » Wed Mar 07, 2018 5:56 pm

Hi,

sorry for the late answer. You found the correct parts for the rewrite code. What's not working?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest