Not sure where you are placing the code as you don’t say – but you will need to edit the WordPress signup code / file and add your random string code in there and then hide the input for the sub-domain or set it to disabled and set it’s value to the random string.
You’ll then also need to encode the same random string in the form and check that the encoding is correct when the form is submitted so that you know it hasn’t been changed (it would be easy to change the random code in the HTML using something like firebug).
Once you get past the processing then the blog creation will be the same and antisplog will work as before.
Related Posts:
- How to create a widget with a populated dropdown?
- Internal Server Errors – Moving working multi-site install to my localhost
- Store user form submitted information in post type
- Implement jQuery Smart wizard
- Using a PHP form, get the page title or any other element in the sent e-mail
- form submission reverts to index.php template
- Merging Multiple WordPress Websites
- Javascript / PHP – closing the loop
- Annoying/confusing WordPress memory limit exhausted
- Create form which redirects to site in network?
- Redirect user role to a specific page on login in a multisite network?
- How do I stop my form from adding code to current page URL instead of re-directing. Been stuck for days
- Updating the database after parsing CSV document
- Multiple WordPress sites with different theme and plugin sharing the same content
- Changable favicon
- custom search query database in child theme
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- Using transients to store form notifications
- Insert data from form to database
- Remove node from multisites?
- not able to access $_POST on backend profile update
- Creating wordpress user registration form
- Custom Plugin Develoment, Form Action
- PHP script to redirect traffic based on website accessed
- wordpress form action page not found
- Add .php to end of all WordPress Pages (multisite)
- Adding action item to admin users table and sending email
- Trouble with checked() for array of multiple checkboxes
- If input field has value Require another field – PHP
- List all blogs apart from the current blog and main blog in WordPress Multisite
- Adding users to another blog
- Custom HTML form using PHP – help with ajax/username validation
- Transfer WordPress Login Session to an Extended Webpage on the Same Domain
- Form direction to .php on localhost
- Resource 404 error on multisite subdirectory install
- Form not working as it should in WordPress, but in a normal HTML site it does
- Importing demo data in Multisite
- Submitting my form to the database and then redirecting to payment site
- Passing link parameter values to form
- Processing forms with php to wordpress database
- Ajax call URL 404’ing when pushed to staging server
- Update only some custom user fields
- Post from front end form to post_meta
- use system script advertising in wordpress multisite
- Passed variable gets undefined variable error on insert on next page
- Accessing values entered via form – try again
- Nonce fail after second submit attempt
- How to set up an auto delete post?
- Dynamic form variables for post meta
- WP Admin Bar – Get current theme name as custom menu title
- Trying to display user meta by “name” – not by “ID”
- Styling admin page rows in order of importance (checkboxes)
- Headers for Contact Form are wrong
- Display default WordPress login/registration form into a modal window
- Using Nonce for my Form
- WPMU schedule doesn’t execute actions
- WP multisite network plugin fails to see classes loaded with spl autoload
- Host does not allow remote connection, so how do I transfer data to my WordPress site?
- Trying to post information from a remote database to wordpress page
- Trouble using wordpress functions in a pop-up modal form
- Custom PHP-coding in MU installs
- .htaccess on multisite and roots theme?
- custom contact form no longer working (because of 3.2?)
- Data inserted in database, but ajax calls error function
- upload images on front by user using form
- Correct Syntax for uploading files to custom directory in WordPress
- ajax form function error
- How to pass username into form that sends data to database
- HOW TO Insert Existing PHP Code to WOrdPress
- Send foreach $_post method to contact form 7 [closed]
- php inside HTML via shortcode? [closed]
- I need a button to appear when not loged in and another when logged in, I need help fixing code PLEASE!
- WPMU – How to echo only one URL
- Where to put include php file?
- Use HTML Form Data in PHP Function – WordPress Admin Page
- Losing Session ID and sessionStorage when navigating to other domains on Multisite
- Contact form with dynamic dropdown and filter
- Redirect loop upon installation of my plugin
- Field validation strlen works in php7.4 fails 8.1 [closed]
- Custom form that stores data in mysql database
- Embed PHP script into WP – what is the best way
- Preventing script injections in HTML form
- add_rewrite_rule image from /images/site2/favicon.ico to /favico.ico
- Internal server error when enabling Multisite in WordPress
- Putting form result in my database
- Bulk data save in custom table
- Can’t insert into a database wordpress
- How to create a build for quickly deploying a server with WP?
- NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
- Help with commenting system
- Single wordpress multi website down need help factoring what it is
- Display endpoint’s return into a file (file_put_contents())
- How to create a form that display license key (and email it to user) after the user enter their email and 10 digit code?
- Quiz page template, checked attribute missing when option selected
- Change WordPress Multisite Domain to subfolder
- Send summary email from a form with wp_mail
- Enabling pretty permalinks with Docker, Multisite WordPress and Caddy
- Validate a custom form with js and php
- Running WP-Cron on Multisite networks the right way?
- How to add query string at the end of sitemap Yoast SEO