Adding redirection
-
I have a small doubt,
I need to add redirection but the thing is when I added those using funtion.php or the redirection plugin those are not working because before calling my redirection it redirected redirection which is used in WordPress. For example
- I have https://www.xyz.com/prodotti/silduct-2s/1000, this contains /1000 in the URL. I need to redirect those URLs to the ‘/’ home page but, for now, it redirects a specific page like this. Remove 1000 and redirect to https://www.xyz.com/prodotti/silduct-2s/ this. This cannot happen.
- I have https://www.xyz.com/de/aktuelles/page/1/ it also should be redirected to the ‘/ home page but it also redirects to https://www.xyz.com/de/aktuelles.
And I noticed that when I add $_SERVER[‘REQUEST_URI’] it shows the URLs after the redirect, not the before redirect URL. If I catch the url which is before doing the redirection then I can create a function to add redirection.
How can fix this issue? Please help me to fix this
The topic ‘Adding redirection’ is closed to new replies.