WordPress.org

Forums

Using htaccess to 301 redirect www.domain.org:100/ (3 posts)

  1. Gene Hamilton
    Member
    Posted 1 year ago #

    Hi there, I bought a domain with very good external links, but many of them are pointing to something like http://www.domain.org:100/page2 and http://www.domain.org:100/page3.

    I’ve never seen urls with “:” at the end. I tried everything I could think of to redirect them to the main domain, including plugins like simple 301 redirect, to no avail.

    Could someone tell me how to correctly redirect all the urls at http://www.domain.org:100/ to the root, http://www.domain.org?

    Thanks in advance.

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What does this have to do with WordPress?

  3. Gene Hamilton
    Member
    Posted 1 year ago #

    Hi, I'm using WP, and I've seen many discussions here on redirects with htaccess. Just the urls I need to redirect are kind of strange and noting worked so far. I’m also using WP htaccess Control plugin to make quick changes to the file, but none of the code I tried worked for me. I'd really appreciate if your can help me with this.

Topic Closed

This topic has been closed to new replies.

About this Topic