-
Redirect from an old domain with a subdirectory to a new domain without the subdirectory
In this example, we want to forward the entire sub directory from one domain name to another domain name without the sub directory. For example: From https://abc.byu.edu/subfolder/ To https://def.byu.edu We will use .htaccess to create the redirect. # enable mod_rewrote RewriteEngine On RewriteBase / # I try to use following…
-
Preventing video files being download by viewers
In this post, I will show how to use htaccess to protect video files being download from viewers. We only want viewers to view the files on web browser but we don’t want viewers to download them. Let’s say, we have video files, MP4, are stored in /var/www/folder1/folder2/folder3 and we…
-
Delete Or Disable Users From WordPress
Sometimes you may have to delete users from WordPress. To do this: Go to Pages from the backend of the WordPress website. Go to websiteurl/wp-admin. Check if any pages are created by the User you’re planning to delete. If there’s any, change the author. Go to Users Search up the…
-
BYU Profile System and BrightSpot profile
BrightSpot will update faculty profile every 24 hours from BYU faculty profile system. Things will take from BYU faculty profile systems are. Picture Title Faculty section: PCI Publication Members Presentations Creative Work Education If faculty needs to modify their content on Full profile area, they will either contact us…
-
Coding Languages Resources
Every once in a while, you will find that you need to edit, add, or delete pieces of code on a website. More often than not, this will be HTML and CSS, though you may see some JavaScript or other languages embedded inside HTML. Whatever the case, the best website…
-
Hostname Registration for A B.S. Website
There are two steps are required to map a domain name to a BrightSpot Website. The first step is that you need to contact B.S. team at BYU and inform the team you want to map a certain domain name to a B.S. website. When I am creating this article,…