cahuk / fix-internal-links Goto Github PK
View Code? Open in Web Editor NEWЭта программа работает с неработоспособными (битыми) внутренними ссылками статей вашего сайта
Эта программа работает с неработоспособными (битыми) внутренними ссылками статей вашего сайта
This program is in your articles inoperative (broken) internal links. The system finds its anchor and gets drawn in Google. Then overwrite the old links in the article to the new. System writes the log (./log/) in every article with the id which starts if fails, then when you restart the system starts from the material on which it stopped/ If after we got to the page with the CAPTCHA, then the system does a delay of 2 hours. If we again find ourselves on such a page, the system again uvelichiet delay time according to the interval The program was tested under Wordpress, but can work with other CMS or applications with a special setting To start for wordpress: 1. Add in file ./fix-internal-links.php constant HOST = 'yourdomain.com' the domains, to which you are relinking; 2. Add your email in array $_report_email = array( 'yours@email1', 'yours@email2' ) 3. If you plan to re-start the system from the beginning, then you need constant DELETE_LOG_AFTER_COMPLETE set to true, but log file will be deleted 4. Specify access to a database file ./class/Db.php ($dbserver = 'localhost'; $dbuser = 'user'; $dbpassword = 'password'; $dbname = 'db_name';) to work with articles; 5. execute a query to create a table with the results already obtained from the file links_query_cache 6. Recommend run this program through ssh because the data in the browser script can take a long time. But if you believe that the site is not a lot of material, or a little broken links, and then you can run through a browser www.yourdomain.com/fix-internal-links.php
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.