| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Redirect one url to another using htaccess how?|
| 4:01 am on Jan 25, 2014 (gmt 0)|
I have a url named as following:
I want all users who go to the url above be directed to the following url:
Should I use htaccess to do this? if so, how?
Or should I use the CMS to do the redirect?
Sorry if this is the wrong forum.
Any assistance would be greatly appreciated.
| 6:47 am on Jan 25, 2014 (gmt 0)|
|Or should I use the CMS to do the redirect? |
"the CMS" = an existing CMS that your site already uses? Has it got a plugin or control panel or other doodad that creates redirects for you? If so, you may as well use it.
The alternative is to fine-tune the htaccess that your CMS has already created, and put in new rules by hand. This is a better approach in the long term-- but it's also scarier and more work :)
This is pretty certainly the wrong forum to ask. But so far we don't know whether the right forum is Apache or Content Management, so let's wait and find out.
| 6:49 am on Jan 25, 2014 (gmt 0)|
The CMS is drupal Lucy
| 11:23 am on Jan 25, 2014 (gmt 0)|
:: wandering off in search of a moderator ::
I don't speak drupal, but I know who does ;) You've got mountains of plugins and addons and control panels and customization options, right?
| 11:26 pm on Jan 25, 2014 (gmt 0)|
If it;s just this one URL, add one RewriteRule near the beginning of all your htaccess rules and you're done.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved