The plugin only does what you tell it to do – it never adds anything extra. If you have checked regex and it isn’t a regex then that is likely the cause of the problem
Hi John,
Thanks for getting back to me.
I have tried with and without ‘regex’ and issue still exists. I have also tried, 301 or 308 again, with and without ‘regex’ but again same issue.
I can’t work out why it is only happening to this one particular page, the URLs have the ‘-‘ betweeen the last two words after the domain eg contact-from and this is where the extra ‘/’ is turning up. However, contact-form is not the only page like this. I have a few including, privacy-policy, delivery-policy, and these work fine.
I have included a link to a couple of screen shots.
Any suggestions as to why will be appreciated. Thanks
Regards,
A
View post on imgur.com
View post on imgur.com
The screenshots look the same.
You do not need to use a regex for this at all.
Do you have any other redirects that might be affecting this? When you look in the redirect logs, what redirect is shown as being the one that did the redirect?
Maybe another plugin running?
Hi John,
Thanks again for getting back to me.
The probably was the trailing ‘/’ at the end of the permalinks.
If, …/contact-from/ was the source it added the extra ‘/’
ie ‘/contact/-from’
but if, …/contact-form was the source it went to the correct target, …’/contact-from’
I’ve worked it out, I have 2 similar redirects which where affecting each other.
…/contact/
…/contact-form/
I changed the name of the page ‘…/contact-form’ to ‘…/contacts-form’ and redirected that to …/contact-form and it worked.
Thanks for your time.
A