Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
wwrivers
Posts: 5
Joined: Mon Oct 29, 2012 5:43 am

Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by wwrivers »

I just moved my faq from one server to another and managed to get it to work. I moved version 2.0.2, then upgraded to 2.7.8. I am able to see the faq on the front end, but when I click a link the url's are all invalid. Everything works fine on the admin backend. What do I need to do to get the url's to direct correctly on the front end?

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

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by Thorsten »

Hi,

what do you mean with incorrect? Did you enabled the rewrite rules by accident?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
wwrivers
Posts: 5
Joined: Mon Oct 29, 2012 5:43 am

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by wwrivers »

Hi,

Thanks for the reply. Yes, I did enable the rewrite rules and when I uncheck that I am able to get to the various faq pages by clicking on links on the faq. When I enable the rewrite rules I get the page not found error again. I am trying to match up with the previous urls from our old web server, so will need to use rewrites. How do I get this to work correctly? Here are some url's from our previous server:

faq/category/1/general-travel-tips.html
faq/content/12/129/en/what-is-the-water-temperature-in-the-galapagos-islands.html
faq/content/21/112/en/what-type-of-electrical-outlets-and-currency-is-used-in-belize.html

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

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by Thorsten »

Hi,

these URLs are correct. Is your .htaccess file correct? Did you renamed it from _.htaccess to .htacess?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
wwrivers
Posts: 5
Joined: Mon Oct 29, 2012 5:43 am

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by wwrivers »

Hi,

I just changed the name from _.htaccess to .htacess but still get the page not found error. Do I need to configure the date or something to match my old urls? Currently the date format in admin says: Y-m-d H:i. What should it say to match my urls, such as: faq/content/12/129/en/what-is-the-water-temperature-in-the-galapagos-islands.html

Thanks
wwrivers
Posts: 5
Joined: Mon Oct 29, 2012 5:43 am

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by wwrivers »

Just noticed this in the instructions as well: "You also have to edit the path information for the "RewriteBase"." How and where do I do this?

Thanks so much for your help.
wwrivers
Posts: 5
Joined: Mon Oct 29, 2012 5:43 am

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by wwrivers »

Thanks for all of your help. I solved the issue by editing the "RewriteBase" in .htaccess.

Thanks for all the good support.
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Upgraded from 2.0.2 to 2.7.8 and urls are incorrect

Post by Thorsten »

Hi,

great to know. Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply