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?
- wp-content/uploads/year/month returns 404
- How to add new tab to media upload manager with custom set of images?
- No Thumbnails Generated
- How to upload files straight to S3 without using local storage? [closed]
- How to add a custom field to the media screen (image/gallery)?
- Users can’t upload images on frontend if they haven’t got access to the wp backend
- Rename files during upload using variables
- upload_async.php returns 500 error
- Get an uploaded attachments local server path?
- Change WordPress upload path and URL
- Large Uploads in WordPress
- can not upload file .vtt on wordpress 5.0.1
- Refresh wp.media after ajax call
- Why are double-periods (“..”) invalid in a WordPress image filename?
- User logged-in from front end is logged out automatically accessing wp-admin
- How to prevent upload of a multiple sizes of images
- Convert uploaded PNG to JPEG automatically
- How to check if an image attachment exists before uploading
- Add new media uploader at frontend for wp 3.5+
- Incremental number handling on duplicate file names
- wp_temp_dir does not change the /tmp temporary default directory
- Maximum upload size changes in php.ini ignored – How to remove upload size limit?
- How to upload all media to one folder, with no year/month subfolders
- Any way to define WP_UPLOADS_URL (like WP_CONTENT_URL)?
- upload files dynamically to user folders
- Is there a limit on the number of attachments?
- How to delete uploads not in media library?
- How to decrease the file size upload limit?
- Why does SVG upload in Media Library fail if the file does not have an XML tag at the beginning?
- Site icons with alpha channel for self-hosted WordPress blog network
- How can I allow upload of ttf or otf font files when hooking `upload_mimes` doesn’t work
- Can I stop wordpress generating media sizes
- I made a website using WordPress, but the server is ColdFusion, how can I make it work?
- Using subdomain to upload media/images etc on 2 different blogs
- Unable to create directory uploads/2018/12. Is its parent directory writable by the server?
- Can I upload a file to the site so that it is not accessible via an HTML page?
- why am i getting the ‘fatal error’ msg when uploading photos within specified MB?
- Stop WordPress from generating redundant image size
- WordPress 4.9.8 Trying to add filename over image in Media Browser
- Media library only shows for admin. Doesn’t show editor or below [closed]
- Upload featured image from front end using media-upload.php
- Get File Object from wp.Uploader
- wp_handle_upload: get custom checkbox value from media uploader
- Edit User Profile From Front End
- How can I upload to wp media library by foundation zurb ajax
- Disable new WP3.5 Media Picker
- User permissions to upload images
- Why is WordPress’ file upload limit so low? Is changing it harmful?
- How to get the uploaded image url in media_handle_upload()?
- Moving Existing images from custom directory to WP’s upload directory
- Website does not reflect changes on live after uploading files via FTP
- Programmatically Upload File to WordPress Using an API [closed]
- Uploading flash flipbook to mu wordpress site
- Uploaded images result in a file url with full path on disk appended
- Change Link to Upload folder
- Which wordpress action fires after crunching
- Workaround to upload AVIF files
- SVG not displaying in Media Tab in Backend
- Images not displaying on site or media library
- Changing WordPress media location and upload path to sub-domain not working
- Upload automatically html files
- Updating the attachment from front end doesn’t show the new change
- Bulk upload images in upload folder does not show in media library
- Is there some way to find if media items are used anywhere on the site?
- wp_update_attachment_metadata breaks after 10 files
- Upload images from one server to an other in wordpress
- WP_Custom_Media_Control | Give ID to media file
- WP Add Media Button – Can I set the default size to Original/Full Size
- Video limit about wordpress
- Can i add flickr,imgur etc. up-loader for my WP upload media button?
- How to split my uploaded media into directories?
- get the post thumbnail returns the full size
- All files unattached in Media Library
- Permanently Redirect WordPress Subfolder Blog to Subdomain on Another Server
- WordPress media upload multiple images
- Media Upload Directory to MMYY instead of YYYY/MM
- Is there a way to force Featured image to show as attachement?
- how upload images and videos to specific folder like wp-content\uploads\folder-name
- Problems with defining UPLOADS constant
- Create media folder upon post publish?
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup