Title: 404 / wrong form link?
Last modified: August 21, 2016

---

# 404 / wrong form link?

 *  Resolved [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/)
 * Hi,
 * first of all I’d like to thank you for this amazing plugin!
    Everything works
   like a charm except for displaying the created form. My WP is installed in a 
   subfolder called /portfolio. WP tries to display the form by using the url [http://www.xyz.com/portfolio/form/1](http://www.xyz.com/portfolio/form/1)
   but this results in an error (404). As soon as I manually edit the url to [http://www.xyz.com/form/1](http://www.xyz.com/form/1)
   it is displayed as it should be.
 * Unfortunately I do not have any idea how to solve this issue and it would be 
   very nice if you could give some hint 😉
 * Many thanks!
 * [https://wordpress.org/plugins/guiform/](https://wordpress.org/plugins/guiform/)

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [russellpabon](https://wordpress.org/support/users/russellpabon/)
 * (@russellpabon)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656195)
 * Go to GuiForm settings choose Custom Link and enter “portfolio/form” in the text
   box. Please reply to this post with the result.
 * Thanks
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656199)
 * 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/portfolio/form/123)
   [http://xyz.com/portfolio/form/123](http://xyz.com/portfolio/form/123)
 * Still I receive the 404 error.
 *  Plugin Author [russellpabon](https://wordpress.org/support/users/russellpabon/)
 * (@russellpabon)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656217)
 * 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](http://demo.guiform.com/subfolder/form/1)
   
   Admin: [http://demo.guiform.com/subfolder/wp-admin.php](http://demo.guiform.com/subfolder/wp-admin.php)
   user: demo pass: demo
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656218)
 * 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 :/
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656219)
 * 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](http://xyz.com/portfolio)
   
   Site Address (URL): [http://xyz.com/portfolio](http://xyz.com/portfolio)
 * But the form does not work if:
 * WordPress Address (URL): [http://xyz.com/portfolio](http://xyz.com/portfolio)
   
   Site Address (URL): [http://xyz.com](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!
 *  Plugin Author [russellpabon](https://wordpress.org/support/users/russellpabon/)
 * (@russellpabon)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656220)
 * Sorry wrong URL, try the link below.
 * [http://demo.guiform.com/subfolder/wp-admin/](http://demo.guiform.com/subfolder/wp-admin/)
   
   user: demo pass: demo
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656224)
 * Changed the Site Address URL in your Admin and now the form does not work as 
   well 🙂
 *  Plugin Author [russellpabon](https://wordpress.org/support/users/russellpabon/)
 * (@russellpabon)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656227)
 * 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](http://xyz.com/portfolio/?form=1)
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656228)
 * 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?:/
 *  Plugin Author [russellpabon](https://wordpress.org/support/users/russellpabon/)
 * (@russellpabon)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656234)
 * 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]
 *  Thread Starter [angelobo](https://wordpress.org/support/users/angelobo/)
 * (@angelobo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656237)
 * I guess I’m gonna create a new WP install in the main folder.
 * Thanks for your patience and help!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘404 / wrong form link?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/guiform.svg)
 * [GuiForm](https://wordpress.org/plugins/guiform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/guiform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/guiform/)
 * [Active Topics](https://wordpress.org/support/plugin/guiform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/guiform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/guiform/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [angelobo](https://wordpress.org/support/users/angelobo/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/404-wrong-form-link/#post-4656237)
 * Status: resolved