upload PDF but link on page send to redirect
-
So i can upload a PDF doc just fine but when i “Add media” to a page the link shows up but it doesn’t work. An error pops up showing that the page isnt working and i was redirected too many times. I have changed file names, tried posting on different pages…no dice.
I have read that the WordPress Address and Site Address might be the culprit, however mine match so no luck there.
I installed Yoast SEO to view Htaccess file and everything i can find using my extensive computer training (Google University) seems normal but i have yet to see a full htaccess file to compare. Any help would be greatly appreciated. Site Link error and Htaccess file attached below.
https://aylaarodeo.org/wp-content/uploads/2018/05/Summer-Series-Flyer-2018.pdf
# BEGIN GD-SSL
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_USER_AGENT} ^(.+)$
RewriteCond %{SERVER_NAME} ^aylaarodeo\.org$
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
Header add Strict-Transport-Security “max-age=300”
</IfModule>
# END GD-SSL# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># BEGIN MemberPress Rules
<IfModule mod_rewrite.c>RewriteCond %{HTTP_COOKIE} mplk=([a-zA-Z0-9]+)
RewriteCond /home/content/a2pewpnaspod04_data02/53/41678153/html/wp-content/uploads/mepr/rules/%1 -f
RewriteRule ^(.*)$ – [L]RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-includes|wp-content/plugins|wp-content/themes)
RewriteCond %{REQUEST_URI} \.(zip|gz|tar|rar|doc|docx|xls|xlsx|xlsm|pdf|mp4|m4v|mp3|ts|key|m3u8|ZIP|GZ|TAR|RAR|DOC|DOCX|XLS|XLSX|XLSM|PDF|MP4|M4V|MP3|TS|KEY|M3U8)$
RewriteRule . /wp-content/plugins/memberpress/lock.php [L]</IfModule>
# END MemberPress Rules# END WordPress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressThe page I need help with: [log in to see the link]
The topic ‘upload PDF but link on page send to redirect’ is closed to new replies.