I have a WordPress site I am working on, in which /pages/ appears in the URI for all Pages.
For example, www.site.com/pages/contact-us/
I am stumped as to why this is occurring, it doesn't occur on other sites I am working on.
Is this something a theme might be forcing to occur?
Would a redirect in .htaccess be the easiest way to remove
/pages/ from all page links/URIs ? If so, what rule would do the trick?
I tried using the following
RewriteRule ^/pages(/.*|)$ $1 [L,NC]
RewriteRule ^pages(/.*|)$ $1 [L,NC]
But neither has any effect.
The site is in a sub-folder,
/wp1 with a redirect rule to remove the
/wp1 from the URI. So I am thinking that this is causing my rule to remove
/pages/ to not work. If that is the case, what would be the correct way to structure the rule, or to remove the /pages/ by some other WordPress based means?