How to add a custom WordPress PDF file link - wordpress

I have a WordPress website. I want to add a PDF file in my site. and i want the permalink to me custom. I want to change the permalink of the PDF file according to my requirements.
What can i do.
Thank You.

You may upload your file to the root of your FTP server; Wordpress does not provide an easy way to do what you want.

Related

Linking to a file on server in Wordpress

I hava a website in Wordpress. Let's say is installed on a domain www.something.com.
I know how to get to individual files, but is it possible to make a link to a file, so that the URL would be: www.something.com/pdf/article1.pdf?
Yes ofcus, Simply put in the link like so, in your html/text
Download here
to refer to the file, and make sure u have the pdf folder created in your root directory.
Good luck.

Where Can I Download The Wordpress Penscratch Theme Files?

My website is www.rosstheexplorer.com.
I am fairly sure I have managed to corrupt / break my Penscratch Wordpress Theme.
When I try and load my website I am greeted with a white page.
Where can I redownload the Wordpress Penscratch theme files?
I have access to my file manager. I was hoping to be able to download the Penscratch php files and then upload them to my file manager.
A simeple google search for you theme suggests this url
https://en-gb.wordpress.org/themes/penscratch/
You can click on download button and get the files then backup old files and replace the whole folder with downloaded version of theme. You may need to unzip it before uploading via ftp or if using filemanager make sure you place files in correct folder and unzip them properly.
Thank you for peoples suggestions.
I used that site and it was what I needed. Although in the end I did not have to reupload the theme. I was able to correct my existing theme.
Look here for more explanation Finding custom-header.php in file manage on Wordpress Penscratch theme

Wordpress assets upload folder

is it possible in wordpress to define a different uploadfolder for assets like pageheaders and logo's?
I'd like to seperate the whole logo's and headers uploads from the default media upload section.
thanks
Try this plugin - Custom Upload Dir
I needed similar thing in the past and this plugin did the trick for me.

is site cloaking possible with a .htaccess file

i have created a wordpress site within a folder on a site and am having trouble moving the database so was looking in to ways of cloaking the sites url on every page with a .htaccess file. at the moment the site is a beta at www.christopherwaller.com. I wanted to look into removing the ugly URLS with page-id etc....
Does anyone know if this is possible. or if the .htaccess file is not the way to go
much appreciated
N
You can use the build in wordpress features, have a look at Permalinks
If your trying to change from
http://www.christopherwaller.com/wordpress/?page_id=240
to
http://www.christopherwaller.com/wordpress/about
Just navigate to your admin control panel, click on Configuration on the left menu, and then on Permalinks.
Fill the 'Custom' field with /%postname% and the links should appear as your expect.

Find the source files of Wordpress

i mean i want to see the source file of the main page.
when i click right click and choice the option view source, so i want to find
the "body" of the file,and edit it physical, which folder can i find it ?
thanks friends.
WordPress's HTML is generated by PHP in conjunction with CSS, so look in your active theme folder in wp-content/themes/yourtheme. You'll find all the parts of a WordPress theme: Using Themes « WordPress Codex.
WordPress runs on the server -- the "source" you're viewing from your browser is client-side, and is essentially the output of the WordPress PHP code that generates the pages (and some CSS transforms). In order to see the PHP source, you'll have to download it from WordPress's website yourself or look at your WP installation directory on your server.

Resources