Hi Community,
At the moment I'm running into a problem with my Drupal installation. It's drupal 7.39 with the pathauto module enabled.
What I'm trying to do is creating a alias with .htaccess. See the following:
RewriteCond %{REQUEST_URI} sign-up
RewriteRule ^sign-up$ abo/myplace/sign-up
The sign-up url needs to load the abo/myplace/sign-up page but needs to keep the /sign-up url. The htaccess is working fine, but Drupal is redirecting the page to the other url. Is there a way to disable the redirect for just one url, and how can I do that?
Thanks in advance, any help is much appreciated!
Comments
_
You should be able to delete any pathauto created aliases at admin/config/search/path. You'll probably also want to go into the node itself and uncheck the 'generate automatic alias' option as well.
Also, since this isn't a programming question, I've moved it to the correct forum.
Thanks for the reply! Sorry I
Thanks for the reply! Sorry I posted it in the wrong category, it's my first post here :-)
It's not that simple. The reason I tried it with htaccess is because the route still needs to exist. The path abo/myplace/sign-up is a wildcard, the myplace is the nodeId.
So the url is actually node/5/subscriptions. But the nice url is abo/myplace/sign-up
The only thing I need to do is show the same content, but on the url /sign-up
But if you go to node/5/subscriptions drupal needs to redirect.
Hope I made it clear, sorry for the bad english :-)