Thread Starter
AncaIO
(@ancaio)
I think the problem comes from about the installation being in a subdirectory?
So from
mysite.com/subdir/%day%-%monthnum%-%year%-%postname%/
to
mysite.com/subdir/%postname%/
does not work.
Yet on another site, installed and served from the main directory it appears to work fine.
Is this a limitation of the plugin?
Hi AncalO,
How do you install into the main directory? What do you mean by main directory? I wanted to redirect using permalink tags as well but can’t seems to work.
Thread Starter
AncaIO
(@ancaio)
Hi,
WordPress can be installed in several ways. I have tried the plugin on two kinds of installations: the root of the website (yourdomain.com/ for instance) and in a sub-directory in the root of the site (yourdomain.com/something/).
I developed a site on a test environment (not local machine installation, just a domain where I develop sites), where WordPress was installed in a sub-directory and the plugin did not work.
I then tested on another site (same server), where WordPress was installed in the root of the site and it worked.
I then again tried to use it in my new project (the one I was developing on a sub-directory WordPress installation), but this time on the live version of the site, where WP was installed in the root of the site and a different server entirely, and again it did not work.
Without input from the developer of the plugin, I did not have the time to figure out why the behavior of the plugin was so inconsistent… It could be the server setup, my own code, or something else entirely that prevented the plugin from working correctly for me.
As I said in my first post, I needed to redirect from
%day%-%monthnum%-%year%-%postname%/
to
%postname%/
To solve my problem I used the plugin Safe Redirect Manager, with a regex redirect rule:
/([0-9]{2})-([0-9]{2})-([0-9]{4})-([^/]+)
to
http://www.thedomain.com/4$