I have a page with mixed content in three different tabs. The first tab is open access to all but the content of the last two are for logged in users only so by sending the users to login with:
I just changed the urls structure of my site and want old urls to be forward to the new without the use of redirection plugin.
Problem: After login Wp redirects to either wp-admin or home (front-page.php) and not back to current page I want the user to return to where…
If exist the page parameter in the blog post, I have to redirect to the 404 page instead of current post URL.
I tried to check the current page type (is singular) and try to get page parameter in the function.php, but I couldn’t. It’s doesn’t work together. I need to implement it only for blog post.
If possible .htaccess redirect also fine
I have a wordpress site that will be replacing an old legacy site, however the old legacy site includes a SOAP API that I won’t be able to re-implement in wordpress.
I’m trying to do something specific here, that may be a little complicated and I can’t figure out how to do it.
I need the $_GET parameter ?search
for my front-page for a third party plugin.
Whenever I enter http://wp-site.tld/?search=foo I get redirected to the blog/archive page.
If I enter http://wp-site.tld/some-page/?search I get redirected to /some-page
.
It appears to be a redirection only for the front-page.
I have a somewhat tricky situation. A company’s internal server, running some unknown software (means I have no access whatsoever), exports data to my http server via a custom API. This data gets stored in the same MySQL environment as WordPress. Just a different DB. Meaning DB1 has the WP data, DB2 holds the imported company data.
My site runs on the latest version of WordPress. However, I have a problem with categories. Permalinks are set correctly and my category path looks like this: example.com/category-name
. Links work fine, but the problem is, I can also access every category with a link like this: example.com/example.com/?cat=6
, which contains no posts.