Without seeing your htaccess file (all of it), you could be placing the commands in an improper spot.
Or, your hosting provider may not allow those commands.
Best bet for increasing the upload size it to contact your hosting support and ask how it should be done. It may be a setting that only they can make.
You can check the default and current settings by making a page template (easiest) and including this line in the middle to replace the entire loop.
phpinfo();die();
The first commadn will show all of the PHP settings, the second command will ‘die’ the page, which is OK, because it’s just a test page.
There may also be a phpinfo-type command available on your hosting’s cPanel.
Related Posts:
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- Prevent users from accessing mp3s in my uploads folder?
- WordPress cannot upload data after migration
- How to proxy local WP uploads folder to live site
- Media upload via backend doen’t work after moving site
- How to rewrite WordPress uploads folder to another folder using htaccess
- How to protect media directory with .htaccess?
- Disabling direct access to images using .htaccess
- Split up files from one big folder to multiple folders in uploads after migration
- Password protect any file in WordPress
- Redirect to another page using contact form 7? [closed]
- Deny access to uploads folder with exceptions
- Migrating WordPress Uploads To S3 Object Storage
- Sanitizing existing media library paths and page links from foreign characters
- Media import failed in the WordPress importer
- Import all media referenced in posts
- Host Images from Link
- How do I update attachment urls after changing site domain
- Does WordPress import export tool keeps the file hosted on the old website?
- Site Redirecting to wp-signup.php
- Limit image upload to one and disable audio, video and other document file types to upload
- Media upload finished hook
- How can I batch delete all unattached images with WP-CLI or other automated process?
- Image upload callback in new 3.5 media
- How to wp_upload_bits() to a sub-folder?
- “Add Media” only shows “Full Size” under Attachment Display Settings
- Differentiate Featured Image from Post Images upon Upload
- Is it possible to trigger some JavaScript when Media Popup is opened?
- What permissions does wp-content/uploads need?
- wp_handle_upload() – how to upload to a custom subdirectory within uploads
- There’s a way to scale media (images) at 50%?
- How to Reduce the Maximum Upload File Size?
- Media Uploader: get deleted files
- How can I prevent uploading bmp image?
- how to upload mp3 from url to wp media
- How to get the image url in the input box from media library?
- Add file extension to temporary file
- Post Specific Uploader
- WordPress site stuck at 1MB for max file size
- Why “Store uploads in this folder” option is not showing in Media Settings in WordPress
- Specified file failed upload test. Error When Uploading Image From Front-end
- Allowing .exe uploads (old WPSE posts no longer work)
- Thumbnails produce unwanted gray pixels on white background [closed]
- Prevent renaming of uploaded media
- Is it safe to delete uploaded photos if Photon (Jetpack) is activated?
- How do I get allowed Media Library upload file extension list?
- Is it possible to upload text files (e.g. JSON) to wordpress blog in any way? [closed]
- How to manage a big collection of files with wordpress?
- Use the WP media uploader dialog for uploading a form attachment (non-admin). Offering progress and drag and drop feedback
- using wp_insert_attachment() results in guids with file names different to the same file when uploaded via media page in admin
- Separate Uploads folder on other server
- How to disable plupload completely from latest wordpress 3.6 and make browser upload default
- Post processing of uploaded file
- Restrict access of admin uploads to certain logged-in users?
- Use custom image size in admin panel
- Receiving 404 when uploading file larger than 10kb
- making media URL secured
- WYSIWYG editor with image upload for “Normal Users” [closed]
- How to generate thumbnails when needed only?
- One step picture upload
- Alow users to delete uploaded images inside backend?
- add_image_size adds size, but doesn’t upload if source resolution is same as resize resolution
- why can’t upload deb package in my wordpress?
- How to upload media to specific year/month folder
- PHP error when trying to upload .mp3 files via Media Library [closed]
- “page not found” due to hat character (“^”) in a upload file name
- Best way to receive special images in posts
- Provide logo in theme
- Flat media folder vs multiple directories
- Move media files from the root to date folder structure
- How to share /uploads/ directory with another site on the same server?
- Can you limit the size of media files being uploaded not using php.ini?
- wp_upload_bits() is not giving the file path right in localhost
- Send media uploads to different directories
- How to make Plupload zones that will survive changes in core?
- Issue when uploading past 8MB?
- How to remove a tab in Media Upload page in wordpress
- How to limit sizes for specific upload programmatically?
- MIME type not supporting HEIC support type in WordPress
- Unable to upload images into the media library
- How to display the maximum upload size in a WordPress single site?
- Front-End Upload media with category
- Cannot upload png photo files into media library. I get a ‘Could not insert post into the database’
- Do audio files impact the loading time of the website?
- Image paths wrong after migrating with wp-migrate-db-pro media files add-on
- Set default “Link CSS Class” in add media admin editor
- How to change default upload dir?
- How could you allow users to upload a video in within their profile and display it on a wordpress site?
- Limit attachment caption characters
- Password protected uploaded PDF page
- CSS updates appear after delay [closed]
- Why isn’t my enqueuing working properly?
- How do I allow family commenters to upload photos?
- Do I need FTP set up to upload files to wordpress server
- Problem uploading files, after changing domain name
- Unable to upload images using the Media Library
- Auto shortlink for file uploads
- Obtaining detailed error information from Media file upload process
- Is it possible to restrict the number of media uploads (photos) per user?
- How to restrict product access to personal user uploads in WordPress