By fikelfikel on
On some websites, adobe.com for example, if you type in http://www.adobe.com/dowload, it seems to bring you to http://www.adobe.com/download . How can i do that with my Drupal website?
On some websites, adobe.com for example, if you type in http://www.adobe.com/dowload, it seems to bring you to http://www.adobe.com/download . How can i do that with my Drupal website?
Comments
Since the paths look the same
Since the paths look the same to me, it is not clear what you are trying to redirect from and to.
It is like if people do not
It is like if people do not know what address your download page is, and the go to www.example.com/player/download.php, and the origional page is www.example.com/mediaplayer/download.php, the site will want to re-direct the person that goes to www.example.com/player/download.php to www.example.com/mediaplayer/download.php . Do you get me?
This can be done in your
This can be done in your .htaccess file with a line like:
Or, with:
Thanks!
Thank you for your helpful comment! But... do you open .htaccess in a text editor? And where exactly do you but that code?
Yes, you open .htaccess with
Yes, you open .htaccess with a text editor.
The first one can go anywhere, the second one can go after the already existing RewriteEngine On line.
Although...
Although, maybe this handy tool might do the trick for me. I just looked up htaccess in the modules section here and i found this : http://drupal.org/project/toggle_www
If you open .htaccess with a
If you open .htaccess with a text editor you will see a comment explaining how to do the "www." thing.
Thanks again!
Thanks for all the help. It is well appreciated. Thanks very much. :-)