itsboss10
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Redirect to custom page if file doesn’t existThanks for replying.
This does makes sense, so I should place this code in 404.php file…
Can you tell if I can add my html code with this code and how?
I mean what is better: to redirect to media does not exist page or adding html code(if it supports, I don’t really know).Forum: Fixing WordPress
In reply to: Redirect to custom page if file doesn’t exist@corenominal Thankyou for reply,
Can I make a new php file like mediaerror.php and paste this code there, would it work?
And where to save this file(directory)- This reply was modified 3 years, 7 months ago by itsboss10.
Forum: Fixing WordPress
In reply to: Redirect to custom page if file doesn’t existHi @corenominal,
Thankyou very much for your answer.
Since I don’t have experience with php, can you please tell me how to redirect to some page let’s say somewebsite.com/media-not-exist page.
I mean part of code required to place there.Forum: Fixing WordPress
In reply to: Remove bootstrap CSS from widgetHow to find widget’s CSS code, I am new to wordpress.
Forum: Fixing WordPress
In reply to: how to change media file urlI guess, I did not phrase the question correctly…
What I want is to have folders for storing media like file_category1, file_category2 etc… for uploading different media. I know some plugins which help us organize files in these type of folders but they do not change link(url) to the file.Like for file in category1 I want mysite.com/wp-content/uploads/file_category1/filename
for file in category2 I want mysite.com/wp-content/uploads/file_category2/filename
If not from wordpress is there any other way, I just want url to show to users
@jaykpatel are you following up on this?
@jaykpatel Thanks for responding.
1) guest users, no login
2) I feel to store them in WordPress media folder with custom link like /wp-content/upload/…/UNIQUE_ID. Let me know if there is a better way.The form is for students to download their Certificate. The certificate can be accessed by providing NAME and UNIQUE ID.
@jaykpatel Can you please elaborate how to go about it, also you said
for storing the user submitted info you can create custom post type.
, if you mean that I have to store info submitted that’s not correct, I will already have that info.
I am new to coding can you help me with how to start with that PHP code, I will then do rest myself.Forum: Fixing WordPress
In reply to: How to get WP admin rights from cpanel or other wayOk, so I just changed my capabilities and level using PHPmyadmin(was fortunately already installed). I followed second part of this tutorial(did not create user) https://wpengine.com/support/add-admin-user-phpmyadmin/
I want him to be administrator for some time, till we sort differences.
I just want to know if I am done, I mean if there is more to change in this?
Let me know what you think.Forum: Fixing WordPress
In reply to: How to get WP admin rights from cpanel or other wayI am not much into technical, can you tell me how to check if WP CLI is installed and since I haven’t worked with it before, can I get more info on how to use terminal.
I can install PHPmyadmin through Direct Admin, but WP is not installed from there, would it still work and if yes, will it delete my website? I mean is there some risk?