Alright I seem to hit rock bottom, and can't figure this out.
I've googled and read several solutions here, and can't seem to implement them in my situation.
This is probably an .htaccess solution, which is another reason why I'm asking the question because I don't know how to come up with a solution myself.
So I'd like to take a segment/parts of segment out of my url.
domain.com/one-day/one-day-denver
and like it to be - domain.com/denver
I'm using structure to give me my url structure. I could recreate the page and make it name how I want it, but it would defeat my relationships that I have with playa.
Whats a quick and dirty way that I could write in my .htaccess
?
I currently have these rules on there.
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301]
</IfModule>
and
RewriteCond $1 !^(notes|api|cms|fw|themes|uploads|favicon\.ico|robots\.txt|index\.php|speakers\.json|ads|email) [NC]
RewriteRule ^(.*)$ index.php?$1 [L]
How do I write it to remove what I asked about and still and have the inner workings still poiting to /one-day/one-day-denver
I appreciate any help.
Thanks!