Yes. The default WordPress .htaccess file. Without edits, all calls are redirected to index.php
.
Your best bet is to pass the call through WordPress as a custom plugin. This answer deals with setting up a REST endpoint. Of course, that means returning JSON which might not be exactly what you are looking for.
Another approach might be to edit the .htaccess
file.
Something like this, near the top:
RewriteRule my-qr-code.php$ - [L]
This tells the server that in this case, if the file matches, we are done. That solution comes from a StackOverflow question.
Related Posts:
- How to add elements to an empty array in PHP?
- Any guides on creating custom admin pages?
- Decrease file size upload in Media
- Customize default settings on new sites on multisite
- wp_delete_auto_drafts() deletes links in menus
- WP E-commerce: Showing 3 random products from current category when viewing product
- If Custom Field is empty don’t display div
- the_author_posts_link css class
- Question about repurposing WordPress 404 handler
- Setting up the child theme so as to enable right-to-left WordPress?
- How do I get content of custom post type through post ID in wordpress
- Hooking new functions to actions + passing parameters
- error_log is not working as expected in functions.php file
- Block PHP Files Nginx
- WordPress template_include filter not working properly
- “The plugin generated 2694 characters of unexpected output…” on Plugin activation, CREATE TABLE sql command not working
- WordPress File handle – fopen, fwrite not working with $.ajax or $.post Jquery
- Do I need to prepare query before get_results(), get_row() and get_var()?
- WooCommerce: Add Payment Gateway Field to Webhooks [closed]
- Web scraping using transients
- Parsing php string in jquery [closed]
- doing an ajax request always outputs 0
- How does the ternary operator work in the wordpress loop post?
- How to create a linked tag list in my sidebar
- Advanced Meta Query for Large Calendar Website (12k+ posts) (175k+ wp_postmeta rows)
- What is the intended purpose of the _wp_attachment_context post meta key?
- PHP Script for last login time
- Why the JavaScript code is ignored from wp editor?
- Why does my callback function not work with this custom filter hook?
- Get and insert order email address to the PHP template inside HTML text
- How to get next image with this code from same post?
- WordPress returns “The link you followed has expired” error page whenever I add a new site, add a user etc
- Title Case WordPress Menu Items
- how to save selected option in variable for rest api category filter
- iframe does not store session/cookie when refresh parent
- Frontend in WP , backend in Laravel. Some level of integration needed
- Trying to store submenu items to render out after main menu
- Alter required message using comment form api
- “operation successful” message
- Three Questions with Twenty Eleven theme
- Conditional statement for dates
- Why does this update_post_meta function not delete the custom field itself?
- add onchange to select in a wp form
- WordPress Customizer Default Image
- How can I include shortcodes within PHP?
- WordPress function and string as variable?
- Change product_base programmatically
- Get access to variable from previous pageview, excluding ajax-calls
- Permission callback to check if user has application password
- Show current user posts only
- Hide posts if user is added to it WP_query
- Issue replacing forward slash in string
- Set default Database Storage Engine when creating tables with plugins?
- Store and Change Session variable – PHP SESSION VARIABLE
- Show site content based on user role
- PHP Parse error on WP-CLI, not on web server
- Get the id of the row from database on click of a button [closed]
- Plugin can’t write to database even though permissions appear correct?
- Modifying WP URL handing code?
- How to deal with a GET variable of ‘name’?
- I can’t set image ad fatured programatically
- Replace a single variable with add_filter
- I am having issue in divi woocomerce checkout module. (DIVI theme)
- Display metabox galleries on specific page template in admin editor
- meta_query search names when they have middle initials
- Not work function add width and height at save post
- Inserting a class on before_widget if checkbox is checked
- Exclude multiple authors by ID – IF condition
- Trying to use a variable to set image width
- I want to hide “sold by” on certain pages with id page 43
- What is the correct way to search 3 custom fields only in WordPress?
- How to change order inside foreach using wp_enqueue_script?
- How to show category just on specific pages?
- Used a code to revoke some dashboard menus for my contributors but for some reason it’s revoked me access to the editor [closed]
- How do I get the value of a current user’s custom field?
- Redirect user to a custom url after logged in
- Adding extra data to shortcode attributes and pass it to JS with wp_localize_script
- If is_page elseif is_page not working like I want it to
- Allow Comments by Default for Multiple Post Types
- Related Posts: if there is no category use tags
- HELP! Frontend User Profile Edit Won’t Update Email
- How to get User Avatar Image with link to Author and User name in Html Title tag?
- Make customizer panel or section button
- How to make a parent page for author.php?
- How to get all users by user_login as a json_encode array?
- show desktop version of website if button is submited
- Subheader title depends on post – change to static
- Make the text field in search form optional
- To call hook on a php external file
- Create new folder and upload files to custom folder via wp_handle_upload
- Set active class in a Php foeach
- Loading a post’s content, into a div outside the loop, when it’s title is selected in a list
- ACF: Echo page title when checkbox is checked
- Hide the content before the more tag in the “single page”
- Adding a Sub Menu Options Page WP Backend Menu. Whats wrong with my code?
- HTML in PHP problem [closed]
- PHP code for link with text
- how to add display_name
- how to loop through blog posts in php
- Tags being Inserted in html from plugin PHP not passing through the_content