Redirecting a Webpage

Discussion in 'General' started by kendel, Nov 11, 2010.

  1. kendel

    kendel New Member

    I am trying to redirect a sub domain or just a link... but the option does not want to accept the parth...


    It is refusing to accept the parth "#pcode-GF3/"

    Is there any other way around this?
  2. falko

    falko Super Moderator ISPConfig Developer

    I'm not sure if # is allowed - this looks like an anchor to me.
  3. BorderAmigos

    BorderAmigos New Member

  4. kendel

    kendel New Member

    Whats the best way to always re-direct "" to "" I am not sure I understand the subdomain or alias domain setup....
  5. linus3x

    linus3x New Member

    I usually do that from .htaccess. Try something like the following:

    # If they try to access us with, reroute them to
    RewriteCond %{HTTP_HOST} ^example\.com
    RewriteRule ^(.*)$$1 [R=301,L]
    This would go in the .htaccess folder in your base web folder - something like:

    If you want to force every possible permutation to redirect to, take a look at this page:

    That link would redirect,, - anything, really - to
  6. kendel

    kendel New Member

    I tried that in the /web folder editing the .htaccess of oneof my website but the first time i got an internal error then i tried again and it failed.. It didnt do it
  7. drewb0y

    drewb0y Member

    HTML Redirect

    You can also just do a simple html redirect. Like this

    <meta HTTP-EQUIV="REFRESH" content="0; url=">
    save it as index.html and you're good.

    I did this on one of my web servers for a company site that went out of business. Their DNS was still pointed to my server and I could not get it changed. After the domain was deleted, the server continued to get hammered with requests. So I just put the site back up, and redirected it elsewhere! Problem solved.

Share This Page