Announcement

Collapse
No announcement yet.

Redirection

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Redirection

    Hi,

    Can someone help me what to put in my htaccess to redirect www.domain.com/forum to www.domain.com

    For example, let's say that the old url for a specific top was:

    Small business web hosting offering additional business services such as: domain name registrations, email accounts, web services, online community resources and various small business solutions.


    I want that everytime the user goes to that url or any other urls who use the old domain, change it to www.domain.com/showthread.php?t=3935

    Thank you in advance

    Regards

  • #2
    Make an htaccess file for the "forum" directory. Use this code in the file:

    Code:
    Redirect / http://www.domain.com/
    You might need to remove the ending slash on the URL. One of them will work to redirect to the corresponding URLs in the other directory just like you want.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X
    😀
    🥰
    🤢
    😎
    😡
    👍
    👎