Redirect domain.com/directory/ -- to -- domain.com/directory/listings...
Hello
I have this .htaccess in domain.com/directory/ set to 6660 perms on linux
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /business/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /business/index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /business/listings/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /business/listings/index.php [L]
</IfModule>
# END WordPress
I can see that this is to resolve to ".../directory/" - but my problem is this: I can't seem to make domain.com/directory/ forward to domain.com/directory/listings. That being, we want .../listings/ to be the default landing page.
I did try updating site address/url in the
wp cp, but caused a rel path issue, and I had to go into the db to revert those values back, since i couldn't navigate with the rel path issues.
Any tips would be much appreciated.
Thank you
Dylan