Permalink

Please report bugs here!

Moderator: Thorsten

Post Reply
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Permalink

Post by kodama »

Hi,

I'm sorry I'm not sure it is a bug, I guess it must be a wrong thing I've done...

I have a problem with permalink here: http://www.ma-redaction.com/formation/faq/

I did a test with writing a question and answer, but the link of the question goes nowhere: http://www.ma-redaction.com/formation/f ... ement.html

I did a chmod 777 on all the faq folder and it's files.

Thank you for your help, regards
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

My guess would be something to do with internal linking,

for example

if you use your main site

and go to herehttp://www.ma-redaction.com/faqs/ it displays a 404 page not found

then go to your sub directory and try this

Code: Select all

 http://www.ma-redaction.com/formation/faq/content/1/1/fr/serai_je-forme-au-referencement.html
then you will see a different message saying page not found

most people forget to remove the "__" for the .htacess file but thats not the case for yours

and i see you already have a faq directory taken up by another FAQ on your site...

so my guess to why its doing it is you have your FAQ in a directory of another directory /formation/faq/
i think if you just had the 1 directory you would be fine if you had something like this http://www.ma-redaction.com/faqs
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Hi,

Non it's not the problem...I tried another folder name (questions-reponses): http://www.ma-redaction.com/formation/q ... ement.html
And still the same answer.
Also, I didn't remove the _ in front of htaccess, but there is no _ now, I don't know why. :roll:

Thank you for your help

[edit] maybe I have an idea, the adress tells "content/1/1/fr/etc" but I don't see any "content" folder" in my ftp. Should I create it myself? Or did I do something wrong then It's been created the faq in a "content" folder?
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

you did the same thing as you did last time, you have your root directory/ then you have a sub directory named formation, your installing in the folder titled formation,

try creating a folder in your titled questions-reponses in your root directory so then the web address would look like this http://www.ma-redaction.comquestions-reponses

and no you dont need to create a folder named content thats just the Absolute Hosting Path ..... my path includes content also /home/content/j/a/s/jason/html

i would try the way i described here out your faq in its own folder and not another folder so all you have to do is download the file from phpmyfaq.de when you download it the folder will be named phpmyfaq rename it to question-responses or whatever you would like then upload that folder to the root directory
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Ok, sorry, I thougt I had to rename it only!

So, I must reinstall it? Or if I copy all the foder questions-reponses in my root, it's ok?
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

you can just copy the whole folder to the root if you would like
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Well, now this is a 404 not found: http://www.ma-redaction.com/questions-r ... ement.html

I just moved the folder.
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

ok now go to your .htacess folder and go to line 29 and remove the RewriteBase /fphpmyfaq/ and insert the name of your folder so if the folder is called question-response thats what you put there

i acually thought you had the .htacess file already edited to work properly since the _ was not there
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Everything is now working, I missed this information about rewrting rules! Thanks a lot!
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

your welcome, also if you want to try having it in the formation folder make sure you change the .htacess to forumation/question-response this might work if you want it in the formation folder
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Great, thank you!

I want to ask you just another question: is it possible to forbid registering? Cause I want to do a faq only with my questions. Thank you!
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Permalink

Post by jason102178 »

Nope not at this time, But we have been working on the 2.7 version if you would like to see this feature i would make sure to post it in the propsal forum, as of right now in the 2.7 RC we just released yesterday we have a feature in there called complete secured were your FAQS will not be visible if someone goes to your FAQ and that is enabled they will be prompted to enter a username and password they can register but all reistrations have to be aproved by the administrator so they still wont be able to login and see your FAQs if you dont want them to
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
kodama
Posts: 7
Joined: Tue Sep 13, 2011 12:01 pm

Re: Permalink

Post by kodama »

Ok, thank you for everything, have a nice day
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Permalink

Post by Thorsten »

Hi,

to disable the registration just remove it from the templates.

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