Comments (8)
Default Wordpress htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Default Wordpress Multisite htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
from gravity-forms-iframe.
I'll have to do some testing on multisite to check that out. Did you network activate the plugin or just activate it on the site you're using it on?
from gravity-forms-iframe.
I tried both, same results.
from gravity-forms-iframe.
I just tried both myself and I'm not seeing this issue. Can you try installing the Rewrite Rules Inspector plugin and seeing if an entry with (gfembed.php)$
shows up?
from gravity-forms-iframe.
(gfembed.php)$ index.php?gfiframe=$matches[1] other
from gravity-forms-iframe.
It sounds like a server config issue or there's a problem with the rewrite rule (since it ends with a php extension, it might conflict with that second to last rule in the multisite .htaccess). Are you using a subdirectory or subdomain install?
Otherwise, everything seems to be set up correctly and the rewrite rule exists, so I'm not sure where the problem is at this point. If you're able to do any troubleshooting and find something out, let me know.
from gravity-forms-iframe.
Commenting out the second to last rule as you suggested seems to have fixed it, hopefully it doesn't cause any problems elsewhere.
Thanks for the help, rewrite rules are not my forte
edit - Using subdirectory multisite
from gravity-forms-iframe.
Interesting. Thanks for trying that out and letting me know it worked. I wouldn't recommend keeping that rule commented out since it could break other things. It sounds like I'll need to add a different rewrite rule that doesn't use the .php
extension.
from gravity-forms-iframe.
Related Issues (20)
- Iframe code is not working in wordpress post
- Smiley face at bottom of form on Mobile HOT 1
- iframe resize not working. HOT 2
- Getting URL of iframe page HOT 2
- Uncaught TypeError: t.data.split is not a function HOT 1
- Gravity Forms filters (e.g., gform_pre_render, gform_pre_validation, etc.) not working HOT 2
- Style of form embedded HOT 1
- Issue with embedding Gravity form on Clickfunnels page - Can you help please? HOT 1
- Conditional logic & Signature Filed Not working HOT 1
- Iframe works on desktop but not mobile HOT 6
- Thankyou so much HOT 1
- 'X-Frame-Options' to 'sameorigin' Issue HOT 2
- Iframe doesn't show updated form/new changes HOT 1
- iFrame requires login on external site
- Footer issue HOT 1
- enable automatically
- Is this no longer working? iFrames appear empty on any external sites
- Gravity new update, don't work with iframe plugin HOT 6
- Height not resizing to form height HOT 2
- No longer works HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gravity-forms-iframe.