PHP YOURLS preview plugin issue - php

I have set up a link shortener website using YOURLS and I installed the plugin Preview URL (by Ozh, the coder). Link here:
https://github.com/YOURLS/YOURLS/wiki/Plugin-%3D-Preview-URL
However, I would like to edit that plugin to force a preview for every URL. I'm not well acquainted with PHP, and I couldn't find a viable solution online (the only other similar plugin doesn't exist anymore). If someone could give me a hand to get this finished, I would really appreciate it.

Related

Wordpress homepage changes not works

I have a wordpress website, I created a customized php template to the homepage and loaded from the back-end in the template page settings.
During the last months everything was working perfectly when I change anything to the template code effects the homepage without any problems.
Suddenly, yesterday when I tried to upload a updated file, nothing changed on the homepage.
I remove the browser cache, and wordpress cache, used another device to check, without any luck.
The wordpress black admin tools bar appears on all sites pages so I can edit and control this page, but it's not appears on the homepage.
For sure I checked again the theme settings for the homepage and page template settings, and everything is correctly configured.
I tried to activate another theme, the surprise that I found the homepage still the same and all other pages changed to the new theme.
I am losing my mind due to this, and I don't understand what may happened.
Download your site on your computer and see whether it happens also on your own computer when simulating with XAMPP.
Are you sure that the new added files are really being uploaded to the server? did you check it up with downloading the files? Maybe the modified files could not been uploaded? Another thing would be that some new installed plugins are making those problems. Have you installed some new plugins like a plugin which are speeding up your wordpress site? There are some popular plugins which speed up your site with caching your whole site and working as a CDN.
Since i dont know which modification you do on your website it is difficult to find a solution. If those modifications are changes of articles then look into the database.
You could look into the SQL Database whether those new information are being saved. E.g. you try to post a new article. Is this article being saved in the SQL database? Do you see any errors on the page? Does this effect each page / section of your website or is it only for a specific module e.g. "image uploader"??
Did you try to replace a simple image on your site with another image ? Can you see the difference on the website? I would start with little steps to be sure whether this is a server issue, template issue or sth with unsufficient priviliges. There were also new wordpress updates, maybe they affected your template? Another thing would be to recover your complete site from a backup and see whether it works like before and be sure that your site has not been hacked.

How to disable pretty urls in WordPress? I want my website's link to display mysite.com/about.php instead of mysite.com/about

I made a beautiful website for my boss and told my boss that the site was built using WordPress.
Now my boss is mad at me for doing it in WordPress and wants the website to be redone in PHP instead.
I know WordPress is a PHP framework, but it is beyond my capability to make my boss understand this.
I have then decided to make my website look like a core PHP Website.
I do not plan on telling this to my boss.
One of the processes involves making the URLs have a .php extension at the end.
I found that WordPress implements "pretty URLs" and I need help in making changes to my .htaccess file so that my URLs look have a .php extension.
The version of my WordPress site is 4.8.4.
I am also disabling the wp-admin login so that it does not look like a WordPress website. Any other tips to make it look like a core PHP website are also welcome.
Thanks in advance.
First I would like to express that it is not a good idea to mislead your boss by simply changing the permalinks to include a .php extension. It is worth noting that even a website built with plain PHP can be configured to have pretty permalinks.
If you are intent on doing this, there are WordPress plugins that could possibly help you with this attempt. One such plugin is called .php on Pages and can be found here: https://wordpress.org/plugins/dot-php-pages/

VBulletin Change Registration URL

I'm trying to connect a VBulletin site to a Wordpress installation so when you create WP account it automatically creates one for the forums. I already found a way to do that, now all I need is to change the registration URL for the forums to point to the wordpress site.
I understand this has to be done by changing the code, but for the life of me I can't find the right file.
Where do I need to change this?
You didn't mention your vBulletin version which makes it hard to help you.
A solution for vBulletin 4 to rename the registration url can be found on http://www.vbulletin.org/forum/showthread.php?t=297834

Wordpress page wp-admin/edit blank for almost all functions

I am trying to figure out a solution to a problem that have occured for my father, who has absolutely no knowledge of Wordpress or what he's been doing with his page. Me myself don't have too much knowledge of Wordpress or its functions, but have tried to find a solution on my own.
The problem: After logging on to the Wordpress admin page (wp-admin/edit) from the webpage (http://[webpagename].com/wp-login.php) only the left panel is visible for almost all functions except a few. Only the following page-tabs return pages with information
Admin->Akismet statistics
Addons->Configure Akismet
Tool->Backup
Settings->Google analytics
Settings-> MapPress
Settings->Language
Settings->Coming soon
Contact
All other tabs turn out as white pages to the right. I have tried in up to date browsers Google Chrome, IE 11 and Firefox. The webpage is fully visible and functional in itself, it is only when trying to change it via wp-admin link I have problem.
I have read the answers to similiar problems in the links related to this post: wp-admin shows blank page, how to fix it? (I can not post the links myself since I am a new member).
But all of above seems to use an installed program to configure the pages and the solution mostly boils down to disable installed plugins or running the page in debug mode. Since we don't have a program installed nor have the choice to disable any plugins or configuring any files, none of these solutions are applicable as I can see it.
Does anyone know why we can't configure the web page anymore using the http://[webpagename].com/wp-login.php page?
Thank you for your time.
Regards
Rasmus

problem my wp site redirect to another url website

I just uploaded a Wordpress theme onto my Website.
I get url redirects to website when I am browsing though my website.
The malicious site it links to clickbank.com.
I have scanned all my files with TAC and exploit scanner, but it did not pick up anything.
this picture may help you to find the problem from Entries RSS.
check function.php or search for windows.location code in all project repo
you can search all code by notepad++
While this may not be a direct and final answer, because there are many possibilities.
You may also tell us what is your theme or installed plugins too if they are free for download, we may try.
You seems to be testing in localhost., IMO you may try to eliminate all possible factors first.
Did you install any plugins? (if so)Did you test also the plugins?
Did you scan your database for this link?
Sometimes this kind of problem also appear from Database side since some problematic plugin may put those link in DB, apart from using exploit scanner, you might have to manually check once.
After all, did you also try a clean install to test the theme?
In addition, if it is a very Wordpress specific questions, you may consider posting in Wordpress Stackexchange

Categories