Go to GuiForm settings choose Custom Link and enter “portfolio/form” in the text box. Please reply to this post with the result.
Thanks
Hi!
Thanks for the quick reply. Unfortunately this does not change anything.
I’ve tried:
http://xyz.com/portfolio/portfolio/form/123
http://xyz.com/portfolio/form/123
Still I receive the 404 error.
I think you didn’t configure your WordPress subfolder properly. Try to remove the .htaccess file in your subfolder or parent directory, make sure you have a backup. Below is the link of my demo subfolder WordPress site, you can check.
Form: http://demo.guiform.com/subfolder/form/1
Admin: http://demo.guiform.com/subfolder/wp-admin.php
user: demo
pass: demo
When I try to open the Admin link you posted I receive an error message:
Not Found
It looks like nothing was found at this location. Maybe try a search?
Edit: worked without the .php ending.
I removed the .htaccess file from the parent directory – wp did not show up anymore.
When I removed the .htaccess file from the /portfolio folder nothing changed.
Strange :/
Ok, I think I got a bit closer to the solution.
The form works if the settings under settings –> general are:
WordPress Address (URL): http://xyz.com/portfolio
Site Address (URL): http://xyz.com/portfolio
But the form does not work if:
WordPress Address (URL): http://xyz.com/portfolio
Site Address (URL): http://xyz.com
Since I would like to keep the site address without the /portfolio is there a way to get this working? 🙂
Many thanks!
Sorry wrong URL, try the link below.
http://demo.guiform.com/subfolder/wp-admin/
user: demo
pass: demo
Changed the Site Address URL in your Admin and now the form does not work as well 🙂
Why do you need to change Site Address URL? It is obvious that it will break the link. If you want to go back to your main site use the Costume menu in your profile site navigation. If you insist try this alternative none clean URL.
Example:
http://xyz.com/portfolio/?form=1
I need to change the Site Address URL because my WP installation is in the /portfolio folder but I don’t want the visitors to see that. Or do I make a mistake in thinking? :/
I see, so this is not GuiForm plugin issue then. You need to add RewriteCond in your .htaccess file to hide your subfolder similar to the code below.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteCond %{REQUEST_URI} !^/subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /domain/$1
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteRule ^(/)?$ subfolder/ [L]
I guess I’m gonna create a new WP install in the main folder.
Thanks for your patience and help!