Thread Starter
kaderm
(@kaderm)
Maybe I wasn’t clear enough
so here some pictures, I would really like to understand this.
First here is my link :
Food Intolerance symptom quiz
Here is the pictures of my page in wp admin
And the actual page
So, how does WP knows to show the info ?
Thank you
One way that it could have happened, is if you have a folder called food-intolerance-symptom-quiz, and you have the php file in there.
If that is the case, when you created the page with the same title, the url points to that directory.
I have done this on my site, on purpose, for a specific directory.
Edit: I see now that you mention having an individual file, but it may have happened that way all the same, the page calling the same url.
Thread Starter
kaderm
(@kaderm)
Hi Buddha,
The name of my php file (which is in the root of my theme, and is called : page_symptoms-test-en.php) has this bit of code :
<form name="symptoms" method="post" action="<?php echo get_settings('home'); ?>/symptoms/food-intolerance-symptoms-quiz/en/">
Is that what you meant ?
As you can see in the pictures, the url in the form action is the same as my slug in wp write page.
Yes, that’s what I meant. If you are calling the same url with the slug, creating that page, just created the permalink, but then the browser goes straight to that file.
I’d think it went that way. I did it by creating a page with the same name of a directory, where I have another php install different than WP, and it worked.