keep two blogs under the same domain

Install WordPress as multi-site, choose the option sub-directories. Your main blog will now under example.com/. Create a second sub-site and set its slug to portugueseblog. This site will now be accessible under example.com/portugueseblog. Now import the content from the old blogs into the new one.

301 Redirect Code

Assuming that the url parsing is correct and the data is actually set up correctly in the DB I think your SQL query is wrong. My suggestion is that you replace it by calling wp_query() api with the relevant parameters. Another suggestion that might not be a bug is not to use guid, as it … Read more

Is there a way to import Blogger into bbPress?

No, there isn’t. And unfortunately that’s because you’ve been using Blogger to do something it was never intended to do. I’m not saying this is a bad thing. Blogger (and WordPress) are built to handle an article format: One author publishes a large article Other writers create short-format comments Comments and replies are threaded together … Read more

How to Redirect huge numbers of URLs to another URLs?

If /seba-online-form-fill-up-2018.html is an actual WordPress URL then this is relatively trivial to do in .htaccess. For example, the following one-liner using mod_rewrite could be used. This should be placed before the existing WordPress directives in .htaccess: RewriteRule ^\d{4}/\d{1,2}/(.+\.html)$ /$1 [R=302,L] This redirects a URL of the form /NNNN/NN/<anything>.html to /<anything>.html. Where N is a … Read more