Sandeep Raman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Run two sites from one databaseNothing is impossible! But there is no point keeping duplicate content on both places.
If I understand it correctly, you want the same content without manually have to enter it twice on both sites.
Regarding using the same database:
There are two values in the options table: siteurl and home which are used. Using the same options table won’t work, even if you update options forcefully for each php run.So you would need to use two databases.
You can use a mysql replicator, to replicate content from one database to another. Make sure to trigger a script at the end of replication to update the siteurl and home to the other domain values.
https://dev.mysql.com/doc/refman/5.0/en/replication.htmlYou need to ensure that no content anywhere has urls which points to the same domain. If there are any such urls, you need to have procedures to replace the urls after replication.
If your customer need only posts/pages content copies on both places, without the pain of manually copying them over, you can have them post the content via email:
https://codex.www.ads-software.com/Blog_by_Email
Have both instances read via email and make posts/pages from it.
Forum: Fixing WordPress
In reply to: Coding questionRefer to the codex: https://codex.www.ads-software.com/Function_Reference/wp_nav_menu
Forum: Fixing WordPress
In reply to: Importing recent content after restoring database backup1) Export the original set of posts/pages (to keep a backup xml)
2) Delete the posts/pages (also clear the trash), else same permalink posts/pages will have a conflict
3) Import your latest posts/pages with your changesForum: Fixing WordPress
In reply to: What has happened to my imagesYou are getting a 403 forbidden error when images are being rendered.
“NetworkError: 403 Forbidden – https://www.peninsulatimes.co.uk/wp-content/uploads/2013/12/ditchcut-300×134.jpg”
Check if there is any .htaccess which is denying access or check that read permissions are there for the user running your webserver.
Forum: Fixing WordPress
In reply to: Add image to a page titleEither use css to apply backgrounds or your add_filter on the title.
https://codex.www.ads-software.com/Plugin_API/Filter_Reference/the_title
Define a function to hook to the title content before rendering, modify the title to add your <img> to it.
If you want this configurable, you can define a meta box, save it as meta content of the post, retrieve and use it in the filter.
Forum: Fixing WordPress
In reply to: Importing recent content after restoring database backupThe import xml that you are using -> Can you open with a text editor and validate that the recent post content exists?
After import, check if the count of posts are increasing.
If you import the xml, it won’t overwrite the existing posts with updated content. It will create new entries/posts with different permalinks.
Forum: Fixing WordPress
In reply to: restore site problemThere are many backup and restore plugins available for wordpress. Are you moving the site from one server to another or restoring from backup?
Are you restoring from the database dump or doing export/import of content using the wordpress exporter plugin?
Forum: Installing WordPress
In reply to: PHP versions vs WordPress versions404 is the HTTP error for not found. If there is version mismatch it would give a 5xx series error. Check you are pointing to the correct URL or your installation is in the correct directory!
Forum: Plugins
In reply to: [Clickbomb-Protect] Usage of clickbomb protection pluginCan you connect to your wordpress database and check if the table wp_ad_click has the entries of blocked IP addresses? I could check from the functionality that links are working till the point the no. of clicks are beyond the threshold and then further clicks are blocked for the IP.
Forum: Plugins
In reply to: [Clickbomb-Protect] Plugin not workingYes. There are changes to be done to make it work for multi-site.
Forum: Plugins
In reply to: [Clickbomb-Protect] Usage of clickbomb protection pluginHi,
The links are working for me. Can you check your IP might have already been blocked due to excessive clicks? You can check this in the table of your admin dashboard.Forum: Plugins
In reply to: [Impact] Impact page builderHi Ernest,
Please send a mail to support to take your query ahead. The multi-language feature for the plugin (including german) is scheduled for release this month.Forum: Plugins
In reply to: [Clickbomb-Protect] Usage of clickbomb protection pluginThanks for trying out the plugin.
Please take the latest code. There is a fix done for link based adsense unit.Please let me know if you face any issues or need any more features.
Forum: Plugins
In reply to: [Clickbomb-Protect] Plugin not workingHi,
Thanks for writing in. A fix was required to make it work for the link unit type of Ads. The fix has been applied and committed to the repository. Please take the latest version.Shayeden,
The plugin code has been updated to fix this. Can you please upgrade to the latest version?