Redirect doesn’t work when copying old url in address bar of browser
-
Hi there,
Today I was testing this plugin. I’m using it for 2 reasons:
1. 75% of my content is old and needs to be redirected to new stuff
2. the posts need to get URL’s without the date in it.
So I did 2 things:
1. I changed the permalinks in WordPress settings.
2. I added/%year%/%monthnum%/%day%/%postname%/
as source URL and/%postname%/
as the target URL.I tested it and 3 different things happened:
1. When I go to the homepage and click on ‘Blogs’ in the menu and than I click on a title, it works like charm: the new URL is given.
2. But when I copy an old URL in the address bar of my browser: nothing happens.
3. Not the specific post is being displayed, but the blog overview page BUT with the layout being incomplete… ??? (So this gives 2 extra errors, so to speak.)
The test URL (a real blog) is: https://devolle200.nl/2022/08/05/het-leven-gaat-niet-over-rozen-het-gaat-ook-over-hun-doornen/
I deleted the codes strings mentioned in the snippets under [2], refreshed the browser and… nothing happened.
I am working on a Macbook in Safari when I’m logged into my website. The testing was done in both Safari and Chrome, both normal and Incognito.
How can I solve this? All URLs with dates in them, should be postname only.
I’m looking forward to your answer.- This topic was modified 2 months ago by .
- This topic was modified 2 months ago by .
- This topic was modified 2 months ago by .
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.